14
14
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
15
- PERFORMANCE OF THIS SOFTWARE.
17
<!-- $Id: named-checkconf.html,v 1.5.2.1.4.12 2005/10/13 02:33:42 marka Exp $ -->
17
<!-- $Id: named-checkconf.html,v 1.30 2007/06/20 02:27:32 marka Exp $ -->
20
20
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
21
21
<title>named-checkconf</title>
22
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
22
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
24
24
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
25
<a name="id2463721"></a><div class="titlepage"></div>
25
<a name="man.named-checkconf"></a><div class="titlepage"></div>
26
26
<div class="refnamediv">
28
28
<p><span class="application">named-checkconf</span> — named configuration file syntax checking tool</p>
30
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>
32
<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">-z</code>]</p></div>
34
34
<div class="refsect1" lang="en">
35
<a name="id2525865"></a><h2>DESCRIPTION</h2>
37
<span><strong class="command">named-checkconf</strong></span> checks the syntax, but not
38
the semantics, of a named configuration file.
35
<a name="id2543387"></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
41
<div class="refsect1" lang="en">
42
<a name="id2525878"></a><h2>OPTIONS</h2>
42
<a name="id2543399"></a><h2>OPTIONS</h2>
43
43
<div class="variablelist"><dl>
44
<dt><span class="term">-h</span></dt>
46
Print the usage summary and exit.
44
48
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
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.
50
Chroot to <code class="filename">directory</code> so that
52
directives in the configuration file are processed as if
53
run by a similarly chrooted named.
50
55
<dt><span class="term">-v</span></dt>
52
Print the version of the <span><strong class="command">named-checkconf</strong></span>
57
Print the version of the <span><strong class="command">named-checkconf</strong></span>
55
60
<dt><span class="term">-z</span></dt>
57
Perform a check load the master zonefiles found in
58
<code class="filename">named.conf</code>.
62
Perform a test load of all master zones found in
63
<code class="filename">named.conf</code>.
60
65
<dt><span class="term">-j</span></dt>
62
When loading a zonefile read the journal if it exists.
67
When loading a zonefile read the journal if it exists.
64
69
<dt><span class="term">filename</span></dt>
66
The name of the configuration file to be checked. If not
67
specified, it defaults to <code class="filename">/etc/named.conf</code>.
71
The name of the configuration file to be checked. If not
72
specified, it defaults to <code class="filename">/etc/named.conf</code>.
71
76
<div class="refsect1" lang="en">
72
<a name="id2525970"></a><h2>RETURN VALUES</h2>
74
<span><strong class="command">named-checkconf</strong></span> returns an exit status of 1 if
75
errors were detected and 0 otherwise.
77
<a name="id2543507"></a><h2>RETURN VALUES</h2>
78
<p><span><strong class="command">named-checkconf</strong></span>
79
returns an exit status of 1 if
80
errors were detected and 0 otherwise.
78
83
<div class="refsect1" lang="en">
79
<a name="id2525982"></a><h2>SEE ALSO</h2>
81
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
84
<a name="id2543518"></a><h2>SEE ALSO</h2>
85
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
86
<span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
82
87
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
85
90
<div class="refsect1" lang="en">
86
<a name="id2526006"></a><h2>AUTHOR</h2>
88
<span class="corpauthor">Internet Systems Consortium</span>
91
<a name="id2543548"></a><h2>AUTHOR</h2>
92
<p><span class="corpauthor">Internet Systems Consortium</span>