May 27

Restarting DNS Server

Waiting for named to restart…………..finished.

named has failed, please contact the sysadmin (result was “named is not running”).
May 26 15:11:00 private named[619]: stopping command channel on 127.0.0.1#953
May 26 15:11:00 private named[619]: exiting
May 26 15:11:00 private named[681]: exiting
May 26 15:11:00 private named[75603]: starting BIND 9.3.6-P1 -u bind -c

/etc/namedb/named.conf
May 26 15:11:00 private named[75603]: /etc/namedb/named.conf:36: unknown option

‘disable-empty-zone’
May 26 15:11:00 private named[75603]: /etc/namedb/named.conf:37: unknown option

‘disable-empty-zone’
May 26 15:11:00 private named[75603]: /etc/namedb/named.conf:38: unknown option

‘disable-empty-zone’
May 26 15:11:00 private named[75603]: /etc/namedb/named.conf:150: ‘options’ redefined

near ‘options’
May 26 15:11:00 private named[75603]: loading configuration: already exists
May 26 15:11:00 private named[75603]: exiting (due to fatal error)

solution

# rm /etc/namedb/named.conf
# /scripts/rebuilddnsconfig
Copying /etc/namedb/rndc.key to /var/named/etc/namedb/rndc.key
/etc/namedb/rndc.key already exists in chroot environment.
Including rndc key file to named.conf
Adding controls clause
Start the named server

Waiting for named to restart…………..finished.

named (/usr/local/sbin/named -u bind -c /etc/namedb/named.conf) running as bind with

PID 76037

named started ok