rndc
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
Read configuration information from file instead of /etc/rndc.conf.
Perform command on the routing cache instead of the forwarding information base (FIB) routing table.
Connect to the specified port instead of the default control channel port, 953.
Send command to the specified server. There must be an entry for server in the configuration file.
Use verbose log messages.
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.
Dump current cache to the dump file (specified in /etc/named.conf), or to named_dump.db when not specified.
Flush all server caches, or only the cache for the specified view.
Stop server immediately.
Toggle query logging.
Reload the configuration file and any new zones.
Reload configuration file and zones. When specified, limit the reload to the given zone, class, or view.
Refresh database information for zone.
Write statistics to the statistics file (specified in /etc/named.conf).
Display server status.
Save any recent dynamic zone transfer updates (IXFR) to the master files, then stop the server.
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.