1NAMED-CHECKCONF(8)                   BIND9                  NAMED-CHECKCONF(8)
2
3
4

NAME

6       named-checkconf - named configuration file syntax checking tool
7

SYNOPSIS

9       named-checkconf [-h] [-v] [-j] [-t directory] {filename} [-p] [-z]
10

DESCRIPTION

12       named-checkconf checks the syntax, but not the semantics, of a named
13       configuration file. The file is parsed and checked for syntax errors,
14       along with all files included by it. If no file is specified,
15       /etc/named.conf is read by default.
16
17       Note: files that named reads in separate parser contexts, such as
18       rndc.key and bind.keys, are not automatically read by named-checkconf.
19       Configuration errors in these files may cause named to fail to run,
20       even if named-checkconf was successful.  named-checkconf can be run on
21       these files explicitly, however.
22

OPTIONS

24       -h
25           Print the usage summary and exit.
26
27       -t directory
28           Chroot to directory so that include directives in the configuration
29           file are processed as if run by a similarly chrooted named.
30
31       -v
32           Print the version of the named-checkconf program and exit.
33
34       -p
35           Print out the named.conf and included files in canonical form if no
36           errors were detected.
37
38       -z
39           Perform a test load of all master zones found in named.conf.
40
41       -j
42           When loading a zonefile read the journal if it exists.
43
44       filename
45           The name of the configuration file to be checked. If not specified,
46           it defaults to /etc/named.conf.
47

RETURN VALUES

49       named-checkconf returns an exit status of 1 if errors were detected and
50       0 otherwise.
51

SEE ALSO

53       named(8), named-checkzone(8), BIND 9 Administrator Reference Manual.
54

AUTHOR

56       Internet Systems Consortium
57
59       Copyright © 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc.
60       ("ISC")
61       Copyright © 2000-2002 Internet Software Consortium.
62
63
64
65BIND9                            June 14, 2000              NAMED-CHECKCONF(8)
Impressum