man pages section 1M: System Administration Commands

Exit Print View

Updated: July 2014
 
 

named-checkconf(1M)

Name

named-checkconf - named configuration file syntax checking tool

Synopsis

named-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 configuration 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 also

named(1M), named-checkzone(1M), attributes(5)

See the BIND 9 Administrator's Reference Manual. As of the date of publication of this man page, this document is available at https://kb.isc.org/article/AA-01031https://kb.isc.org/article/AA-01031.