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