LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   'unable to resolve host address' (ipv6-related?) errors with newer distributions (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-resolve-host-address-ipv6-related-errors-with-newer-distributions-794487/)

snowday 03-10-2010 12:56 PM

'unable to resolve host address' (ipv6-related?) errors with newer distributions
 
Hi, I'm snowpine and I'm a distro-holic!

I'm trying to troubleshoot some strange networking problems. The pattern seems to be that only newer distributions are affected. CentOS 5.4 and Ubuntu 8.04 work fine out-of-the-box. But Arch, Sidux, AntiX, Fedora, etc. show the same pattern of errors.

Certain websites cannot be found unless I disable ipv6 in Firefox. And certain addresses cannot be resolved using various terminal commands (wget, apt-get, yum, etc.). For example in AntiX 8.2 (kernel 2.6.27):

Code:

wget smxi.org/smxi.zip
Resolving smxi.org... failed: Temporary failure in name resolution.
wget: unable to resolve host address 'smxi.org'

In some, but not all, cases, disabling ipv6 globally (for example adding it to /etc/modprobe.d/blacklist or ipv6.disable=1 to kernel options, depending on the distro) solves the problem. But not always.

What I would ideally like is a permanent solution, perhaps changing some settings on my router, so that I don't have to deal with this each time I test-drive a new distro. I have a hunch the issue has something to do with my DSL provider (Fairpoint) filing for bankruptcy.

One more piece of information that may or may not be relevant: I recently switched a website from one hosting company to another. I noticed there was a delay of several days where I saw the old version at the old host, but viewing the site at a friend's house or the coffee shop showed the new site on the new host. This leads me to suspect DNS issues perhaps, but this is not an area of expertise.

Grateful for any suggestions!

ps no problems with Windows

hvulin 04-02-2010 11:10 AM

hm, java behaved like this until I set:
sudo sysctl -w net.ipv6.bindv6only=0

jefro 04-02-2010 03:02 PM

Hello snowpine, I'm a distro-holic too.

Kaso_Da_Zmok 07-16-2010 06:50 PM

I have used the workaround with the opendns servers in my resolv.conf
But i remember that i used to switch off the DNS proxy on the DSL router.
Now i could not find this option in Eircom router on the management interface.

just do telnet and look for it and turn it off and restart the router.

Terminal shell v1.0
Copyright ▒2008 Motorola, Inc. All rights reserved.
Netopia Model 2247-02 High-Power Wireless DSL Ethernet Managed Switch
Running Netopia SOC OS version 7.8.0 (build r2)
Multimode ADSL Capable
(Admin completed login: Full Read/Write access)

Netopia-2000/136433062848> configure

Config Mode v1.3
Netopia-2000/136433062848 (top)>> dn
Netopia-2000/136433062848 (dns)>> view

===============================================
dns
proxy-enable off
domain-name ""
primary-address 208.67.222.222
secondary-address 208.67.220.220
configured-dns-priority 10
Netopia-2000/136433062848 (dns)>>


All times are GMT -5. The time now is 02:55 PM.