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