2016-08-26 15:14:04 +10:00
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<!--
|
2016-11-25 21:01:07 +00:00
|
|
|
|
- Copyright (C) 2000-2016 Internet Systems Consortium, Inc. ("ISC")
|
2005-07-19 06:12:24 +00:00
|
|
|
|
-
|
2016-07-21 07:11:01 +00:00
|
|
|
|
- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2005-07-19 06:12:24 +00:00
|
|
|
|
-->
|
2016-08-26 15:14:04 +10:00
|
|
|
|
<html lang="en">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
|
|
|
<title>named-checkzone</title>
|
2015-10-07 04:11:09 +00:00
|
|
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
|
2015-01-09 01:05:02 +00:00
|
|
|
|
<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<link rel="next" href="man.named-journalprint.html" title="named-journalprint">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</head>
|
|
|
|
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
|
|
|
<div class="navheader">
|
|
|
|
|
<table width="100%" summary="Navigation header">
|
|
|
|
|
<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="20%" align="left">
|
|
|
|
|
<a accesskey="p" href="man.named-checkconf.html">Prev</a><EFBFBD></td>
|
|
|
|
|
<th width="60%" align="center">Manual pages</th>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<td width="20%" align="right"><EFBFBD><a accesskey="n" href="man.named-journalprint.html">Next</a>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<hr>
|
|
|
|
|
</div>
|
2015-10-07 04:11:09 +00:00
|
|
|
|
<div class="refentry">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<a name="man.named-checkzone"></a><div class="titlepage"></div>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="refnamediv">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<h2>Name</h2>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
|
|
|
|
<span class="application">named-checkzone</span>,
|
|
|
|
|
<span class="application">named-compilezone</span>
|
|
|
|
|
— zone file validity checking or converting tool
|
|
|
|
|
</p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</div>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
|
|
|
|
|
<div class="refsynopsisdiv">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<h2>Synopsis</h2>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<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>ttl</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>
|
|
|
|
|
<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>ttl</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>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="refsection">
|
2016-08-25 01:04:54 +00:00
|
|
|
|
<a name="id-1.14.22.7"></a><h2>DESCRIPTION</h2>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
|
|
|
|
|
<p><span class="command"><strong>named-checkzone</strong></span>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
checks the syntax and integrity of a zone file. It performs the
|
2015-10-05 21:59:35 -07:00
|
|
|
|
same checks as <span class="command"><strong>named</strong></span> does when loading a
|
|
|
|
|
zone. This makes <span class="command"><strong>named-checkzone</strong></span> useful for
|
2005-07-19 06:12:24 +00:00
|
|
|
|
checking zone files before configuring them into a name server.
|
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<span class="command"><strong>named-compilezone</strong></span> is similar to
|
|
|
|
|
<span class="command"><strong>named-checkzone</strong></span>, but it always dumps the
|
2005-07-19 06:12:24 +00:00
|
|
|
|
zone contents to a specified file in a specified format.
|
|
|
|
|
Additionally, it applies stricter check levels by default,
|
|
|
|
|
since the dump output will be used as an actual zone file
|
2015-10-05 21:59:35 -07:00
|
|
|
|
loaded by <span class="command"><strong>named</strong></span>.
|
2007-05-09 13:35:57 +00:00
|
|
|
|
When manually specified otherwise, the check levels must at
|
2005-07-19 06:12:24 +00:00
|
|
|
|
least be as strict as those specified in the
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<span class="command"><strong>named</strong></span> configuration file.
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="refsection">
|
2016-08-25 01:04:54 +00:00
|
|
|
|
<a name="id-1.14.22.8"></a><h2>OPTIONS</h2>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="variablelist"><dl class="variablelist">
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-d</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Enable debugging.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2007-05-21 04:09:03 +00:00
|
|
|
|
<dt><span class="term">-h</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2007-05-21 04:09:03 +00:00
|
|
|
|
Print the usage summary and exit.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-q</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Quiet mode - exit code only.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-v</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Print the version of the <span class="command"><strong>named-checkzone</strong></span>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
program and exit.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-j</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2013-01-10 20:19:56 +00:00
|
|
|
|
When loading a zone file, read the journal if it exists.
|
|
|
|
|
The journal file name is assumed to be the zone file name
|
|
|
|
|
appended with the string <code class="filename">.jnl</code>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2013-01-10 20:19:56 +00:00
|
|
|
|
<dt><span class="term">-J <em class="replaceable"><code>filename</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2013-01-10 20:19:56 +00:00
|
|
|
|
When loading the zone file read the journal from the given
|
|
|
|
|
file, if it exists. (Implies -j.)
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2009-01-21 01:12:08 +00:00
|
|
|
|
Specify the class of the zone. If not specified, "IN" is assumed.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
|
|
|
|
|
<dd>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2007-05-09 03:33:51 +00:00
|
|
|
|
Perform post-load zone integrity checks. Possible modes are
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<span class="command"><strong>"full"</strong></span> (default),
|
|
|
|
|
<span class="command"><strong>"full-sibling"</strong></span>,
|
|
|
|
|
<span class="command"><strong>"local"</strong></span>,
|
|
|
|
|
<span class="command"><strong>"local-sibling"</strong></span> and
|
|
|
|
|
<span class="command"><strong>"none"</strong></span>.
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Mode <span class="command"><strong>"full"</strong></span> checks that MX records
|
2005-07-19 06:12:24 +00:00
|
|
|
|
refer to A or AAAA record (both in-zone and out-of-zone
|
2015-10-05 21:59:35 -07:00
|
|
|
|
hostnames). Mode <span class="command"><strong>"local"</strong></span> only
|
2005-07-19 06:12:24 +00:00
|
|
|
|
checks MX records which refer to in-zone hostnames.
|
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Mode <span class="command"><strong>"full"</strong></span> checks that SRV records
|
2005-07-19 06:12:24 +00:00
|
|
|
|
refer to A or AAAA record (both in-zone and out-of-zone
|
2015-10-05 21:59:35 -07:00
|
|
|
|
hostnames). Mode <span class="command"><strong>"local"</strong></span> only
|
2005-07-19 06:12:24 +00:00
|
|
|
|
checks SRV records which refer to in-zone hostnames.
|
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Mode <span class="command"><strong>"full"</strong></span> checks that delegation NS
|
2005-07-19 06:12:24 +00:00
|
|
|
|
records refer to A or AAAA record (both in-zone and out-of-zone
|
2007-05-09 03:33:51 +00:00
|
|
|
|
hostnames). It also checks that glue address records
|
2005-07-19 06:12:24 +00:00
|
|
|
|
in the zone match those advertised by the child.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Mode <span class="command"><strong>"local"</strong></span> only checks NS records which
|
2005-07-19 06:12:24 +00:00
|
|
|
|
refer to in-zone hostnames or that some required glue exists,
|
|
|
|
|
that is when the nameserver is in a child zone.
|
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Mode <span class="command"><strong>"full-sibling"</strong></span> and
|
|
|
|
|
<span class="command"><strong>"local-sibling"</strong></span> disable sibling glue
|
|
|
|
|
checks but are otherwise the same as <span class="command"><strong>"full"</strong></span>
|
|
|
|
|
and <span class="command"><strong>"local"</strong></span> respectively.
|
2005-08-25 03:12:48 +00:00
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Mode <span class="command"><strong>"none"</strong></span> disables the checks.
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Specify the format of the zone file.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible formats are <span class="command"><strong>"text"</strong></span> (default),
|
|
|
|
|
<span class="command"><strong>"raw"</strong></span>, and <span class="command"><strong>"map"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
|
2011-12-10 01:14:53 +00:00
|
|
|
|
<dd>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Specify the format of the output file specified.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
For <span class="command"><strong>named-checkzone</strong></span>,
|
2005-07-19 06:12:24 +00:00
|
|
|
|
this does not cause any effects unless it dumps the zone
|
|
|
|
|
contents.
|
2011-12-10 01:14:53 +00:00
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible formats are <span class="command"><strong>"text"</strong></span> (default),
|
2012-06-23 01:04:31 +00:00
|
|
|
|
which is the standard textual representation of the zone,
|
2015-10-05 21:59:35 -07:00
|
|
|
|
and <span class="command"><strong>"map"</strong></span>, <span class="command"><strong>"raw"</strong></span>,
|
|
|
|
|
and <span class="command"><strong>"raw=N"</strong></span>, which store the zone in a
|
|
|
|
|
binary format for rapid loading by <span class="command"><strong>named</strong></span>.
|
|
|
|
|
<span class="command"><strong>"raw=N"</strong></span> specifies the format version of
|
2012-06-23 01:04:31 +00:00
|
|
|
|
the raw zone file: if N is 0, the raw file can be read by
|
2015-10-05 21:59:35 -07:00
|
|
|
|
any version of <span class="command"><strong>named</strong></span>; if N is 1, the file
|
2012-06-23 01:04:31 +00:00
|
|
|
|
can be read by release 9.9.0 or higher; the default is 1.
|
2011-12-10 01:14:53 +00:00
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-k <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Perform <span class="command"><strong>"check-names"</strong></span> checks with the
|
2005-07-19 06:12:24 +00:00
|
|
|
|
specified failure mode.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible modes are <span class="command"><strong>"fail"</strong></span>
|
|
|
|
|
(default for <span class="command"><strong>named-compilezone</strong></span>),
|
|
|
|
|
<span class="command"><strong>"warn"</strong></span>
|
|
|
|
|
(default for <span class="command"><strong>named-checkzone</strong></span>) and
|
|
|
|
|
<span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2014-02-20 19:19:27 +00:00
|
|
|
|
<dt><span class="term">-l <em class="replaceable"><code>ttl</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2014-02-20 19:19:27 +00:00
|
|
|
|
Sets a maximum permissible TTL for the input file.
|
|
|
|
|
Any record with a TTL higher than this value will cause
|
|
|
|
|
the zone to be rejected. This is similar to using the
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<span class="command"><strong>max-zone-ttl</strong></span> option in
|
2014-02-20 19:19:27 +00:00
|
|
|
|
<code class="filename">named.conf</code>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2011-12-22 18:10:11 +00:00
|
|
|
|
<dt><span class="term">-L <em class="replaceable"><code>serial</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2013-01-25 01:04:51 +00:00
|
|
|
|
When compiling a zone to "raw" or "map" format, set the
|
2012-06-23 01:04:31 +00:00
|
|
|
|
"source serial" value in the header to the specified serial
|
|
|
|
|
number. (This is expected to be used primarily for testing
|
|
|
|
|
purposes.)
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Specify whether MX records should be checked to see if they
|
2015-10-05 21:59:35 -07:00
|
|
|
|
are addresses. Possible modes are <span class="command"><strong>"fail"</strong></span>,
|
|
|
|
|
<span class="command"><strong>"warn"</strong></span> (default) and
|
|
|
|
|
<span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2006-01-06 01:55:39 +00:00
|
|
|
|
<dt><span class="term">-M <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2006-01-06 01:55:39 +00:00
|
|
|
|
Check if a MX record refers to a CNAME.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible modes are <span class="command"><strong>"fail"</strong></span>,
|
|
|
|
|
<span class="command"><strong>"warn"</strong></span> (default) and
|
|
|
|
|
<span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Specify whether NS records should be checked to see if they
|
|
|
|
|
are addresses.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible modes are <span class="command"><strong>"fail"</strong></span>
|
|
|
|
|
(default for <span class="command"><strong>named-compilezone</strong></span>),
|
|
|
|
|
<span class="command"><strong>"warn"</strong></span>
|
|
|
|
|
(default for <span class="command"><strong>named-checkzone</strong></span>) and
|
|
|
|
|
<span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Write zone output to <code class="filename">filename</code>.
|
2007-05-21 04:09:03 +00:00
|
|
|
|
If <code class="filename">filename</code> is <code class="filename">-</code> then
|
|
|
|
|
write to standard out.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
This is mandatory for <span class="command"><strong>named-compilezone</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2009-12-04 22:22:27 +00:00
|
|
|
|
<dt><span class="term">-r <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2009-12-04 22:22:27 +00:00
|
|
|
|
Check for records that are treated as different by DNSSEC but
|
2015-10-22 05:53:09 +00:00
|
|
|
|
are semantically equal in plain DNS.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible modes are <span class="command"><strong>"fail"</strong></span>,
|
|
|
|
|
<span class="command"><strong>"warn"</strong></span> (default) and
|
|
|
|
|
<span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Specify the style of the dumped zone file.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible styles are <span class="command"><strong>"full"</strong></span> (default)
|
|
|
|
|
and <span class="command"><strong>"relative"</strong></span>.
|
2005-07-19 06:12:24 +00:00
|
|
|
|
The full format is most suitable for processing
|
|
|
|
|
automatically by a separate script.
|
2006-08-31 00:19:52 +00:00
|
|
|
|
On the other hand, the relative format is more
|
2005-07-19 06:12:24 +00:00
|
|
|
|
human-readable and is thus suitable for editing by hand.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
For <span class="command"><strong>named-checkzone</strong></span>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
this does not cause any effects unless it dumps the zone
|
|
|
|
|
contents.
|
|
|
|
|
It also does not have any meaning if the output format
|
|
|
|
|
is not text.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2006-01-06 01:55:39 +00:00
|
|
|
|
<dt><span class="term">-S <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2006-01-06 01:55:39 +00:00
|
|
|
|
Check if a SRV record refers to a CNAME.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible modes are <span class="command"><strong>"fail"</strong></span>,
|
|
|
|
|
<span class="command"><strong>"warn"</strong></span> (default) and
|
|
|
|
|
<span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2007-05-09 03:33:51 +00:00
|
|
|
|
Chroot to <code class="filename">directory</code> so that
|
2005-07-19 06:12:24 +00:00
|
|
|
|
include
|
|
|
|
|
directives in the configuration file are processed as if
|
2015-10-05 21:59:35 -07:00
|
|
|
|
run by a similarly chrooted <span class="command"><strong>named</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2013-04-30 04:23:14 +00:00
|
|
|
|
<dt><span class="term">-T <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2014-09-13 01:05:26 +00:00
|
|
|
|
Check if Sender Policy Framework (SPF) records exist
|
|
|
|
|
and issues a warning if an SPF-formatted TXT record is
|
2015-10-05 21:59:35 -07:00
|
|
|
|
not also present. Possible modes are <span class="command"><strong>"warn"</strong></span>
|
|
|
|
|
(default), <span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
chdir to <code class="filename">directory</code> so that
|
|
|
|
|
relative
|
|
|
|
|
filenames in master file $INCLUDE directives work. This
|
|
|
|
|
is similar to the directory clause in
|
|
|
|
|
<code class="filename">named.conf</code>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-D</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Dump zone file in canonical format.
|
2015-10-05 21:59:35 -07:00
|
|
|
|
This is always enabled for <span class="command"><strong>named-compilezone</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">-W <em class="replaceable"><code>mode</code></em></span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
Specify whether to check for non-terminal wildcards.
|
|
|
|
|
Non-terminal wildcards are almost always the result of a
|
|
|
|
|
failure to understand the wildcard matching algorithm (RFC 1034).
|
2015-10-05 21:59:35 -07:00
|
|
|
|
Possible modes are <span class="command"><strong>"warn"</strong></span> (default)
|
2005-07-19 06:12:24 +00:00
|
|
|
|
and
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<span class="command"><strong>"ignore"</strong></span>.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">zonename</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
The domain name of the zone being checked.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<dt><span class="term">filename</span></dt>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
<dd>
|
|
|
|
|
<p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
The name of the zone file.
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</p>
|
|
|
|
|
</dd>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</dl></div>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="refsection">
|
2016-08-25 01:04:54 +00:00
|
|
|
|
<a name="id-1.14.22.9"></a><h2>RETURN VALUES</h2>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
|
|
|
|
|
<p><span class="command"><strong>named-checkzone</strong></span>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
returns an exit status of 1 if
|
|
|
|
|
errors were detected and 0 otherwise.
|
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="refsection">
|
2016-08-25 01:04:54 +00:00
|
|
|
|
<a name="id-1.14.22.10"></a><h2>SEE ALSO</h2>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
|
|
|
|
|
<p><span class="citerefentry">
|
|
|
|
|
<span class="refentrytitle">named</span>(8)
|
|
|
|
|
</span>,
|
|
|
|
|
<span class="citerefentry">
|
|
|
|
|
<span class="refentrytitle">named-checkconf</span>(8)
|
|
|
|
|
</span>,
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<em class="citetitle">RFC 1035</em>,
|
|
|
|
|
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
|
|
|
|
|
</p>
|
2016-12-07 01:05:34 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="navfooter">
|
|
|
|
|
<hr>
|
|
|
|
|
<table width="100%" summary="Navigation footer">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="40%" align="left">
|
|
|
|
|
<a accesskey="p" href="man.named-checkconf.html">Prev</a><EFBFBD></td>
|
2015-01-09 01:05:02 +00:00
|
|
|
|
<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch13.html">Up</a></td>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<td width="40%" align="right"><EFBFBD><a accesskey="n" href="man.named-journalprint.html">Next</a>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2007-01-26 23:29:04 +00:00
|
|
|
|
<td width="40%" align="left" valign="top">
|
|
|
|
|
<span class="application">named-checkconf</span><EFBFBD></td>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
|
2015-10-05 21:59:35 -07:00
|
|
|
|
<td width="40%" align="right" valign="top"><EFBFBD><span class="application">named-journalprint</span>
|
2007-01-26 23:29:04 +00:00
|
|
|
|
</td>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2016-09-30 14:48:13 +10:00
|
|
|
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.0</p>
|
2005-07-19 06:12:24 +00:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|