man.named-checkzone.html revision 4cfb5ea3a5dd28477df37004d6345992d5f41a3f
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - Copyright (C) 2000-2003 Internet Software Consortium.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - Permission to use, copy, modify, and/or distribute this software for any
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - purpose with or without fee is hereby granted, provided that the above
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - copyright notice and this permission notice appear in all copies.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - PERFORMANCE OF THIS SOFTWARE.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="next" href="man.named.html" title="named">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<table width="100%" summary="Navigation header">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<th width="60%" align="center">Manual pages</th>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<a name="man.named-checkzone"></a><div class="titlepage"></div>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> — zone file validity checking or converting tool</p>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<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">-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">-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>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<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">-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">-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>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<p><span><strong class="command">named-checkzone</strong></span>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User checks the syntax and integrity of a zone file. It performs the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User same checks as <span><strong class="command">named</strong></span> does when loading a
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User checking zone files before configuring them into a name server.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">named-compilezone</strong></span> is similar to
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">named-checkzone</strong></span>, but it always dumps the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User zone contents to a specified file in a specified format.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Additionally, it applies stricter check levels by default,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User since the dump output will be used as an actual zone file
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User loaded by <span><strong class="command">named</strong></span>.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User When manually specified otherwise, the check levels must at
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User least be as strict as those specified in the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">named</strong></span> configuration file.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Enable debugging.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Print the usage summary and exit.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Quiet mode - exit code only.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Print the version of the <span><strong class="command">named-checkzone</strong></span>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User program and exit.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User When loading the zone file read the journal if it exists.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Specify the class of the zone. If not specified, "IN" is assumed.
ad8f23aed6c75f94f238c1f23f4e17515d28eb55Tinderbox User<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
ad8f23aed6c75f94f238c1f23f4e17515d28eb55Tinderbox User Perform post-load zone integrity checks. Possible modes are
ad8f23aed6c75f94f238c1f23f4e17515d28eb55Tinderbox User <span><strong class="command">"full"</strong></span> (default),
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">"full-sibling"</strong></span>,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">"local"</strong></span>,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">"local-sibling"</strong></span> and
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">"none"</strong></span>.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Mode <span><strong class="command">"full"</strong></span> checks that MX records
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User refer to A or AAAA record (both in-zone and out-of-zone
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User hostnames). Mode <span><strong class="command">"local"</strong></span> only
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User checks MX records which refer to in-zone hostnames.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Mode <span><strong class="command">"full"</strong></span> checks that SRV records
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User refer to A or AAAA record (both in-zone and out-of-zone
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User hostnames). Mode <span><strong class="command">"local"</strong></span> only
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User checks SRV records which refer to in-zone hostnames.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User records refer to A or AAAA record (both in-zone and out-of-zone
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User hostnames). It also checks that glue address records
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User in the zone match those advertised by the child.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Mode <span><strong class="command">"local"</strong></span> only checks NS records which
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User refer to in-zone hostnames or that some required glue exists,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User that is when the nameserver is in a child zone.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Mode <span><strong class="command">"full-sibling"</strong></span> and
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">"local-sibling"</strong></span> disable sibling glue
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User and <span><strong class="command">"local"</strong></span> respectively.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Mode <span><strong class="command">"none"</strong></span> disables the checks.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Specify the format of the zone file.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Possible formats are <span><strong class="command">"text"</strong></span> (default)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User and <span><strong class="command">"raw"</strong></span>.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Specify the format of the output file specified.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User For <span><strong class="command">named-checkzone</strong></span>,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User this does not cause any effects unless it dumps the zone
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Possible formats are <span><strong class="command">"text"</strong></span> (default)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User and <span><strong class="command">"raw"</strong></span> or <span><strong class="command">"raw=N"</strong></span>,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User which store the zone in a binary format for rapid loading
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User by <span><strong class="command">named</strong></span>. <span><strong class="command">"raw=N"</strong></span>