Results 1 to 3 of 3
setup - one primary dns and one slave dns. zone transfer works, internet works, dig lookup works. if i bring down the primary, everything stops working. should'nt the slave dns ...
- 03-23-2011 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 6
slave dns fails w/o primary dns
setup - one primary dns and one slave dns. zone transfer works, internet works, dig lookup works. if i bring down the primary, everything stops working. should'nt the slave dns pick up the slack when the primary dns goes down.
zone "2.168.192.in-addr.arpa." IN {
type slave;
file "slaves/192.168.2.db";
masters { 192.168.2.5 port 53;
};
};
zone "aaa.com." IN {
type slave;
file "slaves/aaa.com.db";
masters { 192.168.2.5 port 53;
};
};
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
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";
allow-query { localhost; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
- 03-24-2011 #2
After you bring down the master server try to do a lookup using;
replacing slave with the ip address of the slave server and somehost with a host that would normally resolve.Code:dig @<slave> <somehost>
Not sure with server this config is from but the allow-query { localhost; }; is only accepting queries from the localhost, if this config is on the slave, that would be one reason why it is not working.
You should at least have your local network in there in this is an internal only dns server.
- 03-25-2011 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 6
i will do that, thnx.


Reply With Quote