
rndc | 385
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
rndc
rndc [options] [command]
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
-c file
Read configuration information from file instead of /etc/rndc.
conf.
-k file
Perform command on the routing cache instead of the
forwarding information base (FIB) routing table.
-p port
Connect to the specified port instead of the default control
channel port, 953.
-s server
Send command to the specified server. There must be an entry
for server in the configuration file.
-V
Use verbose log messages.
-y keyname
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 ...