手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

named-checkconf(1M)

名称

named-checkconf - named configuration file syntax checking tool

用法概要

named-checkconf [-hjvz] [-t directory] filename

描述

The named-checkconf utility checks the syntax, but not the semantics, of a specified configuration file.

选项

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.

操作数

The following operands are supported:

filename

The name of the configuration file to be checked. If not specified, it defaults to /etc/named.conf.

退出状态

0

No errors were detected.

1

An error was detected.

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
service/network/dns/bind
Interface Stability
Volatile

另请参见

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.