restart named; missing TCP socket

Kevin Oberman kob6558 at
Fri Dec 14 07:15:03 UTC 2012

On Wed, Dec 12, 2012 at 6:04 AM, Tony Finch <dot at> wrote:
> Mark Andrews <marka at> 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: kob6558 at

More information about the bind-users mailing list