Symptoms
DNS zones are not synchronized between OBAS and a slave name server until the named service is restarted on the slave server.
In /var/log/messages
there are records like
Mar 25 04:19:05 hspc pdns[17520]: 1 domain for which we are master needs notifications
Mar 25 04:19:05 hspc pdns[17520]: Queued notification of domain 'sup-test123.com' to xx.xx.xx.xx
Mar 25 04:19:05 hspc pdns[17520]: Queued notification of domain 'sup-test123.com' to xx.xx.xx.xx
Mar 25 04:19:06 hspc pdns[17520]: Received unsuccesful notification report for 'sup-test123.com' from xx.xx.xx.xx, rcode: 9
Mar 25 04:19:06 hspc pdns[17520]: Removed from notification list: 'sup-test123.com' to xx.xx.xx.xx
Mar 25 04:19:06 hspc pdns[17520]: Received unsuccesful notification report for 'sup-test123.com' from xx.xx.xx.xx, rcode: 9
Mar 25 04:19:06 hspc pdns[17520]: Removed from notification list: 'sup-test123.com' to xx.xx.xx.xx
Mar 25 04:19:09 hspc pdns[17520]: No master domains need notifications
Cause
On the slave server BIND is installed into /usr/local/sbin/
directory, while by default it is installed in /usr/sbin/
, therefore OBAS failes to execute rndc reload
during adding or changing DNS records or zones.
Resolution
To resolve the issue, please create symlinks on the name server in question and check if rndc
reload is working from the default location:
[root@ns2 ~]# ln -s /usr/local/sbin/rndc /usr/sbin/rndc
[root@ns2 ~]# /usr/sbin/rndc reload
server reload successful