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, 08:59 PM
Alan Mackenzie
 
Default Network configuration: looking up URLs is very slow; how can I fix this?

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?

--
Alan Mackenzie (Nuremberg, Germany).
 
Old 09-12-2008, 10:43 PM
Alan Mackenzie
 
Default Network configuration: looking up URLs is very slow; how can I fix this?

On Fri, Sep 12, 2008 at 05:18:16PM -0400, Allan Gottlieb wrote:
> At Fri, 12 Sep 2008 20:59:49 +0000 Alan Mackenzie <acm@muc.de> 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?

> That is the dns for your local lan. You need the higher level dsn
> server, the one your router uses. Log into your router via a browser
> and find out.

<rant mode>
Sorry, it's difficult. My router, and its ~160 pages of doku are utter
crap. The configuration program (over a web browser ) explodes things in
my face each time the mouse moves, and I can't even guess what the
designer was smoking when he grouped the various items together. It's
impossible (for me, at least) to get a mental picture of what's going on.

Hidden in the middle of the dumbed-down doku, it says that the router
"must use the DynDNS service of some provider, e.g. <URL 1> or <URL 2>.
Details of how to use a particular service can be found on the
corresponding web page.", the sort of thing that makes me scream. And
that's it. There is nothing there to say "the address of the actual name
server in use is secret", or how you actually find it.
</rant mode>

Anyhow, it is surely not the router setup which is the problem - name
lookup works fine under my Debian sarge system.

> allan

--
Alan Mackenzie (Nuremberg, Germany).
 

Thread Tools




All times are GMT. The time now is 12:22 PM.

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