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