Here's one half of the solution - it's a patch to glibc that makes getaddrinfo() ignore link-local addresses when called with the AI_ADDRCONFIG flag set. This makes getaddrinfo() avoid querying for AAAAs when the host has no IPv6 connectivity, provided that the AI_ADDRCONFIG flag is set.
Tore ** Patch added: "Make getaddrinfo() ignore IPv6 link-locals for AI_ADDRCONFIG" https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/417757/+attachment/1843550/+files/gai-aiaddrconfig-ignore-link-locals.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/417757 Title: [regression] all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs