[vox-tech] On my boxes, Windows is outperforming Debian in network speed

Issac Trotts ijtrotts at ucdavis.edu
Sun Jul 25 21:29:22 PDT 2004


I just rebooted.  Initially the name lookups were slow, but I put
nameserver 127.0.0.1 back in /etc/resolv.conf and now the lookups are
fast.  Not sure what changed...

I'd like to know how to make this line show up automatically in
/etc/resolv.conf on startup.

Issac


On Sat, Jul 24, 2004 at 11:23:38PM -0700, Karsten M. Self wrote:
> on Sat, Jul 24, 2004 at 11:11:47PM -0700, Issac Trotts (ijtrotts at ucdavis.edu) wrote:
> > On my laptop, the networking is noticably faster when I boot in Windows
> > (XP).  It is a shameful situation.  The networking is also painfully
> > slow on my Debian desktop computer.  Both are connected to a Netgear
> > wireless router, one by wire and the other by wifi.  
> > 
> > On the desktop computer I have improved the speed in the past by messing
> > around with some name server caching stuff, but now it's back to being
> > slow for some reason.  I have bind installed, and my /etc/resolv.conf
> > looks like this:
> > 
> >     search
> >     nameserver 127.0.0.1
> 
> Are you *running* an effective nameserver on localhost?   If not, every
> session you initiate is going to time out on the local nameserver before
> trying your fallbacks.
> 
> Comment out the localhost (127...) line above and reasses.
> 
> >     nameserver 63.217.0.5
> >     nameserver 63.216.0.6
> > 
> > I inserted the 127.0.0.1 by hand and ran /etc/init.d/bind restart but it
> > didn't help noticably.  Not sure if it the line in resolv.conf will get
> > automatically removed when I reboot...
> 
> Depends on how you're configuring network.  With DHCP or PPP networking,
> the /etc/resolv.conf file can be rewritten when your connection is
> established.
>  
> > There's some program that tells you which nameserver is being used to
> > resolve names, but I don't remember its name right now.  
> 
> 'host' or 'dig'.  Latter preferred.
> 
> 
> 
> Peace.
> 
> -- 
> Karsten M. Self <karsten at linuxmafia.com>        http://linuxmafia.com/~karsten
>     Ceterum censeo, Caldera delenda est.

-- 
Issac Trotts
Programmer, NIMH Human Brain Project
University of California, Davis
http://mallorn.ucdavis.edu/conexus



More information about the vox-tech mailing list