On FreeBSD 5.4 Cpanel Server, i found the BIND init scripts are not working properly.
There was two init scripts at
Both the scripts are not able to start or stop bind. Both have same content, it seems these scripts are for Cpanel Linux servers, but copied to FreeBSD servers.
I can stop bind with command
# rndc stop
But rndc start do not work.
I can restart named with cpanel script available at
Its working fine.
At last found
Usage: /etc/rc.d/named [fastforceone](start stop restart rcvar reload status poll)
# /etc/rc.d/named stop
# /etc/rc.d/named start
I have removed the two init scripts that are not working properly
server20# mkdir /root/backup
server20# mv /etc/init.d/named /root/backup
server20# mv /usr/local/etc/rc.d/020named.sh /root/backup