1 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
2 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
3 [<!ENTITY mdash "—">]>
5 - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
6 - Copyright (C) 2000-2002 Internet Software Consortium.
8 - Permission to use, copy, modify, and/or distribute this software for any
9 - purpose with or without fee is hereby granted, provided that the above
10 - copyright notice and this permission notice appear in all copies.
12 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
13 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
15 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
17 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18 - PERFORMANCE OF THIS SOFTWARE.
21 <!-- $Id: named-checkconf.docbook,v 1.8.18.10 2007/08/28 07:19:55 tbox Exp $ -->
22 <refentry id="man.named-checkconf">
24 <date>June 14, 2000</date>
28 <refentrytitle><application>named-checkconf</application></refentrytitle>
29 <manvolnum>8</manvolnum>
30 <refmiscinfo>BIND9</refmiscinfo>
38 <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
44 <holder>Internet Software Consortium.</holder>
49 <refname><application>named-checkconf</application></refname>
50 <refpurpose>named configuration file syntax checking tool</refpurpose>
55 <command>named-checkconf</command>
56 <arg><option>-v</option></arg>
57 <arg><option>-j</option></arg>
58 <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
59 <arg choice="req">filename</arg>
60 <arg><option>-z</option></arg>
65 <title>DESCRIPTION</title>
66 <para><command>named-checkconf</command>
67 checks the syntax, but not the semantics, of a named
73 <title>OPTIONS</title>
77 <term>-t <replaceable class="parameter">directory</replaceable></term>
80 Chroot to <filename>directory</filename> so that
82 directives in the configuration file are processed as if
83 run by a similarly chrooted named.
92 Print the version of the <command>named-checkconf</command>
102 Perform a test load of all master zones found in
103 <filename>named.conf</filename>.
112 When loading a zonefile read the journal if it exists.
118 <term>filename</term>
121 The name of the configuration file to be checked. If not
122 specified, it defaults to <filename>/etc/named.conf</filename>.
132 <title>RETURN VALUES</title>
133 <para><command>named-checkconf</command>
134 returns an exit status of 1 if
135 errors were detected and 0 otherwise.
140 <title>SEE ALSO</title>
142 <refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
145 <refentrytitle>named-checkzone</refentrytitle><manvolnum>8</manvolnum>
147 <citetitle>BIND 9 Administrator Reference Manual</citetitle>.
152 <title>AUTHOR</title>
153 <para><corpauthor>Internet Systems Consortium</corpauthor>