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