On Wed, Dec 12, 2012 at 6:04 AM, Tony Finch <d...@dotat.at> wrote: > Mark Andrews <ma...@isc.org> wrote: >> >> You need to wait for named to stop >> >> p=`rndc stop -p | awk '{print $2}'` >> while kill -0 $p >> do >> sleep 1 >> done >> /etc/rc.d/rc.named start
This looks like FreeBSD. If so, just use 'service named restart' for newer versions of FreeBSD. If the service command is not available, you can use '/etc/rc.d/named restart'. It wil properly stop named and then restart it. -- R. Kevin Oberman, Network Engineer E-mail: kob6...@gmail.com _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users