ndc - name daemon control interface
ndc directive [ ... ]
This command allows the name server administrator to sendvarious signals to the name server, or to restart it.Zero or more directives may be given, from the followinglist:
status Displays the current status of named as shown byps(1).
dumpdb Causes named to dump its database and cache to/var/tmp/named_dump.db (uses the INT signal.)
reload Causes named to check the serial numbers of allprimary and secondary zones and to reload thosethat have changed (uses the HUP signal.)
stats Causes named to dump its statistics to/var/tmp/named.stats (uses the IOT or ABRT signal.)
trace Causes named to increment its ``tracing level'' byone. Whenever the tracing level is nonzero, traceinformation will be written to /var/tmp/named.run.Higher tracing levels result in more detailedinformation. (Uses the USR1 signal.)
notrace
Causes named to set its ``tracing level'' to zero,closing /var/tmp/named.run if it is open (uses theUSR2 signal.)
querylog
Causes named to toggle the ``query logging'' feature,which while on will result in a syslog(3) of
start Causes named to be started, as long as it isn'talready running.
restart
Causes named to be killed and restarted.
Arguments to named are not preserved by restart, or knownby start. Some mechanism for controlling the parametersand environment should exist.
Implemented as a sh(1) script.
Paul Vixie (Internet Software Consortium)
named(8), named.reload(8), named.restart(8)