Ubuntu server IPV6 problem

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
taste
Newbie
Newbie
Posts: 2
Joined: May 12th, 2011, 2:11 pm

Ubuntu server IPV6 problem

Post 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?
taste
Newbie
Newbie
Posts: 2
Joined: May 12th, 2011, 2:11 pm

Re: Ubuntu server IPV6 problem

Post 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)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Ubuntu server IPV6 problem

Post 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.
User avatar
jcfp
Release Testers
Release Testers
Posts: 1032
Joined: February 7th, 2008, 12:45 pm

Re: Ubuntu server IPV6 problem

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Ubuntu server IPV6 problem

Post 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
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply