checks the syntax, but not the semantics, of a
configuration file. The file is parsed and checked for syntax errors, along with all files included by it. If no file is specified,
is read by default.
Note: files that
reads in separate parser contexts, such as
bind.keys, are not automatically read by
named-checkconf. Configuration errors in these files may cause
to fail to run, even if
can be run on these files explicitly, however.
Print the usage summary and exit.
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
Print the version of the
program and exit.
Print out the
and included files in canonical form if no errors were detected.
Perform a test load of all master zones found in
When loading a zonefile read the journal if it exists.
The name of the configuration file to be checked. If not specified, it defaults to
returns an exit status of 1 if errors were detected and 0 otherwise.