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