2 - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
3 - Copyright (C) 2000-2003 Internet Software Consortium.
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.
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: man.named-checkconf.html,v 1.146 2009/12/04 22:22:26 tbox 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">
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">
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>
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>
42 <div class=
"refentry" lang=
"en">
43 <a name=
"man.named-checkconf"></a><div class=
"titlepage"></div>
44 <div class=
"refnamediv">
46 <p><span class=
"application">named-checkconf
</span> — named configuration file syntax checking tool
</p>
48 <div class=
"refsynopsisdiv">
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>
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
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>
64 Print the usage summary and exit.
66 <dt><span class=
"term">-t
<em class=
"replaceable"><code>directory
</code></em></span></dt>
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.
72 <dt><span class=
"term">-v
</span></dt>
74 Print the version of the
<span><strong class=
"command">named-checkconf
</strong></span>
77 <dt><span class=
"term">-p
</span></dt>
79 Print out the
<code class=
"filename">named.conf
</code> and included files
80 in canonical form if no errors were detected.
82 <dt><span class=
"term">-z
</span></dt>
84 Perform a test load of all master zones found in
85 <code class=
"filename">named.conf
</code>.
87 <dt><span class=
"term">-j
</span></dt>
89 When loading a zonefile read the journal if it exists.
91 <dt><span class=
"term">filename
</span></dt>
93 The name of the configuration file to be checked. If not
94 specified, it defaults to
<code class=
"filename">/etc/named.conf
</code>.
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.
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>.
112 <div class=
"refsect1" lang=
"en">
113 <a name=
"id2612878"></a><h2>AUTHOR
</h2>
114 <p><span class=
"corpauthor">Internet Systems Consortium
</span>
118 <div class=
"navfooter">
120 <table width=
"100%" summary=
"Navigation footer">
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>
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>