named-checkconf(1M) System Administration Commands named-checkconf(1M)NAMEnamed-checkconf - named configuration file syntax checking tool
SYNOPSISnamed-checkconf [-hjvz] [-t directory] filename
DESCRIPTION
The named-checkconf utility checks the syntax, but not the semantics,
of a specified configuration file.
OPTIONS
The following options are supported:
-h
Display the usage summary and exit.
-j
When loading a zonefile, read the journal if it exists.
-t directory
Change the root directory to directory so that include directives
in the configuration file are processed as if run by a named con‐
figuration whose root directory has been similarly changed.
-v
Print the version of the named-checkconf program and exit.
-z
Perform a test load of the master zones found in named.conf.
OPERANDS
The following operands are supported:
filename
The name of the configuration file to be checked. If not specified,
it defaults to /etc/named.conf.
EXIT STATUS
0
No errors were detected.
1
An error was detected.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │service/network/dns/bind │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOnamed(1M), named-checkzone(1M), attributes(5)
See the BIND 9 Administrator's Reference Manual. As of the date of pub‐
lication of this man page, this document is available at
https://www.isc.org/software/bind/documentation.
SunOS 5.10 11 Jan 2010 named-checkconf(1M)