Интерактивная система просмотра системных руководств (man-ов)
named-checkconf (1)
>> named-checkconf (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
named-checkconf (8) ( FreeBSD man: Команды системного администрирования )
named-checkconf (8) ( Linux man: Команды системного администрирования )
NAME
named-checkconf - named configuration file syntax checking tool
SYNOPSIS
named-checkconf [-vjz] [-tdirectory] filename
DESCRIPTION
The named-checkconf utility checks the syntax, but not the semantics, of a named configuration file.
OPTIONS
The following options are supported:
-tdirectory
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 check load of the master zonefiles found in named.conf.
-j
When loading a zonefile, read the journal if it exists.
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: