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.
What sort of set-up is this? Is this a single machine by itself
connected to the internet, 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?
Shawn
--
gentoo-user@gentoo.org mailing list