Well, kind of a good news/bad news situation.
Bad news.  A little while ago my solution stopped working for me.  Drove me 
absolutely batty.
I tried all the other things too, disable.ipv6=1 as a kernel parameter, various 
options in sysctl.conf that used to work, blacklisting any possible modules 
(not that they were loaded), and of course stripping down nsswitch.conf since 
all that mdns stuff had always caused unresolvable here.

Heck, I also tried:
        hints->ai_flags|=AI_ADDRCONFIG;
        hints->ai_flags|=AI_V4MAPPED;
        hints->ai_flags&=!AI_ALL;
in my wrapper, even though I have no idea if those would work, and specifying a 
struct addrinfo newhints; if hints were null.

Despite trying every conceivable way of saying NO I DO NOT WANT IPV6 CAUSE MY 
NETWORK SUCKS.
I still saw:
sudo tcpdump -an | grep 192.168.1.100
17:15:07.744171 IP 192.168.1.2.34702 > 192.168.1.100.53: 25164+ AAAA? 
reddit.com. (28)

(for a wget of reddit.com)

Anyway.
The happy ending is that recently a 3rd DNS resolver was added.  The two broken 
ones are still broken, but so long as I explicitly specify only the new one in 
network settings and disable resolv.conf setup from DHCP, I'm fine.

I still have no idea what changed, but at least mine is working.

My sympathies for those of you still stuck in this situation.

-- 
[regression] all network apps / browsers suffer from multi-second delays by 
default due to IPv6 DNS lookups
https://bugs.launchpad.net/bugs/417757
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to