On Wed, Dec 12, 2012 at 6:04 AM, Tony Finch <[email protected]> wrote: > Mark Andrews <[email protected]> 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: [email protected] _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users

