Page 1 of 1

Ubuntu server IPV6 problem

Posted: May 12th, 2011, 2:25 pm
by taste
I am having problems in connecting to IPv6 news servers since I updated my server to Ubuntu 10.04. It looks like the DNS loopup now prefers IPV4 over IPV6. When I telnet to a news server I get following result:

Code: Select all

telnet newszilla6.xs4all.nl 119
Trying 67.215.65.132...
Trying 2001:888:0:18::119...
Connected to newszilla6.xs4all.nl.
Escape character is '^]'.
As you can see it tries the IPV4 first. I already found that SABNZBd will not try other IP addresses than the first one resolved. Any idea's how I can change the IP lookup order?

Re: Ubuntu server IPV6 problem

Posted: May 13th, 2011, 3:21 pm
by taste
I solved it for the time beeing by adding the IPV6 address of newszilla6 (2001:888:0:18::119) directly as server address. It works but ofcourse it is not preferred.
btw the IPv4 address which is the first result of my lookup is my DNS server (openDNS)

Re: Ubuntu server IPV6 problem

Posted: May 13th, 2011, 5:06 pm
by shypike
taste wrote: Any idea's how I can change the IP lookup order?
SABnzbd just uses the first IP it gets from DNS.

Re: Ubuntu server IPV6 problem

Posted: May 14th, 2011, 2:03 am
by jcfp
taste wrote:btw the IPv4 address which is the first result of my lookup is my DNS server (openDNS)
Just use a proper dns server, that doesn't send bogus ipv4 results for ipv6 only hosts.

Re: Ubuntu server IPV6 problem

Posted: May 14th, 2011, 2:44 am
by sander
jcfp wrote:
taste wrote:btw the IPv4 address which is the first result of my lookup is my DNS server (openDNS)
Just use a proper dns server, that doesn't send bogus ipv4 results for ipv6 only hosts.
Indeed!

@taste: the "67.215.65.132" returned for newszilla6.xs4all.nl is not correct, it's a bogus IPv4 address owned by OpenDNS.

Code: Select all

sander@netbook:~$ host 67.215.65.132
132.65.215.67.in-addr.arpa domain name pointer hit-nxdomain.opendns.com.
sander@netbook:~$
If you don't want to your ISP's DNS, you could consider Google's: 8.8.8.8