Merge branch 'vendor/LIBPCAP' (early part)
[dragonfly.git] / contrib / bind-9.3 / bin / check / named-checkconf.html
1 <!--
2  - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
3  - Copyright (C) 2000-2002 Internet Software Consortium.
4  - 
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.
8  - 
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.
16 -->
17 <!-- $Id: named-checkconf.html,v 1.5.2.1.4.15 2006/06/29 13:02:30 marka Exp $ -->
18 <html>
19 <head>
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.70.1">
23 </head>
24 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
25 <a name="id2482688"></a><div class="titlepage"></div>
26 <div class="refnamediv">
27 <h2>Name</h2>
28 <p><span class="application">named-checkconf</span> &#8212; named configuration file syntax checking tool</p>
29 </div>
30 <div class="refsynopsisdiv">
31 <h2>Synopsis</h2>
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>
33 </div>
34 <div class="refsect1" lang="en">
35 <a name="id2549430"></a><h2>DESCRIPTION</h2>
36 <p>
37         <span><strong class="command">named-checkconf</strong></span> checks the syntax, but not
38         the semantics, of a named configuration file.
39     </p>
40 </div>
41 <div class="refsect1" lang="en">
42 <a name="id2549443"></a><h2>OPTIONS</h2>
43 <div class="variablelist"><dl>
44 <dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
45 <dd><p>
46               chroot to <code class="filename">directory</code> so that include
47               directives in the configuration file are processed as if
48               run by a similarly chrooted named.
49           </p></dd>
50 <dt><span class="term">-v</span></dt>
51 <dd><p>
52               Print the version of the <span><strong class="command">named-checkconf</strong></span>
53               program and exit.
54           </p></dd>
55 <dt><span class="term">-z</span></dt>
56 <dd><p>
57               Perform a check load the master zonefiles found in
58               <code class="filename">named.conf</code>.
59           </p></dd>
60 <dt><span class="term">-j</span></dt>
61 <dd><p>
62               When loading a zonefile read the journal if it exists.
63           </p></dd>
64 <dt><span class="term">filename</span></dt>
65 <dd><p>
66                The name of the configuration file to be checked.  If not
67                specified, it defaults to <code class="filename">/etc/named.conf</code>.
68           </p></dd>
69 </dl></div>
70 </div>
71 <div class="refsect1" lang="en">
72 <a name="id2549534"></a><h2>RETURN VALUES</h2>
73 <p>
74         <span><strong class="command">named-checkconf</strong></span> returns an exit status of 1 if
75         errors were detected and 0 otherwise.
76     </p>
77 </div>
78 <div class="refsect1" lang="en">
79 <a name="id2549547"></a><h2>SEE ALSO</h2>
80 <p>
81       <span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
82       <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
83     </p>
84 </div>
85 <div class="refsect1" lang="en">
86 <a name="id2549639"></a><h2>AUTHOR</h2>
87 <p>
88         <span class="corpauthor">Internet Systems Consortium</span>
89     </p>
90 </div>
91 </div></body>
92 </html>