man.named-checkzone.html revision 30c0c7470d5bfabd8f43c563f4eca636d06cc484
990d0e893f5b70e735cdf990af66e9ec6e91fa78Tinderbox User - Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - purpose with or without fee is hereby granted, provided that the above
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - copyright notice and this permission notice appear in all copies.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<link rel="next" href="man.named.html" title="named">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<table width="100%" summary="Navigation header">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<th width="60%" align="center">Manual pages</th>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a name="man.named-checkzone"></a><div class="titlepage"></div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> — zone file validity checking or converting tool</p>
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-h</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-J <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-l <em class="replaceable"><code>ttl</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-T <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {zonename} {filename}</p></div>
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User<div class="cmdsynopsis"><p><code class="command">named-compilezone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-J <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-l <em class="replaceable"><code>ttl</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-T <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {<code class="option">-o <em class="replaceable"><code>filename</code></em></code>} {zonename} {filename}</p></div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span><strong class="command">named-checkzone</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews checks the syntax and integrity of a zone file. It performs the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews same checks as <span><strong class="command">named</strong></span> does when loading a
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews checking zone files before configuring them into a name server.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">named-compilezone</strong></span> is similar to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">named-checkzone</strong></span>, but it always dumps the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews zone contents to a specified file in a specified format.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Additionally, it applies stricter check levels by default,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews since the dump output will be used as an actual zone file
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews loaded by <span><strong class="command">named</strong></span>.
f6da30bb5447c23d880b09f601441e70c5313557Mark Andrews When manually specified otherwise, the check levels must at
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews least be as strict as those specified in the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">named</strong></span> configuration file.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Enable debugging.
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews Print the usage summary and exit.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Quiet mode - exit code only.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Print the version of the <span><strong class="command">named-checkzone</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews program and exit.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User When loading a zone file, read the journal if it exists.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User The journal file name is assumed to be the zone file name
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User appended with the string <code class="filename">.jnl</code>.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User<dt><span class="term">-J <em class="replaceable"><code>filename</code></em></span></dt>
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User When loading the zone file read the journal from the given
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User file, if it exists. (Implies -j.)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
9fbbfb5757a1e3e86d7dea62c4e63ffc2303ca2bAutomatic Updater Specify the class of the zone. If not specified, "IN" is assumed.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews Perform post-load zone integrity checks. Possible modes are
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"full"</strong></span> (default),
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews <span><strong class="command">"full-sibling"</strong></span>,
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews <span><strong class="command">"local"</strong></span>,
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews <span><strong class="command">"local-sibling"</strong></span> and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"none"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Mode <span><strong class="command">"full"</strong></span> checks that MX records
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews refer to A or AAAA record (both in-zone and out-of-zone
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews hostnames). Mode <span><strong class="command">"local"</strong></span> only
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews checks MX records which refer to in-zone hostnames.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Mode <span><strong class="command">"full"</strong></span> checks that SRV records
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews refer to A or AAAA record (both in-zone and out-of-zone
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews hostnames). Mode <span><strong class="command">"local"</strong></span> only
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews checks SRV records which refer to in-zone hostnames.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews records refer to A or AAAA record (both in-zone and out-of-zone
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews hostnames). It also checks that glue address records
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews in the zone match those advertised by the child.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Mode <span><strong class="command">"local"</strong></span> only checks NS records which
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews refer to in-zone hostnames or that some required glue exists,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews that is when the nameserver is in a child zone.
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews Mode <span><strong class="command">"full-sibling"</strong></span> and
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews <span><strong class="command">"local-sibling"</strong></span> disable sibling glue
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews and <span><strong class="command">"local"</strong></span> respectively.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Mode <span><strong class="command">"none"</strong></span> disables the checks.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Specify the format of the zone file.
dba3c818ae00b10388d31703e86a28415db398acTinderbox User Possible formats are <span><strong class="command">"text"</strong></span> (default),
43b94483957d3168796a816ed86cf097518817dcTinderbox User <span><strong class="command">"raw"</strong></span>, and <span><strong class="command">"map"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Specify the format of the output file specified.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews For <span><strong class="command">named-checkzone</strong></span>,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews this does not cause any effects unless it dumps the zone
dba3c818ae00b10388d31703e86a28415db398acTinderbox User Possible formats are <span><strong class="command">"text"</strong></span> (default),
dba3c818ae00b10388d31703e86a28415db398acTinderbox User which is the standard textual representation of the zone,
43b94483957d3168796a816ed86cf097518817dcTinderbox User and <span><strong class="command">"map"</strong></span>, <span><strong class="command">"raw"</strong></span>,
dba3c818ae00b10388d31703e86a28415db398acTinderbox User and <span><strong class="command">"raw=N"</strong></span>, which store the zone in a
dba3c818ae00b10388d31703e86a28415db398acTinderbox User binary format for rapid loading by <span><strong class="command">named</strong></span>.
dba3c818ae00b10388d31703e86a28415db398acTinderbox User <span><strong class="command">"raw=N"</strong></span> specifies the format version of
dba3c818ae00b10388d31703e86a28415db398acTinderbox User the raw zone file: if N is 0, the raw file can be read by
dba3c818ae00b10388d31703e86a28415db398acTinderbox User any version of <span><strong class="command">named</strong></span>; if N is 1, the file
dba3c818ae00b10388d31703e86a28415db398acTinderbox User can be read by release 9.9.0 or higher; the default is 1.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-k <em class="replaceable"><code>mode</code></em></span></dt>
bf056b7184b38281c1b0bf0cf21b5982fa1a4edaMark Andrews Perform <span><strong class="command">"check-names"</strong></span> checks with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews specified failure mode.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Possible modes are <span><strong class="command">"fail"</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews (default for <span><strong class="command">named-compilezone</strong></span>),
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"warn"</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews (default for <span><strong class="command">named-checkzone</strong></span>) and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"ignore"</strong></span>.
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User<dt><span class="term">-l <em class="replaceable"><code>ttl</code></em></span></dt>
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User Sets a maximum permissible TTL for the input file.
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User Any record with a TTL higher than this value will cause
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User the zone to be rejected. This is similar to using the
0e1dece22e128f9dfa723316a35c4b3f06912381Tinderbox User <span><strong class="command">max-zone-ttl</strong></span> option in
97e74139b19368e385a3564746d42db70879195eAutomatic Updater<dt><span class="term">-L <em class="replaceable"><code>serial</code></em></span></dt>
43b94483957d3168796a816ed86cf097518817dcTinderbox User When compiling a zone to "raw" or "map" format, set the
dba3c818ae00b10388d31703e86a28415db398acTinderbox User "source serial" value in the header to the specified serial
dba3c818ae00b10388d31703e86a28415db398acTinderbox User number. (This is expected to be used primarily for testing
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Specify whether MX records should be checked to see if they
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews are addresses. Possible modes are <span><strong class="command">"fail"</strong></span>,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"warn"</strong></span> (default) and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"ignore"</strong></span>.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<dt><span class="term">-M <em class="replaceable"><code>mode</code></em></span></dt>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews Check if a MX record refers to a CNAME.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews Possible modes are <span><strong class="command">"fail"</strong></span>,
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <span><strong class="command">"warn"</strong></span> (default) and
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <span><strong class="command">"ignore"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Specify whether NS records should be checked to see if they
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews are addresses.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Possible modes are <span><strong class="command">"fail"</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews (default for <span><strong class="command">named-compilezone</strong></span>),
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"warn"</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews (default for <span><strong class="command">named-checkzone</strong></span>) and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"ignore"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Write zone output to <code class="filename">filename</code>.
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews If <code class="filename">filename</code> is <code class="filename">-</code> then
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews write to standard out.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater<dt><span class="term">-r <em class="replaceable"><code>mode</code></em></span></dt>
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater Check for records that are treated as different by DNSSEC but
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater are semantically equal in plain DNS.
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater Possible modes are <span><strong class="command">"fail"</strong></span>,
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater <span><strong class="command">"warn"</strong></span> (default) and
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater <span><strong class="command">"ignore"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Specify the style of the dumped zone file.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Possible styles are <span><strong class="command">"full"</strong></span> (default)
285254345ce5ab270848f8c11f7be146793f1e00Mark Andrews and <span><strong class="command">"relative"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The full format is most suitable for processing
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews automatically by a separate script.
285254345ce5ab270848f8c11f7be146793f1e00Mark Andrews On the other hand, the relative format is more
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews human-readable and is thus suitable for editing by hand.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews For <span><strong class="command">named-checkzone</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews this does not cause any effects unless it dumps the zone
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews It also does not have any meaning if the output format
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews is not text.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<dt><span class="term">-S <em class="replaceable"><code>mode</code></em></span></dt>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews Check if a SRV record refers to a CNAME.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews Possible modes are <span><strong class="command">"fail"</strong></span>,
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <span><strong class="command">"warn"</strong></span> (default) and
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <span><strong class="command">"ignore"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews Chroot to <code class="filename">directory</code> so that
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews directives in the configuration file are processed as if
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews run by a similarly chrooted named.
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User<dt><span class="term">-T <em class="replaceable"><code>mode</code></em></span></dt>
c25602ed66bb0b53e72963dc38bd0d5f49b14496Tinderbox User Check if Sender Policy Framework (SPF) records exist
c25602ed66bb0b53e72963dc38bd0d5f49b14496Tinderbox User and issues a warning if an SPF-formatted TXT record is
c25602ed66bb0b53e72963dc38bd0d5f49b14496Tinderbox User not also present. Possible modes are <span><strong class="command">"warn"</strong></span>
c25602ed66bb0b53e72963dc38bd0d5f49b14496Tinderbox User (default), <span><strong class="command">"ignore"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews chdir to <code class="filename">directory</code> so that
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews filenames in master file $INCLUDE directives work. This
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews is similar to the directory clause in
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Dump zone file in canonical format.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews This is always enabled for <span><strong class="command">named-compilezone</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-W <em class="replaceable"><code>mode</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Specify whether to check for non-terminal wildcards.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Non-terminal wildcards are almost always the result of a
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews failure to understand the wildcard matching algorithm (RFC 1034).
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Possible modes are <span><strong class="command">"warn"</strong></span> (default)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">"ignore"</strong></span>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The domain name of the zone being checked.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The name of the zone file.
78ec962d9828200d18cd0e41b7d6b9792a74923dTinderbox User<a name="id2676885"></a><h2>RETURN VALUES</h2>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span><strong class="command">named-checkzone</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews returns an exit status of 1 if
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews errors were detected and 0 otherwise.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews <span class="citerefentry"><span class="refentrytitle">named-checkconf</span>(8)</span>,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span class="corpauthor">Internet Systems Consortium</span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<table width="100%" summary="Navigation footer">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td width="40%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
4abdfc917e6635a7c81d1f931a0c79227e72d025Mark Andrews<span class="application">named-checkconf</span>�</td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
4abdfc917e6635a7c81d1f931a0c79227e72d025Mark Andrews<td width="40%" align="right" valign="top">�<span class="application">named</span>
30c0c7470d5bfabd8f43c563f4eca636d06cc484Tinderbox User<p style="text-align: center;">BIND 9.11.0pre-alpha</p>