rndc stop

Will Yardley william+dns at hq.newdream.net
Fri Sep 21 05:48:42 UTC 2001


Andy Choi wrote:
> In running a perl script which do 'rndc stop' and then messed around
> with the zone files, i noticed that there exists some time gap between
> the return of the 'rndc stop' command and all zonefiles are being
> written by the daemon. Is there any heuristic to decide what the time
> gap is?

i was wondering that myself when using the rndc command in an init
script.  i think the time it takes depends how many pending updates
there are; this is what the rndc stop command is waiting for.  i don't
think it waits to return an exit status though, does it?  you could use
rndc halt if you're not worried about saving pending updates.

i think rndc halt is _basically_ equivelant to a SIGTERM.

w

-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/


More information about the bind-users mailing list