On Wed, 2007-03-28 at 16:46 -0700, Mike Dwiggins wrote:
I have caching-nameserver running on FC6. No matter what I do it will note recognizea zone set as a Slave.
The whole purpose of this machine is to be a secondary DNS.
I think you'll have to explain what you've tried. A very brief synopsis of how I've done what you're trying (run a caching name server, also as a slave server for local DNS) follows:
I added two configuration files, and left the remaining ones as they were:
My "/var/named/chroot/etc/named.conf" file:
---------------[begin paste]------------------ ## LAN:
view lan_resolver { match-clients { localhost; }; match-destinations { localhost; }; include "/etc/lan.conf"; include "/etc/rndc.key"; };
include "/etc/named.caching-nameserver.conf";
## end of file ---------------[end paste]------------------
You'd want to customise where my example uses "localhost" to suit the networks you're going to allow to query the server.
And my "/var/named/chroot/etc/lan.conf" file:
---------------[begin paste]------------------ ## LAN:
zone "lan.example.com" { type slave; file "slaves/lan.example.com.zone"; masters { 192.168.1.2; }; };
zone "1.168.192.in-addr.arpa" { type slave; file "slaves/1.168.192.in-addr.arpa.zone"; masters { 192.168.1.2; }; };
---------------[end paste]------------------
Then my slave zone files get created, automatically in "/var/named/chroot/var/named/slaves". And that's it...