Re: system taking ages to resolve dns
> Your nameserver does not handle IPv6 queries correctly (as Norbert and
> Alan have already surmised in their recent messages in this thread).
> Debian waits for the IPv6 request to time out before it sends an IPv4
> request, causing the delays you are experiencing.
>
> I would try this (elaborating on what the others have already suggested):
>
> dig -t NS iinet.net.au
>
> will tell you the IP addresses of the nameservers of your provider.
> Using any of these namserves should give you a fast response on the iPv6
> query:
>
> dig @XXX.XXX.XXX.XXX -t AAAA debian.org
>
> when you replace the Xs with one of the nameserver IP addresses. If the
> documentation of your provider recommends any other nameservers then you
> should try those addresses as well.
>
> Once you have found two nameservers that work, put them into your
> /etc/resolv.conf before the IP address of your router. If you find that
> resolv.conf gets overwritten at every boot then you should have a look
> at the resolvconf package; it allows you to add a permanent header to
> that file.
Yes, that did work for me indeed. I did prefer to keep my router as my
local name server, though. Hence, the route of changing
/etc/dhcp3/dhclient.conf I proposed in an earlier post.
Cheers,
Norbert
Reply to: