2 - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
3 - Copyright (C) 2000-2002 Internet Software Consortium.
5 - Permission to use, copy, modify, and distribute this software for any
6 - purpose with or without fee is hereby granted, provided that the above
7 - copyright notice and this permission notice appear in all copies.
9 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 - PERFORMANCE OF THIS SOFTWARE.
17 <!-- $Id: named-checkconf.html,v 1.9.18.20 2007/06/20 02:26:58 marka Exp $ -->
20 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
21 <title>named-checkconf
</title>
22 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.71.1">
24 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><div class=
"refentry" lang=
"en">
25 <a name=
"man.named-checkconf"></a><div class=
"titlepage"></div>
26 <div class=
"refnamediv">
28 <p><span class=
"application">named-checkconf
</span> — named configuration file syntax checking tool
</p>
30 <div class=
"refsynopsisdiv">
32 <div class=
"cmdsynopsis"><p><code class=
"command">named-checkconf
</code> [
<code class=
"option">-v
</code>] [
<code class=
"option">-j
</code>] [
<code class=
"option">-t
<em class=
"replaceable"><code>directory
</code></em></code>] {filename} [
<code class=
"option">-z
</code>]
</p></div>
34 <div class=
"refsect1" lang=
"en">
35 <a name=
"id2543383"></a><h2>DESCRIPTION
</h2>
36 <p><span><strong class=
"command">named-checkconf
</strong></span>
37 checks the syntax, but not the semantics, of a named
41 <div class=
"refsect1" lang=
"en">
42 <a name=
"id2543395"></a><h2>OPTIONS
</h2>
43 <div class=
"variablelist"><dl>
44 <dt><span class=
"term">-t
<em class=
"replaceable"><code>directory
</code></em></span></dt>
46 Chroot to
<code class=
"filename">directory
</code> so that
48 directives in the configuration file are processed as if
49 run by a similarly chrooted named.
51 <dt><span class=
"term">-v
</span></dt>
53 Print the version of the
<span><strong class=
"command">named-checkconf
</strong></span>
56 <dt><span class=
"term">-z
</span></dt>
58 Perform a test load of all master zones found in
59 <code class=
"filename">named.conf
</code>.
61 <dt><span class=
"term">-j
</span></dt>
63 When loading a zonefile read the journal if it exists.
65 <dt><span class=
"term">filename
</span></dt>
67 The name of the configuration file to be checked. If not
68 specified, it defaults to
<code class=
"filename">/etc/named.conf
</code>.
72 <div class=
"refsect1" lang=
"en">
73 <a name=
"id2543489"></a><h2>RETURN VALUES
</h2>
74 <p><span><strong class=
"command">named-checkconf
</strong></span>
75 returns an exit status of
1 if
76 errors were detected and
0 otherwise.
79 <div class=
"refsect1" lang=
"en">
80 <a name=
"id2543500"></a><h2>SEE ALSO
</h2>
81 <p><span class=
"citerefentry"><span class=
"refentrytitle">named
</span>(
8)
</span>,
82 <span class=
"citerefentry"><span class=
"refentrytitle">named-checkzone
</span>(
8)
</span>,
83 <em class=
"citetitle">BIND
9 Administrator Reference Manual
</em>.
86 <div class=
"refsect1" lang=
"en">
87 <a name=
"id2543530"></a><h2>AUTHOR
</h2>
88 <p><span class=
"corpauthor">Internet Systems Consortium
</span>