Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this?
Date: Fri, 12 Sep 2008 21:18:27
Message-Id: yu9k5dhukpz.fsf@nyu.edu
In Reply to: Re: [gentoo-user] Network configuration: looking up URLs is very slow; how can I fix this? by Alan Mackenzie
1 At Fri, 12 Sep 2008 20:59:49 +0000 Alan Mackenzie <acm@×××.de> wrote:
2
3 > Hi, Daniel,
4 >
5 > On Fri, Sep 12, 2008 at 08:50:13PM +0200, Daniel Beecham wrote:
6 >
7 >> > However.... looking up URL's is very, very slow. This is most
8 >> > noticeable when running emerge. It is very also noticeable running
9 >> > Firefox; the looking up is _much_ slower than on my existing Debian
10 >> > sarge system.
11 >
12 >> > Presumably, I need to configure some sort of DNS cache, or proxy, or
13 >> > whatever it might be called. I've looked in
14 >> > <http://www.gentoo.org/doc/>, but couldn't find a network
15 >> > configuration manual there.
16 >
17 >> > Would somebody give me a pointer, please? Thanks!
18 >
19 >> Where are your DNS-server, and how does your routes look like?
20 >> I'd like to see your /etc/resolv.conf aswell. :-)
21 >
22 > /etc/resolv.conf:
23 > #########################################################################
24 > # Generated by dhcpcd for interface eth0
25 > search Speedport_W_700V
26 > nameserver 192.168.2.1
27 > #########################################################################
28 > [translation: A router/DSL modem (called "Speedport") at local address
29 > 192.168.2.1.]
30 >
31 > I do # route (as root), and get this:
32 > #########################################################################
33 > Kernel IP routing table
34 > Destination Gateway Genmask Flags Metric Ref Use Iface
35 > 192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
36 > link-local * 255.255.0.0 U 0 0 0 eth0
37 > loopback * 255.0.0.0 U 0 0 0 lo
38 > default speedport.ip 0.0.0.0 UG 0 0 0 eth0
39 > #########################################################################
40 >
41 > Er, where is my DNS-server? That's the entry in resolv.conf, isn't it,
42 > i.e. the router at 192.168.2.1?
43
44 That is the dns for your local lan. You need the higher level dsn
45 server, the one your router uses. Log into your router via a browser
46 and find out.
47
48 allan

Replies