HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3
The rndc utility is of the following format:
rndc [-c config]
[-s server] [-p port] [-y key] command [command...]
where
-c config file
Specifies an alternate configuration file. The default configuration file is
/etc/rndc.conf.
-s server
Specifies the server whose operation needs to be controlled.
-p port Instructs rndc to send commands to the TCP port number port on the
system running the name server instead of to BIND’s default control
channel port number 953.
-y key
Identifies the key ID from the configuration file.
command Table 1-1 describes the rndc commands.
Table 1-1 rndc Commands
DescriptionCommand
Reload configuration file and zones.
reload
Reload the given zone.
reload zone [class
[view]]
Schedule maintenance for the given zone.
refresh zone [class
[view]]
Retransfer the given zone from the master name server
retransfer zone [class
[view]
Suspend updates to a dynamic zone. This command enables manual edits to a
zone that is usually updated dynamically. It also modifies the journal file to be
synchronized with the master and the journal file to be removed. All dynamic
update attempts are denied permission if the zone is frozen.
freeze zone [class
[view]]
Enable updates to a frozen dynamic zone. This causes the server to reload the
zone from the disk. Dynamic updates are re-enabled after the load is complete.
thaw zone [class [view]]
Write server statistics to the statistics file.
stats
Toggle query logging.
querylog
Dump the current contents of the cache into the file specified by the dump-file
option in the named.conf file.
dumpdb
Stop the server after saving recent changes to the master files of the updated
zones.
stop
Stop the server immediately without saving recent changes to the master files.
halt
Reload only the configuration file and new zones.
reconfig
Increment the debugging level by 1.
trace
Change the debugging level.
trace level
Set the debugging level to 0.
notrace
Flush all the server’s caches.
flush
Flush the server’s cache for a particular view.flush [view]
Display the status of the server.
status
For more information, type man 1 rndc at the HP-UX prompt.
22 Overview