No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / dist / doc / arm / man.named-checkconf.html
blob34c23df67701129f1d1b0a539f08ac35c31e118f
1 <!--
2 - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
3 - Copyright (C) 2000-2003 Internet Software Consortium.
4 -
5 - Permission to use, copy, modify, and/or 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: man.named-checkconf.html,v 1.146 2009/12/04 22:22:26 tbox 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.71.1">
23 <link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
24 <link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
25 <link rel="prev" href="man.dnssec-signzone.html" title="dnssec-signzone">
26 <link rel="next" href="man.named-checkzone.html" title="named-checkzone">
27 </head>
28 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
29 <div class="navheader">
30 <table width="100%" summary="Navigation header">
31 <tr><th colspan="3" align="center"><span class="application">named-checkconf</span></th></tr>
32 <tr>
33 <td width="20%" align="left">
34 <a accesskey="p" href="man.dnssec-signzone.html">Prev</a> </td>
35 <th width="60%" align="center">Manual pages</th>
36 <td width="20%" align="right"> <a accesskey="n" href="man.named-checkzone.html">Next</a>
37 </td>
38 </tr>
39 </table>
40 <hr>
41 </div>
42 <div class="refentry" lang="en">
43 <a name="man.named-checkconf"></a><div class="titlepage"></div>
44 <div class="refnamediv">
45 <h2>Name</h2>
46 <p><span class="application">named-checkconf</span> &#8212; named configuration file syntax checking tool</p>
47 </div>
48 <div class="refsynopsisdiv">
49 <h2>Synopsis</h2>
50 <div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-h</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">-p</code>] [<code class="option">-z</code>]</p></div>
51 </div>
52 <div class="refsect1" lang="en">
53 <a name="id2612686"></a><h2>DESCRIPTION</h2>
54 <p><span><strong class="command">named-checkconf</strong></span>
55 checks the syntax, but not the semantics, of a named
56 configuration file.
57 </p>
58 </div>
59 <div class="refsect1" lang="en">
60 <a name="id2612700"></a><h2>OPTIONS</h2>
61 <div class="variablelist"><dl>
62 <dt><span class="term">-h</span></dt>
63 <dd><p>
64 Print the usage summary and exit.
65 </p></dd>
66 <dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
67 <dd><p>
68 Chroot to <code class="filename">directory</code> so that include
69 directives in the configuration file are processed as if
70 run by a similarly chrooted named.
71 </p></dd>
72 <dt><span class="term">-v</span></dt>
73 <dd><p>
74 Print the version of the <span><strong class="command">named-checkconf</strong></span>
75 program and exit.
76 </p></dd>
77 <dt><span class="term">-p</span></dt>
78 <dd><p>
79 Print out the <code class="filename">named.conf</code> and included files
80 in canonical form if no errors were detected.
81 </p></dd>
82 <dt><span class="term">-z</span></dt>
83 <dd><p>
84 Perform a test load of all master zones found in
85 <code class="filename">named.conf</code>.
86 </p></dd>
87 <dt><span class="term">-j</span></dt>
88 <dd><p>
89 When loading a zonefile read the journal if it exists.
90 </p></dd>
91 <dt><span class="term">filename</span></dt>
92 <dd><p>
93 The name of the configuration file to be checked. If not
94 specified, it defaults to <code class="filename">/etc/named.conf</code>.
95 </p></dd>
96 </dl></div>
97 </div>
98 <div class="refsect1" lang="en">
99 <a name="id2612835"></a><h2>RETURN VALUES</h2>
100 <p><span><strong class="command">named-checkconf</strong></span>
101 returns an exit status of 1 if
102 errors were detected and 0 otherwise.
103 </p>
104 </div>
105 <div class="refsect1" lang="en">
106 <a name="id2612849"></a><h2>SEE ALSO</h2>
107 <p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
108 <span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
109 <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
110 </p>
111 </div>
112 <div class="refsect1" lang="en">
113 <a name="id2612878"></a><h2>AUTHOR</h2>
114 <p><span class="corpauthor">Internet Systems Consortium</span>
115 </p>
116 </div>
117 </div>
118 <div class="navfooter">
119 <hr>
120 <table width="100%" summary="Navigation footer">
121 <tr>
122 <td width="40%" align="left">
123 <a accesskey="p" href="man.dnssec-signzone.html">Prev</a> </td>
124 <td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
125 <td width="40%" align="right"> <a accesskey="n" href="man.named-checkzone.html">Next</a>
126 </td>
127 </tr>
128 <tr>
129 <td width="40%" align="left" valign="top">
130 <span class="application">dnssec-signzone</span> </td>
131 <td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
132 <td width="40%" align="right" valign="top"> <span class="application">named-checkzone</span>
133 </td>
134 </tr>
135 </table>
136 </div>
137 </body>
138 </html>