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