Gentoo Archives: gentoo-user

From: michael higgins <linux@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] caching DNS the Gentoo way?
Date: Sat, 10 Dec 2005 00:51:58
Message-Id: 20051209163835.2a38a25a@localhost
In Reply to: Re: [gentoo-user] caching DNS the Gentoo way? by Shawn Haggett
1 On Sat, 10 Dec 2005 10:42:22 +1030
2 Shawn Haggett <podge@××××××××.com> wrote:
3
4 > michael higgins wrote:
5 >
6 > >Hello, all. Need a clue, here.
7 > >
8 > >I've found that it'll often takes longer to get DNS resolution than content over my connection, so I thought a caching DNS server the way to go. With that in mind, I installed BIND.
9 > >
10 > >I couldn't find anything like a quickie Gentoo example of this minimal use of the application, so on starting /etc/init.d/named, there was first an error about a missing /etc/bind/named.conf.
11 > >
12 > >I Googled around a bit and found something to start with, watched the syslog messages and tweaked it, finally managing to get named to run. The problem is, I'm still not convinced that I've got it set up correctly. From what I understand (right or wrong, IDK), I should only have to look up something once, then that info is available locally until I reboot. Or, like that...
13 > >
14 > >
15 > Check your /etc/resolv.conf file. Make sure it lists your local machine
16 > as a nameserver. Otherwise your system will ignore it and just use
17 > whatever sever is listed in there. Also be careful, if you use DHCP on a
18 > network or anything, it might be rewriting the resolv.conf file to have
19 > the nameserver entries that are gotten from DHCP.
20
21 Okay. I don't use DHCP. I edited /etc/resolv.conf to take out the ISP nameservers and put 'localhost' in their place. Do I need to restart something to make this change take effect?
22
23 >
24 > What sort of set-up is this? Is this a single machine by itself
25 > connected to the internet,
26
27 Just a single machine behind a router/firewall to DSL.
28
29 > or is this part of a network? If it's part of
30 > a network, do you want it to also cache all the queries for other
31 > clients on the network?
32 >
33
34 Just for this box.
35
36
37 --
38 |\ /| | | ~ ~
39 | \/ | |---| `|` ?
40 | |ichael | |iggins \^ /
41 michael_higgins[at]iinet[dot]com
42 --
43 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] caching DNS the Gentoo way? Neil Bothwick <neil@××××××××××.uk>