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