I'm working with CentOS 6.6 using Bind and DHCPd for DDNS on the LAN. I've configured this before, but somehow I'm missing something that is keeping me from getting reverse resolution updated. Below are my relevant config files.
dhcpd.conf:
Code:
authoritative;
include "/etc/rndc.key";
server-identifier wormhole;
ddns-updates on;
ddns-update-style interim;
update-static-leases on;
ignore client-updates;
option domain-name "starfleet";
ddns-rev-domainname "in-addr.arpa";
use-host-decl-names on;
default-lease-time 86400;
max-lease-time 86400;
log-facility local7;
subnet 10.5.3.0 netmask 255.255.255.0 {
range 10.5.3.50 10.5.3.99;
option routers 10.5.3.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.5.3.1;
}
zone starfleet. {
primary localhost;
key rndc-key;
}
zone 1.3.5.10.in-addr.arpa. {
primary localhost;
key rndc-key;
}
...and my named.conf:
Code:
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { any; };
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 { any; };
recursion yes;
dnssec-enable no;
dnssec-validation no;
dnssec-lookaside auto;
empty-zones-enable yes;
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
forwarders { 37.235.1.174; 37.235.1.177; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "starfleet" {
type master;
file "dynamic/starfleet";
allow-update { key "rndc-key"; };
};
zone "3.5.10.in-addr.arpa" {
type master;
file "dynamic/starfleet.rev";
allow-update { key "rndc-key"; };
};
In /var/named/dynamic a .jnl file is created for the forward zone
but not for the reverse zone. I'm certain that the permissions
are correct for the directory. I'm trying to get the server to
perform the relevant DNS updates and not the clients. Can anyone
spot my problem? Its driving me nuts trying to track this down.
Thanks.