On Sat, 10 Dec 2005 10:42:22 +1030
Shawn Haggett <[EMAIL PROTECTED]> wrote:

> michael higgins wrote:
> 
> >Hello, all. Need a clue, here.
> >
> >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. 
> >
> >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. 
> >
> >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... 
> >  
> >
> Check your /etc/resolv.conf file. Make sure it lists your local machine 
> as a nameserver. Otherwise your system will ignore it and just use 
> whatever sever is listed in there. Also be careful, if you use DHCP on a 
> network or anything, it might be rewriting the resolv.conf file to have 
> the nameserver entries that are gotten from DHCP.

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?

> 
> What sort of set-up is this? Is this a single machine by itself 
> connected to the internet,

Just a single machine behind a router/firewall to DSL.

> or is this part of a network? If it's part of 
> a network, do you want it to also cache all the queries for other 
> clients on the network?
> 

Just for this box.


-- 
|\  /|        |   |          ~ ~  
| \/ |        |---|          `|` ?
|    |ichael  |   |iggins    \^ /
michael_higgins[at]iinet[dot]com
-- 
gentoo-user@gentoo.org mailing list

Reply via email to