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... 

So, how do I know if this is doing what I want? If anyone knows the right and 
proper way to do this, I'd appreciate it. 

Here's my /etc/bind/named.conf:

- - - - - - -

options {
   directory "/var/bind";
   pid-file "/var/run/named/named.pid";
};

controls {
   inet 127.0.0.1 allow { localhost; };
};

zone "." IN {
   type hint;
   file "named.ca";
};

zone "localhost" IN {
   type master;
   file "pri/localhost.zone";
   allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
   type master;
   file "pri/127.zone";
   allow-update { none; };
};

- - - - - - -

TIA,

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

Reply via email to