man.dnssec-signzone.html revision 233da446071f469f0f2fc175a460b2f1f8ef36cc
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - Copyright (C) 2000-2003 Internet Software Consortium.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - Permission to use, copy, modify, and/or distribute this software for any
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - purpose with or without fee is hereby granted, provided that the above
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - copyright notice and this permission notice appear in all copies.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User - PERFORMANCE OF THIS SOFTWARE.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="prev" href="man.dnssec-settime.html" title="dnssec-settime">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<link rel="next" href="man.dnssec-verify.html" title="dnssec-verify">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<table width="100%" summary="Navigation header">
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<tr><th colspan="3" align="center"><span class="application">dnssec-signzone</span></th></tr>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<a accesskey="p" href="man.dnssec-settime.html">Prev</a>�</td>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<th width="60%" align="center">Manual pages</th>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-verify.html">Next</a>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<a name="man.dnssec-signzone"></a><div class="titlepage"></div>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<p><span class="application">dnssec-signzone</span> — DNSSEC zone signing tool</p>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<div class="cmdsynopsis"><p><code class="command">dnssec-signzone</code> [<code class="option">-a</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>] [<code class="option">-e <em class="replaceable"><code>end-time</code></em></code>] [<code class="option">-f <em class="replaceable"><code>output-file</code></em></code>] [<code class="option">-g</code>] [<code class="option">-h</code>] [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-k <em class="replaceable"><code>key</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-M <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>] [<code class="option">-I <em class="replaceable"><code>input-format</code></em></code>] [<code class="option">-j <em class="replaceable"><code>jitter</code></em></code>] [<code class="option">-N <em class="replaceable"><code>soa-serial-format</code></em></code>] [<code class="option">-o <em class="replaceable"><code>origin</code></em></code>] [<code class="option">-O <em class="replaceable"><code>output-format</code></em></code>] [<code class="option">-P</code>] [<code class="option">-p</code>] [<code class="option">-Q</code>] [<code class="option">-R</code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-S</code>] [<code class="option">-s <em class="replaceable"><code>start-time</code></em></code>] [<code class="option">-T <em class="replaceable"><code>ttl</code></em></code>] [<code class="option">-t</code>] [<code class="option">-u</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-V</code>] [<code class="option">-X <em class="replaceable"><code>extended end-time</code></em></code>] [<code class="option">-x</code>] [<code class="option">-z</code>] [<code class="option">-3 <em class="replaceable"><code>salt</code></em></code>] [<code class="option">-H <em class="replaceable"><code>iterations</code></em></code>] [<code class="option">-A</code>] {zonefile} [key...]</p></div>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<p><span><strong class="command">dnssec-signzone</strong></span>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User signs a zone. It generates
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User NSEC and RRSIG records and produces a signed version of the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User zone. The security status of delegations from the signed zone
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User (that is, whether the child zones are secure or not) is
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User determined by the presence or absence of a
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <code class="filename">keyset</code> file for each child zone.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Verify all generated signatures.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Specifies the DNS class of the zone.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Compatibility mode: Generate a
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <code class="filename">keyset-<em class="replaceable"><code>zonename</code></em></code>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User file in addition to
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <code class="filename">dsset-<em class="replaceable"><code>zonename</code></em></code>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User when signing a zone, for use by older versions of
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">dnssec-signzone</strong></span>.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Look for <code class="filename">dsset-</code> or
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <code class="filename">keyset-</code> files in <code class="option">directory</code>.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Output only those record types automatically managed by
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <span><strong class="command">dnssec-signzone</strong></span>, i.e. RRSIG, NSEC,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User NSEC3 and NSEC3PARAM records. If smart signing
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt (<code class="option">-S</code>) is used, DNSKEY records are also
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User included. The resulting file can be included in the original
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User zone file with <span><strong class="command">$INCLUDE</strong></span>. This option
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt cannot be combined with <code class="option">-O raw</code>,
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <code class="option">-O map</code>, or serial number updating.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<dt><span class="term">-E <em class="replaceable"><code>engine</code></em></span></dt>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt When applicable, specifies the hardware to use for
ad8f23aed6c75f94f238c1f23f4e17515d28eb55Tinderbox User cryptographic operations, such as a secure key store used
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User When BIND is built with OpenSSL PKCS#11 support, this defaults
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User to the string "pkcs11", which identifies an OpenSSL engine
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User that can drive a cryptographic accelerator or hardware service
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User module. When BIND is built with native PKCS#11 cryptography
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User (--enable-native-pkcs11), it defaults to the path of the PKCS#11
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User provider library specified via "--with-pkcs11".
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Generate DS records for child zones from
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User <code class="filename">dsset-</code> or <code class="filename">keyset-</code>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User file. Existing DS records will be removed.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Key repository: Specify a directory to search for DNSSEC keys.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User If not specified, defaults to the current directory.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-k <em class="replaceable"><code>key</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Treat specified key as a key signing key ignoring any
10b865e9187fc77cae02f106ddcc9e03eecdfe06Tinderbox User key flags. This option may be specified multiple times.
10b865e9187fc77cae02f106ddcc9e03eecdfe06Tinderbox User<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Generate a DLV set in addition to the key (DNSKEY) and DS sets.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User The domain is appended to the name of the records.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-M <em class="replaceable"><code>maxttl</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Sets the maximum TTL for the signed zone.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Any TTL higher than <em class="replaceable"><code>maxttl</code></em> in the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User input zone will be reduced to <em class="replaceable"><code>maxttl</code></em>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User in the output. This provides certainty as to the largest
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt possible TTL in the signed zone, which is useful to know when
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt rolling keys because it is the longest possible time before
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt signatures that have been retrieved by resolvers will expire
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt from resolver caches. Zones that are signed with this
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt option should be configured to use a matching
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <code class="option">max-zone-ttl</code> in <code class="filename">named.conf</code>.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt (Note: This option is incompatible with <code class="option">-D</code>,
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt because it modifies non-DNSSEC data in the output zone.)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<dt><span class="term">-s <em class="replaceable"><code>start-time</code></em></span></dt>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Specify the date and time when the generated RRSIG records
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt become valid. This can be either an absolute or relative
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt time. An absolute start time is indicated by a number
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt in YYYYMMDDHHMMSS notation; 20000530144500 denotes
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt 14:45:00 UTC on May 30th, 2000. A relative start time is
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt indicated by +N, which is N seconds from the current time.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt If no <code class="option">start-time</code> is specified, the current
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt time minus 1 hour (to allow for clock skew) is used.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<dt><span class="term">-e <em class="replaceable"><code>end-time</code></em></span></dt>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt Specify the date and time when the generated RRSIG records
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt expire. As with <code class="option">start-time</code>, an absolute
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt time is indicated in YYYYMMDDHHMMSS notation. A time relative
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt to the start time is indicated with +N, which is N seconds from
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt the start time. A time relative to the current time is
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt indicated with now+N. If no <code class="option">end-time</code> is
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt specified, 30 days from the start time is used as a default.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <code class="option">end-time</code> must be later than
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User<dt><span class="term">-X <em class="replaceable"><code>extended end-time</code></em></span></dt>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User Specify the date and time when the generated RRSIG records
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User for the DNSKEY RRset will expire. This is to be used in cases
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User when the DNSKEY signatures need to persist longer than
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User signatures on other records; e.g., when the private component
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User of the KSK is kept offline and the KSK signature is to be
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User refreshed manually.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User As with <code class="option">start-time</code>, an absolute
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User time is indicated in YYYYMMDDHHMMSS notation. A time relative
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User to the start time is indicated with +N, which is N seconds from
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User the start time. A time relative to the current time is
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User indicated with now+N. If no <code class="option">extended end-time</code> is
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User specified, the value of <code class="option">end-time</code> is used as
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt the default. (<code class="option">end-time</code>, in turn, defaults to
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User 30 days from the start time.) <code class="option">extended end-time</code>
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User must be later than <code class="option">start-time</code>.
<span><strong class="command">"raw"</strong></span>, and <span><strong class="command">"map"</strong></span>.
simultaneously. If the zone is incrementally signed, i.e.
i.e. if large numbers of RRSIGs don't expire at the same time
<span><strong class="command">"increment"</strong></span>, <span><strong class="command">"unixtime"</strong></span>,
and <span><strong class="command">"map"</strong></span>, <span><strong class="command">"raw"</strong></span>,
Kexample.com.+003+17247