[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: system taking ages to resolve dns



On Sun, Jul 05, 2009 at 10:03:39PM +1000, Daniel Dalton wrote:
> Hi,
> 
> I just reinstalled debian this week. It has not solved my issue of 
> resolving dns taking a long time. Basically the issue is: If I want to 
> access a dns such as google, or debian.org, it takes for ever to resolve 
> the dns. Whether I'm using firefox or lynx to browse the web or msmtp to 
> send email, the resolving of dns is over 30 seconds. If I use the ip 
> address though, access is almost instant. So what can I do to solve this 
> problem? Only occuring on my debian system, windows vista on the same 
> system works fine, and no one else on the network seems to have issues 
> like these. The issue started happening when I got my new dsl2 modem 
> (netgear, nb5). As I said I did a reinstall, and with the base system 
> and testing with lynx, I found the problem pretty much the same. So how 
> can I speed up dns resolution?

I had a similar problem : the login prompt came after more than 10s when
I ssh to a box.
It really seems like a reverse DNS resolution problem.

I removed mdns entries in my /etc/nsswitch.conf, letting only
"files dns" for the hosts line.
And konow I get the prompt instantly.

Attachment: signature.asc
Description: Digital signature


Reply to: