Интерактивная система просмотра системных руководств (man-ов)
named-checkconf (8)
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 [ -v ] [ -t directory ] filename
DESCRIPTION
named-checkconf checks the syntax, but not
the semantics, of a named configuration file.
OPTIONS
-t directory
chroot to directory so that include
directives in the configuration file are processed as if
run by a similarly chrooted named.
By default, named-checkconfchroot()'s to /var/lib/bind.
-v
Print the version of the named-checkconf
program and exit.
filename
The name of the configuration file to be checked. If not
specified, it defaults to /etc/named.conf.
RETURN VALUES
named-checkconf returns an exit status of 1 if
errors were detected and 0 otherwise.