Gentoo Archives: gentoo-user

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

Replies