d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - Copyright (C) 2000-2002, 2004-2007, 2009-2016 Internet Systems Consortium, Inc. ("ISC")
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - This Source Code Form is subject to the terms of the Mozilla Public
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - License, v. 2.0. If a copy of the MPL was not distributed with this
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - file, You can obtain one at http://mozilla.org/MPL/2.0/.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a name="man.named-checkzone"></a><div class="titlepage"></div>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span class="application">named-checkzone</span>,
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span class="application">named-compilezone</span>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User — zone file validity checking or converting tool
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-c <em class="replaceable"><code>class</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-f <em class="replaceable"><code>format</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-F <em class="replaceable"><code>format</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-J <em class="replaceable"><code>filename</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-M <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-l <em class="replaceable"><code>ttl</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-s <em class="replaceable"><code>style</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-T <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="command">named-compilezone</code>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-c <em class="replaceable"><code>class</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-f <em class="replaceable"><code>format</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-F <em class="replaceable"><code>format</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-J <em class="replaceable"><code>filename</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-l <em class="replaceable"><code>ttl</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-s <em class="replaceable"><code>style</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-T <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User {<code class="option">-o <em class="replaceable"><code>filename</code></em></code>}
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <p><span class="command"><strong>named-checkzone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein checks the syntax and integrity of a zone file. It performs the
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User same checks as <span class="command"><strong>named</strong></span> does when loading a
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User zone. This makes <span class="command"><strong>named-checkzone</strong></span> useful for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein checking zone files before configuring them into a name server.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>named-compilezone</strong></span> is similar to
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>named-checkzone</strong></span>, but it always dumps the
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews zone contents to a specified file in a specified format.
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews Additionally, it applies stricter check levels by default,
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews since the dump output will be used as an actual zone file
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User loaded by <span class="command"><strong>named</strong></span>.
f6da30bb5447c23d880b09f601441e70c5313557Mark Andrews When manually specified otherwise, the check levels must at
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews least be as strict as those specified in the
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>named</strong></span> configuration file.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <div class="variablelist"><dl class="variablelist">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Enable debugging.
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews Print the usage summary and exit.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Quiet mode - exit code only.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Print the version of the <span class="command"><strong>named-checkzone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 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.)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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.
3a3705ef7747327df182bf8d009333d2472253d5Mark 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
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"full"</strong></span> (default),
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"full-sibling"</strong></span>,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"local"</strong></span>,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"local-sibling"</strong></span> and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"none"</strong></span>.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span class="command"><strong>"full"</strong></span> checks that MX records
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews refer to A or AAAA record (both in-zone and out-of-zone
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User hostnames). Mode <span class="command"><strong>"local"</strong></span> only
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews checks MX records which refer to in-zone hostnames.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span class="command"><strong>"full"</strong></span> checks that SRV records
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews refer to A or AAAA record (both in-zone and out-of-zone
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User hostnames). Mode <span class="command"><strong>"local"</strong></span> only
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews checks SRV records which refer to in-zone hostnames.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span class="command"><strong>"full"</strong></span> checks that delegation NS
3a3705ef7747327df182bf8d009333d2472253d5Mark 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
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews in the zone match those advertised by the child.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span class="command"><strong>"local"</strong></span> only checks NS records which
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews refer to in-zone hostnames or that some required glue exists,
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews that is when the nameserver is in a child zone.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span class="command"><strong>"full-sibling"</strong></span> and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"local-sibling"</strong></span> disable sibling glue
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User checks but are otherwise the same as <span class="command"><strong>"full"</strong></span>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User and <span class="command"><strong>"local"</strong></span> respectively.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span class="command"><strong>"none"</strong></span> disables the checks.
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews Specify the format of the zone file.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible formats are <span class="command"><strong>"text"</strong></span> (default),
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"raw"</strong></span>, and <span class="command"><strong>"map"</strong></span>.
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews Specify the format of the output file specified.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User For <span class="command"><strong>named-checkzone</strong></span>,
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews this does not cause any effects unless it dumps the zone
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible formats are <span class="command"><strong>"text"</strong></span> (default),
dba3c818ae00b10388d31703e86a28415db398acTinderbox User which is the standard textual representation of the zone,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User and <span class="command"><strong>"map"</strong></span>, <span class="command"><strong>"raw"</strong></span>,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User and <span class="command"><strong>"raw=N"</strong></span>, which store the zone in a
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User binary format for rapid loading by <span class="command"><strong>named</strong></span>.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"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
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User any version of <span class="command"><strong>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.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-k <em class="replaceable"><code>mode</code></em></span></dt>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Perform <span class="command"><strong>"check-names"</strong></span> checks with the
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews specified failure mode.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible modes are <span class="command"><strong>"fail"</strong></span>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User (default for <span class="command"><strong>named-compilezone</strong></span>),
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"warn"</strong></span>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User (default for <span class="command"><strong>named-checkzone</strong></span>) and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"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
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>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
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews Specify whether MX records should be checked to see if they
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User are addresses. Possible modes are <span class="command"><strong>"fail"</strong></span>,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"warn"</strong></span> (default) and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"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.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible modes are <span class="command"><strong>"fail"</strong></span>,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"warn"</strong></span> (default) and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"ignore"</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specify whether NS records should be checked to see if they
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews are addresses.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible modes are <span class="command"><strong>"fail"</strong></span>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User (default for <span class="command"><strong>named-compilezone</strong></span>),
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"warn"</strong></span>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User (default for <span class="command"><strong>named-checkzone</strong></span>) and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"ignore"</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 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.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User This is mandatory for <span class="command"><strong>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
9d557856c2a19ec95ee73245f60a92f8675cf5baTinderbox User are semantically equal in plain DNS.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible modes are <span class="command"><strong>"fail"</strong></span>,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"warn"</strong></span> (default) and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"ignore"</strong></span>.
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews Specify the style of the dumped zone file.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible styles are <span class="command"><strong>"full"</strong></span> (default)
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User and <span class="command"><strong>"relative"</strong></span>.
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews The full format is most suitable for processing
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews automatically by a separate script.
285254345ce5ab270848f8c11f7be146793f1e00Mark Andrews On the other hand, the relative format is more
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews human-readable and is thus suitable for editing by hand.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User For <span class="command"><strong>named-checkzone</strong></span>
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews this does not cause any effects unless it dumps the zone
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews It also does not have any meaning if the output format
7208386cd37a2092c70eddf80cf29519b16c4c80Mark 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.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible modes are <span class="command"><strong>"fail"</strong></span>,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"warn"</strong></span> (default) and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"ignore"</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein directives in the configuration file are processed as if
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User run by a similarly chrooted <span class="command"><strong>named</strong></span>.
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
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User not also present. Possible modes are <span class="command"><strong>"warn"</strong></span>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User (default), <span class="command"><strong>"ignore"</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein chdir to <code class="filename">directory</code> so that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein filenames in master file $INCLUDE directives work. This
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is similar to the directory clause in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Dump zone file in canonical format.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User This is always enabled for <span class="command"><strong>named-compilezone</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-W <em class="replaceable"><code>mode</code></em></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specify whether to check for non-terminal wildcards.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Non-terminal wildcards are almost always the result of a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein failure to understand the wildcard matching algorithm (RFC 1034).
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible modes are <span class="command"><strong>"warn"</strong></span> (default)
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span class="command"><strong>"ignore"</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The domain name of the zone being checked.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The name of the zone file.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <p><span class="command"><strong>named-checkzone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein returns an exit status of 1 if
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein errors were detected and 0 otherwise.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span class="refentrytitle">named-checkconf</span>(8)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="citetitle">BIND 9 Administrator Reference Manual</em>.