rndc reload cron.. Need help!
Hello,I have a CentOS release 3.5 server. Everytime a new account is added, it does not start resolving by itself until I manually reload rndc through shell.
I was looking for a cron that can reload it every 1min to 5 min.
I tried the following:
* * * * * /usr/sbin/rndc reload
and
* * * * * /scripts/reloadrndc
where /scripts/reloadrndc has:
#!/bin/bash
/usr/sbin/rndc reload
None of these crons are reloading it. The crons are working fine otherwise.
tail -f /var/log/cron shows "Jul 8 01:24:00 ser CROND[22830]: (root) CMD (/usr/sbin/rndc reload)" every minute.
But rndc is not getting reloaded.. please help!