This directive sets a global default key. However, the
different keys for different servers, as in the following example:
server localhost { key "<key-name>"; };
Caution
Make sure that only the root user can read or write to the
For more information about the
4.3. Command Line Options
An
command takes the following form:
rndc
rndc <options><command><command-options>
When executing
rndc
•
— Stops the
halt
named
•
— Logs all queries made to this nameserver.
querylog
•
— Refreshes the nameserver's database.
refresh
•
— Reloads the zone files but keeps all other previously cached responses. This
reload
command also allows changes to zone files without losing all stored name resolutions.
If changes only affected a specific zone, reload only that specific zone by adding the name of
the zone after the
reload
•
— Dumps the current
stats
•
— Stops the server gracefully, saving any dynamic update and Incremental Zone
stop
Transfers (IXFR) data before exiting.
Occasionally, it may be necessary to override the default settings in the
The following options are available:
•
-c <configuration-file>
•
-p <port-number>
953, the default.
/etc/rndc.conf
on a properly configured localhost, the following commands are available:
service immediately.
command.
statistics to the
named
— Specifies the alternate location of a configuration file.
— Specifies a port number to use for the
Command Line Options
configuration file can also specify
rndc
file, refer to the
rndc.conf
/var/named/named.stats
connection other than port
rndc
file.
/etc/rndc.conf
man page.
file.
file.
/etc/rndc.conf
229
Need help?
Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?
Questions and answers