Hi All,
I’m having issues setting up my slave DNS server, and google has given me some things to try, but they have all come up trumps.
My master DNS server works fine, its accepting connections, and it notifies the slave of the domains. The domain files are created (although empty) into var/named/slaves and these empty files get copied over to chroot/var/named/slaves
When i restart my master DNS it notifies the slave (as its supposed to) no error messages in the log file on the master server, but my slave sees the notifies but then throws errors stating:
received notify for zone ‘example’: not authoritative
It does not update the records on the slave. I have tried deleting the pair, removing the records from the slave and re-syncing again, again it created the files, but are all empty.
When going into the slave records, and testing the transfer from there, I get a successful message saying it could connect to the master and pull X records, stating it should work fine.
I have tried changing the /var/named/ directories to 777 permission, this didn’t make any difference what so ever.
My slave named.conf is as per below
[code]options {
listen-on port 53 { 127.0.0.1; SLAVE IP; };
listen-on-v6 port 53 { none; };
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”;
recursion no;
allow-transfer { 127.0.0.1; MASTER IP; };
version “Bind”;
OPTIONS="-4"
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";
also-notify {};
};
logging {
channel default_debug {
file “data/named.run”;
severity dynamic;
};
};
zone “.” IN {
type hint;
file “named.ca”;
};
include “/etc/named.rfc1912.zones”;
include “/etc/named.root.key”;
zone “example.com” {
type slave;
masters {
MASTER IP;
};
allow-transfer {
MASTER IP;
};
[/code]