Python 3.3 ... ouch. That's not used by SABnzbd. Let's try anyway:
Start python. Then in python, type:
Code: Select all
import socket
socket.getaddrinfo('www.google.com', None)
socket.getaddrinfo('ipv6.google.com', None)
and post the full output here. See mine below.
Code: Select all
$ python
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getaddrinfo('localhost', None)
[(2, 1, 6, '', ('127.0.0.1', 0)), (2, 2, 17, '', ('127.0.0.1', 0)), (2, 3, 0, '', ('127.0.0.1', 0))]
>>> socket.getaddrinfo('www.google.com', None)
[(10, 1, 6, '', ('2a00:1450:400c:c06::63', 0, 0, 0)), (10, 2, 17, '', ('2a00:1450:400c:c06::63', 0, 0, 0)), (10, 3, 0, '', ('2a00:1450:400c:c06::63', 0, 0, 0)), (2, 1, 6, '', ('74.125.132.106', 0)), (2, 2, 17, '', ('74.125.132.106', 0)), (2, 3, 0, '', ('74.125.132.106', 0)), (2, 1, 6, '', ('74.125.132.104', 0)), (2, 2, 17, '', ('74.125.132.104', 0)), (2, 3, 0, '', ('74.125.132.104', 0)), (2, 1, 6, '', ('74.125.132.105', 0)), (2, 2, 17, '', ('74.125.132.105', 0)), (2, 3, 0, '', ('74.125.132.105', 0)), (2, 1, 6, '', ('74.125.132.103', 0)), (2, 2, 17, '', ('74.125.132.103', 0)), (2, 3, 0, '', ('74.125.132.103', 0)), (2, 1, 6, '', ('74.125.132.147', 0)), (2, 2, 17, '', ('74.125.132.147', 0)), (2, 3, 0, '', ('74.125.132.147', 0)), (2, 1, 6, '', ('74.125.132.99', 0)), (2, 2, 17, '', ('74.125.132.99', 0)), (2, 3, 0, '', ('74.125.132.99', 0))]
>>> socket.getaddrinfo('ipv6.google.com', None)
[(10, 1, 6, '', ('2a00:1450:400c:c03::63', 0, 0, 0)), (10, 2, 17, '', ('2a00:1450:400c:c03::63', 0, 0, 0)), (10, 3, 0, '', ('2a00:1450:400c:c03::63', 0, 0, 0))]
>>>
PS:
FWIW I tested the code on my python3 too, with the same result as under python (read: python2):
Code: Select all
$ python3
Python 3.3.1 (default, Apr 17 2013, 22:30:32)
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getaddrinfo('www.google.com', None)
[(10, 1, 6, '', ('2a00:1450:400c:c05::68', 0, 0, 0)), (10, 2, 17, '', ('2a00:1450:400c:c05::68', 0, 0, 0)), (10, 3, 0, '', ('2a00:1450:400c:c05::68', 0, 0, 0)), (2, 1, 6, '', ('173.194.67.99', 0)), (2, 2, 17, '', ('173.194.67.99', 0)), (2, 3, 0, '', ('173.194.67.99', 0)), (2, 1, 6, '', ('173.194.67.103', 0)), (2, 2, 17, '', ('173.194.67.103', 0)), (2, 3, 0, '', ('173.194.67.103', 0)), (2, 1, 6, '', ('173.194.67.147', 0)), (2, 2, 17, '', ('173.194.67.147', 0)), (2, 3, 0, '', ('173.194.67.147', 0)), (2, 1, 6, '', ('173.194.67.106', 0)), (2, 2, 17, '', ('173.194.67.106', 0)), (2, 3, 0, '', ('173.194.67.106', 0)), (2, 1, 6, '', ('173.194.67.104', 0)), (2, 2, 17, '', ('173.194.67.104', 0)), (2, 3, 0, '', ('173.194.67.104', 0)), (2, 1, 6, '', ('173.194.67.105', 0)), (2, 2, 17, '', ('173.194.67.105', 0)), (2, 3, 0, '', ('173.194.67.105', 0))]
>>> socket.getaddrinfo('ipv6.google.com', None)
[(10, 1, 6, '', ('2a00:1450:400c:c03::63', 0, 0, 0)), (10, 2, 17, '', ('2a00:1450:400c:c03::63', 0, 0, 0)), (10, 3, 0, '', ('2a00:1450:400c:c03::63', 0, 0, 0))]
>>>
$