Language and Page Formatting Options
12.4.3. Command Line Options
rndccommand takes the following form:
rndc <options> <command> <command-options>
rndcon a properly configured localhost, the following commands are available:
halt— Stops the
querylog— Logs all queries made to this nameserver.
refresh— Refreshes the nameserver's database.
reload— Reloads the zone files but keeps all other previously cached responses. This command also allows changes to zone files without losing all stored name resolutions.If changes only affected a specific zone, reload only that specific zone by adding the name of the zone after the
stats— Dumps the current
namedstatistics to the
stop— Stops the server gracefully, saving any dynamic update and Incremental Zone Transfers (IXFR) data before exiting.
Occasionally, it may be necessary to override the default settings in the
/etc/rndc.conffile. The following options are available:
-c <configuration-file>— Specifies the alternate location of a configuration file.
-p <port-number>— Specifies a port number to use for the
rndcconnection other than port 953, the default.
-s <server>— Specifies a server other than the
-y <key-name>— Specifies a key other than the
Additional information about these options can be found in the