Ah, Tollef shed some light on this. Ubuntu's glibc up to early Karmic
had a patch applied which disabled unnecessary IPv6 DNS lookups
(http://err.no/patches/glibc-only-lookup-ipv6-if-it-makes-sense.diff).
This was dropped in Karmic to fix some IPv6 lookup issues (bug 239701,
bug 374674), but also caused this regressions.

Mithrandir| so I suspect somebody should take my patch, refine it so it
doesn't just reject v6 addresses (try again after processing if there no
hits, allowing ipv6 then, or something like that)

I confirm that in my dapper to jaunty chroots "normal" applications
like wget, apt-get, firefox etc. work just fine. I was just misled to
think it'd be a kernel issue because I used "host" (which also times
out).

http://bugs.debian.org/435646 is related to this, BTW.

** Bug watch added: Debian Bug tracker #435646
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435646

** Package changed: linux (Ubuntu Lucid) => glibc (Ubuntu Lucid)

** Changed in: glibc (Ubuntu Lucid)
       Status: Confirmed => Triaged

** Changed in: glibc (Ubuntu Lucid)
     Assignee: (unassigned) => Canonical Foundations Team 
(canonical-foundations)

** Description changed:

- Binary package hint: firefox-3.5
- 
- By default, when Firefox 3.5 is installed, web pages are loaded slowly
- and it looks like IPv6 DNS lookups is the cause. However, you can go to
- about:config and change network.dns.disableIPv6 to true, the problem
- gets fixed.
- 
- ProblemType: Bug
- Architecture: i386
- Date: Sun Aug 23 12:06:13 2009
- DistroRelease: Ubuntu 9.10
- Package: firefox-3.5 3.5.2+nobinonly-0ubuntu2
- ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- ProcVersionSignature: Ubuntu 2.6.31-6.26-generic
- SourcePackage: firefox-3.5
- Uname: Linux 2.6.31-6-generic i686
+ In Karmic, DNS lookups take a very long time with some routers, because
+ glibc's DNS resolver tries to do IPv6 (AAAA) lookups even if there are
+ no (non-loopback) IPv6 interfaces configured. Routers which do not
+ repond to this cause the lookup to take 20 seconds (until the IPv6 query
+ times out).

** Changed in: glibc (Ubuntu Karmic)
       Status: New => Triaged

-- 
[karmic 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