DNS Configuration and Management Manual (G06.27+, H06.05+, J06.03+)
BIND 9.x on the NonStop Server
HP DNS Configuration and Management Manual—529432-003
2-8
rndc
Example: Generating the rndc.conf File and Running rndc
1. Assume that the configuration file /etc/dns_secure/named.conf has a key
statement for rndckey similar to:
2. Create the configuration file rndc.conf as an ASCII file:
stats Write server statistics to the statistics
file.
querylog Toggle query logging.
dumpdb Dump the current contents of the
cache into the file specified by the
dump-file option in the named.conf
file.
stop Stop the server after saving recent
changes to the master files of the
updated zones.
halt Stop the server immediately without
saving recent changes to the master
files.
reconfig Reload only the configuration file and
new zones.
trace Increment the debugging level by 1.
notrace Set the debugging level to 0.
trace level Change the debugging level.
flush Flush all the server’s caches.
flush [view] Flush the server’s cache for a
particular view.
status Display the status of the server.
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { rndckey;};
};
key rndckey {
algorithm "hmac-md5";
secret "IbtRYdcP8k2mVtel6aYfbQ==";
};
options {
default-server localhost;
default-key rndckey;
};
Table 2-3. rndc Commands (page 2 of 2)
Command Description










