Hi Tom,

Yes, turns out it is because of ipv6 with some routers. I disabled ipv6
support with ubuntu and DNS resolution is very fast again. You can do that
by editing the file /etc/modprobe.d/aliases

Change the line that says "alias net-pf-10 ipv6 " to "alias net-pf-10
off"

And enjoy your nice fast DNS resolution :)

Alan

On 4/4/07, Tom Inglis <[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
>
> I have been having this problem aswell on my desktop and two laptops,
> with Dapper, Edgy, and Feisty.
>
> I think networkmanager is assigning the IP of the router as the top DNS
> server in resolv.conf. If I leave it there, DNS lookups are really slow,
> whatever the application (browser, imap, apt-get etc), adding 10 to 15
> seconds to the resolution time, and also hindering multiple simultaneous
> requests from succeeding, especially say opening websites in different
> tabs in quick succession. Removing this IP from the config file fixes
> this problem, and resolutions occur in a second or so.
>
> If you take a look at Wireshark captures, it seems that there may be a
> problem with IPv6 which is enabled by default in Ubuntu, and particular
> routers. I was told on #ubuntu+1 that this is likely to be the result of
> "your router's DNS responds to AAAA requests with A results and this
> seems to delay ubuntu from trying an A lookup", but I don't really
> understand such things.
>
> I really hope that you can fix this, and do let me know if there is more
> info that I can supply?
>
> Thanks,
>
> Tom
>
> ** Attachment added: "Wireshark Capture with Router IP as DNS"
>    http://librarian.launchpad.net/7133681/capture
>
> --
> Very slow resolution when using a router for DNS
> https://bugs.launchpad.net/bugs/92040
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
Very slow resolution when using a router for DNS 
https://bugs.launchpad.net/bugs/92040
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to