Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
TCP/IP command. Send commands to a BIND DNS server via a TCP connection (see the named command.) This command reads authentication and connection information from the file /etc/rndc.conf, and its authentication key from /etc/rndc.key. If entered without a command, display a help message listing the available commands.
Options
-cfile
Read configuration information from file instead of /etc/rndc.conf.
-kfile
Perform command on the routing cache instead of the forwarding information base (FIB) routing table.
-pport
Connect to the specified port instead of the default control channel port, 953.
-sserver
Send command to the specified server. There must be an entry for server in the configuration file.
-V
Use verbose log messages.
-ykeyname
Specify the key to use by keyname. There must be a key entry for keyname in the /etc/rndc.conf file.
Commands
You can send the following commands to a BIND nameserver.
dumpdb
Dump current cache to the dump file (specified in /etc/named.conf), or to named_dump.db when not specified.
flush [view]
Flush all server caches, or only the cache for the specified view.
halt
Stop server immediately.
querylog
Toggle query logging.
reconfig
Reload the configuration file and any new zones.
reload [zone [class [view] ] ]
Reload configuration file and zones. When specified, limit the reload to the given zone, class, or view.
refreshzone
Refresh database information for zone.
stats
Write statistics to the statistics file (specified in /etc/named.conf).
status
Display server status.
stop
Save any recent dynamic zone transfer updates (IXFR) to the master files, then stop the server.
trace [debuglevel] , notrace
Increase the server's debug level by 1, or set it to the specified debuglevel. Use the notrace command to set the level to 1.