FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-12-2008, 06:50 PM
Daniel Beecham
 
Default Network configuration: looking up URLs is very slow; how can I fix this?

On Fri, 2008-09-12 at 18:47 +0000, Alan Mackenzie wrote:
> Hi, Gentoo!
>
> I bought a new hard drive on Wednesday, and am seriously getting Gentoo
> installed (after doing a trial installation in July).
>
> However.... looking up URL's is very, very slow. This is most
> noticeable when running emerge. It is very also noticeable running
> Firefox; the looking up is _much_ slower than on my existing Debian
> sarge system.
>
> Presumably, I need to configure some sort of DNS cache, or proxy, or
> whatever it might be called. I've looked in
> <http://www.gentoo.org/doc/>, but couldn't find a network configuration
> manual there.
>
> Would somebody give me a pointer, please? Thanks!
>

Where are your DNS-server, and how does your routes look like?
I'd like to see your /etc/resolv.conf aswell. :-)
 
Old 09-13-2008, 01:10 AM
Daniel Beecham
 
Default Network configuration: looking up URLs is very slow; how can I fix this?

As long as speedport.ip is 192.168.2.1, the routes are okay, and the
resolv-file is okay aswell.

It's most likely either DNS-cacheer, i.e. your own router, or the
DNS-server your ISP is giving you beeing the bottleneck.

You could go ahead and dig(1) both those servers and perhaps time(1)
that. If you can find any logs in your router that would help aswell.

--
Daniel.

On Fri, 2008-09-12 at 20:59 +0000, Alan Mackenzie wrote:
> Hi, Daniel,
>
> On Fri, Sep 12, 2008 at 08:50:13PM +0200, Daniel Beecham wrote:
>
> > > However.... looking up URL's is very, very slow. This is most
> > > noticeable when running emerge. It is very also noticeable running
> > > Firefox; the looking up is _much_ slower than on my existing Debian
> > > sarge system.
>
> > > Presumably, I need to configure some sort of DNS cache, or proxy, or
> > > whatever it might be called. I've looked in
> > > <http://www.gentoo.org/doc/>, but couldn't find a network
> > > configuration manual there.
>
> > > Would somebody give me a pointer, please? Thanks!
>
> > Where are your DNS-server, and how does your routes look like?
> > I'd like to see your /etc/resolv.conf aswell. :-)
>
> /etc/resolv.conf:
> ################################################## #######################
> # Generated by dhcpcd for interface eth0
> search Speedport_W_700V
> nameserver 192.168.2.1
> ################################################## #######################
> [translation: A router/DSL modem (called "Speedport") at local address
> 192.168.2.1.]
>
> I do # route (as root), and get this:
> ################################################## #######################
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
> link-local * 255.255.0.0 U 0 0 0 eth0
> loopback * 255.0.0.0 U 0 0 0 lo
> default speedport.ip 0.0.0.0 UG 0 0 0 eth0
> ################################################## #######################
>
> Er, where is my DNS-server? That's the entry in resolv.conf, isn't it,
> i.e. the router at 192.168.2.1?
>
 
Old 09-13-2008, 04:21 PM
Daniel Beecham
 
Default Network configuration: looking up URLs is very slow; how can I fix this?

On Sat, 2008-09-13 at 14:59 +0100, Stroller wrote:
> On 12 Sep 2008, at 21:59, Alan Mackenzie wrote:
> > ...
> > I do # route (as root), and get this:
> > ################################################## ####################
> > ###
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref
> > Use Iface
> > 192.168.2.0 * 255.255.255.0 U 0
> > 0 0 eth0
> > link-local * 255.255.0.0 U 0
> > 0 0 eth0
> > loopback * 255.0.0.0 U 0
> > 0 0 lo
> > default speedport.ip 0.0.0.0 UG 0
> > 0 0 eth0
> > ################################################## ####################
> > ###
>
> I'd also specify 192.168.2.1 as the default route explicitly, rather
> than by name.
>
> Stroller.
>

I think that route rDNS'es the host, and is not set.
I could be wrong though.

--
Daniel.
 

Thread Tools




All times are GMT. The time now is 05:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org