In your main "options" section section you have to allow query from the slave.
For one of my slave servers I have:
Code:
options {
directory "/var/named";
query-source address x.x.x.x; <This server's IP address
allow-query { internaldns; externaldns; }; <ACLs I created that specify IP addresses
allow-recursion { internaldns; externaldns; }; <Same ACLs
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
version none;
};
For each domain (zone) you define below main options section you can tell it the type (slave or master) and if a slave the master IP to query:
Code:
zone "ralph.com" {
type slave;
file "slaves/ralph.com";
masters { x.x.x.x; }; <IP of the master for this zone
allow-query { any; };
};
zone "billybob.com" {
type master;
file "masters/billybob.com";
allow-query { any; };
};
A good online book for all things DNS:
http://www.zytrax.com/books/dns/