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