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