435N/A<!
DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 1276N/A [<!ENTITY mdash "—">]>
1677N/A - Copyright (C) 2004, 2005, 2007, 2009, 2014, 2015 Internet Systems Consortium, Inc. ("ISC") 435N/A - Copyright (C) 2000-2002 Internet Software Consortium. 919N/A - Permission to use, copy, modify, and/or distribute this software for any 919N/A - purpose with or without fee is hereby granted, provided that the above 919N/A - copyright notice and this permission notice appear in all copies. 919N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 919N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 919N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 919N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 919N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 919N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 919N/A - PERFORMANCE OF THIS SOFTWARE. 919N/A <
date>January 10, 2014</
date>
435N/A <
refentrytitle><
application>named-checkconf</
application></
refentrytitle>
435N/A <
manvolnum>8</
manvolnum>
493N/A <
refmiscinfo>BIND9</
refmiscinfo>
1408N/A <
holder>Internet Systems Consortium, Inc. ("ISC")</
holder>
1356N/A <
holder>Internet Software Consortium.</
holder>
1068N/A <
refname><
application>named-checkconf</
application></
refname>
1068N/A <
refpurpose>named configuration file syntax checking tool</
refpurpose>
435N/A <
command>named-checkconf</
command>
970N/A <
arg><
option>-h</
option></
arg>
970N/A <
arg><
option>-v</
option></
arg>
970N/A <
arg><
option>-j</
option></
arg>
1068N/A <
arg><
option>-t <
replaceable class="parameter">directory</
replaceable></
option></
arg>
1068N/A <
arg choice="req">filename</
arg>
1068N/A <
arg><
option>-p</
option></
arg>
435N/A <
arg><
option>-x</
option></
arg>
<
arg><
option>-z</
option></
arg>
<
title>DESCRIPTION</
title>
<
para><
command>named-checkconf</
command>
checks the syntax, but not the semantics, of a
<
command>named</
command> configuration file. The file is parsed
and checked for syntax errors, along with all files included by it.
If no file is specified, <
filename>/
etc/
named.conf</
filename> is read
Note: files that <
command>named</
command> reads in separate
parser contexts, such as <
filename>
rndc.key</
filename> and
<
filename>
bind.keys</
filename>, are not automatically read
by <
command>named-checkconf</
command>. Configuration
errors in these files may cause <
command>named</
command> to
fail to run, even if <
command>named-checkconf</
command> was
successful. <
command>named-checkconf</
command> can be run
on these files explicitly, however.
Print the usage summary and exit.
<
term>-t <
replaceable class="parameter">directory</
replaceable></
term>
Chroot to <
filename>directory</
filename> so that include
directives in the configuration file are processed as if
run by a similarly chrooted <
command>named</
command>.
Print the version of the <
command>named-checkconf</
command>
Print out the <
filename>
named.conf</
filename> and included files
in canonical form if no errors were detected.
When printing the configuration files in canonical
form, obscure shared secrets by replacing them with
strings of question marks ('?'). This allows the
contents of <
filename>
named.conf</
filename> and related
files to be shared — for example, when submitting
bug reports — without compromising private data.
This option cannot be used without <
option>-p</
option>.
Perform a test load of all master zones found in
When loading a zonefile read the journal if it exists.
The name of the configuration file to be checked. If not
<
title>RETURN VALUES</
title>
<
para><
command>named-checkconf</
command>
returns an exit status of 1 if
errors were detected and 0 otherwise.
<
refentrytitle>named</
refentrytitle><
manvolnum>8</
manvolnum>
<
refentrytitle>named-checkzone</
refentrytitle><
manvolnum>8</
manvolnum>
<
citetitle>BIND 9 Administrator Reference Manual</
citetitle>.
<
para><
corpauthor>Internet Systems Consortium</
corpauthor>