Disappearing slave zone
Okay now this may be a simple thing -chances are it is, but I'm just not seeing it.
I have two CentOS 4.3 servers performing round-robin DNS and according to DNSreport it is failing at the second DNS on the RDNS zone file. Now when I touch the RDNS zone file and set the appropriate owner/permissions -which is the process I used for creating all of the slave zones which work fine, save the RDNS- then the created file disappears when named is reloaded or restarted.
Here are some of the configs:
NAMED.CONF [slave]
//// named.conf for Red Hat caching-nameserver//options { directory "/var/named/slaves"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */query-source address * port 53; // notify none; version "Not Disclosed";};//// a caching only nameserver config// rndc key added -ispdec 013007controls { inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };};
...
...
...
zone "201.62.204.in-addr.arpa" IN {
type slave;
masters { 204.62.201.70; };
file "201.62.204.in-addr.arpa";
};
...
...
...
NAMED.CONF [master]
...
...
...
zone "201.62.204.in-addr.arpa" IN {
type master;
file "201.62.204.in-addr.arpa";
allow-update { none; };
allow-transfer { 204.62.201.71; };
};
...
...
...
Sorry for cutting the files up but I manage several domains so the conf files are pretty long.
I would appreciate all your help guys ... girls ... everyone!
Sorry here is the result in /var/log/messages whenever named is reloaded/restarted.
Mar 13 09:37:28 "server_name" named[3362]: zone 201.62.204.in-addr.arpa/IN: refresh: unexpected rcode (SERVFAIL) from master 204.62.201.70#53
Last edited by arktik; 03-13-2007 at 04:52 PM.
|