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