man.dnssec-signzone.html revision 1e9517ea2156b990be21f44676d3370318eacf17
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen - Copyright (C) 2000-2015 Internet Systems Consortium, Inc. ("ISC")
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen - This Source Code Form is subject to the terms of the Mozilla Public
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen - License, v. 2.0. If a copy of the MPL was not distributed with this
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen - file, You can obtain one at http://mozilla.org/MPL/2.0/.
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<link rel="prev" href="man.dnssec-settime.html" title="dnssec-settime">
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<link rel="next" href="man.dnssec-verify.html" title="dnssec-verify">
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<table width="100%" summary="Navigation header">
c7b464223e6c8d86096a3ded0dc237e835cf04f3Vladimir Kotal<tr><th colspan="3" align="center"><span class="application">dnssec-signzone</span></th></tr>
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<a accesskey="p" href="man.dnssec-settime.html">Prev</a>�</td>
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<th width="60%" align="center">Manual pages</th>
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-verify.html">Next</a>
c1dbb9010d910ca33e270c316ae2b29087dd363eKnut Anders Hatlen<a name="man.dnssec-signzone"></a><div class="titlepage"></div>
c1dbb9010d910ca33e270c316ae2b29087dd363eKnut Anders Hatlen<p><span class="application">dnssec-signzone</span> — DNSSEC zone signing tool</p>
942c8dbffa0065539a9ef9c2ce8877b3d8f068d6Knut Anders Hatlen<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>
942c8dbffa0065539a9ef9c2ce8877b3d8f068d6Knut Anders Hatlen<a name="id-1.14.14.7"></a><h2>DESCRIPTION</h2>
942c8dbffa0065539a9ef9c2ce8877b3d8f068d6Knut Anders Hatlen<p><span class="command"><strong>dnssec-signzone</strong></span>
942c8dbffa0065539a9ef9c2ce8877b3d8f068d6Knut Anders Hatlen signs a zone. It generates
942c8dbffa0065539a9ef9c2ce8877b3d8f068d6Knut Anders Hatlen NSEC and RRSIG records and produces a signed version of the
942c8dbffa0065539a9ef9c2ce8877b3d8f068d6Knut Anders Hatlen zone. The security status of delegations from the signed zone
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen (that is, whether the child zones are secure or not) is
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen determined by the presence or absence of a
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen <code class="filename">keyset</code> file for each child zone.
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<a name="id-1.14.14.8"></a><h2>OPTIONS</h2>
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen<div class="variablelist"><dl class="variablelist">
d24a9214dae296ad7917a4a078c7743b6a66ff96Knut Anders Hatlen Verify all generated signatures.
4cbb84cb7daca3facdd991121b5a8ec50f1c4b56Knut Anders Hatlen<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
d24a9214dae296ad7917a4a078c7743b6a66ff96Knut Anders Hatlen Specifies the DNS class of the zone.
3580f8afb664008006cd7106f2e5db9f9e20d566Knut Anders Hatlen Compatibility mode: Generate a
ff5eba819da0cf7964d884630fb13262ef12c505Trond Norbye <code class="filename">keyset-<em class="replaceable"><code>zonename</code></em></code>
ccfb4896895e9edd53936309153b1540b35a7062Trond Norbye file in addition to
3580f8afb664008006cd7106f2e5db9f9e20d566Knut Anders Hatlen <code class="filename">dsset-<em class="replaceable"><code>zonename</code></em></code>
4cbb84cb7daca3facdd991121b5a8ec50f1c4b56Knut Anders Hatlen when signing a zone, for use by older versions of
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen <span class="command"><strong>dnssec-signzone</strong></span>.
c1dbb9010d910ca33e270c316ae2b29087dd363eKnut Anders Hatlen<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen Look for <code class="filename">dsset-</code> or
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen <code class="filename">keyset-</code> files in <code class="option">directory</code>.
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen Output only those record types automatically managed by
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen <span class="command"><strong>dnssec-signzone</strong></span>, i.e. RRSIG, NSEC,
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen NSEC3 and NSEC3PARAM records. If smart signing
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen (<code class="option">-S</code>) is used, DNSKEY records are also
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen included. The resulting file can be included in the original
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen zone file with <span class="command"><strong>$INCLUDE</strong></span>. This option
2e87d0dbfa36805080fca78d8151b6004cd8446eKnut Anders Hatlen cannot be combined with <code class="option">-O raw</code>,
1ef6e1cfe57d5dc9b0cd9e824276b3a19105e944Knut Anders Hatlen <code class="option">-O map</code>, or serial number updating.
302118fb827d32e9106cef0b68070de57084c5d3Knut Anders Hatlen<dt><span class="term">-E <em class="replaceable"><code>engine</code></em></span></dt>
302118fb827d32e9106cef0b68070de57084c5d3Knut Anders Hatlen When applicable, specifies the hardware to use for
1ef6e1cfe57d5dc9b0cd9e824276b3a19105e944Knut Anders Hatlen cryptographic operations, such as a secure key store used
3847b804ccccc0056765e3fb09cd5dfdae277f74Knut Anders Hatlen When BIND is built with OpenSSL PKCS#11 support, this defaults
3847b804ccccc0056765e3fb09cd5dfdae277f74Knut Anders Hatlen to the string "pkcs11", which identifies an OpenSSL engine
3847b804ccccc0056765e3fb09cd5dfdae277f74Knut Anders Hatlen that can drive a cryptographic accelerator or hardware service
3847b804ccccc0056765e3fb09cd5dfdae277f74Knut Anders Hatlen module. When BIND is built with native PKCS#11 cryptography
3847b804ccccc0056765e3fb09cd5dfdae277f74Knut Anders Hatlen (--enable-native-pkcs11), it defaults to the path of the PKCS#11
3847b804ccccc0056765e3fb09cd5dfdae277f74Knut Anders Hatlen provider library specified via "--with-pkcs11".
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen Generate DS records for child zones from
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen <code class="filename">dsset-</code> or <code class="filename">keyset-</code>
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen file. Existing DS records will be removed.
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen Key repository: Specify a directory to search for DNSSEC keys.
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen If not specified, defaults to the current directory.
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen<dt><span class="term">-k <em class="replaceable"><code>key</code></em></span></dt>
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen Treat specified key as a key signing key ignoring any
294f126b656980ac28642f891316aa0456259f63Knut Anders Hatlen key flags. This option may be specified multiple times.
e86a65c17e246162f3a09c4ce48c849cfb21d284Knut Anders Hatlen<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
e86a65c17e246162f3a09c4ce48c849cfb21d284Knut Anders Hatlen Generate a DLV set in addition to the key (DNSKEY) and DS sets.
e86a65c17e246162f3a09c4ce48c849cfb21d284Knut Anders Hatlen The domain is appended to the name of the records.
e86a65c17e246162f3a09c4ce48c849cfb21d284Knut Anders Hatlen<dt><span class="term">-M <em class="replaceable"><code>maxttl</code></em></span></dt>
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen Sets the maximum TTL for the signed zone.
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen Any TTL higher than <em class="replaceable"><code>maxttl</code></em> in the
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen input zone will be reduced to <em class="replaceable"><code>maxttl</code></em>
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen in the output. This provides certainty as to the largest
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen possible TTL in the signed zone, which is useful to know when
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen rolling keys because it is the longest possible time before
f4216ce32e4859fd256a197d10d19a0fdb9f468cKnut Anders Hatlen signatures that have been retrieved by resolvers will expire
c7b464223e6c8d86096a3ded0dc237e835cf04f3Vladimir Kotal from resolver caches. Zones that are signed with this
c7b464223e6c8d86096a3ded0dc237e835cf04f3Vladimir Kotal option should be configured to use a matching
c7b464223e6c8d86096a3ded0dc237e835cf04f3Vladimir Kotal <code class="option">max-zone-ttl</code> in <code class="filename">named.conf</code>.
c7b464223e6c8d86096a3ded0dc237e835cf04f3Vladimir Kotal (Note: This option is incompatible with <code class="option">-D</code>,
ebb9f739bca3bc9382340b628554b484e4837d6aKnut Anders Hatlen because it modifies non-DNSSEC data in the output zone.)
signatures on other records; e.g., when the private component
<span class="command"><strong>"raw"</strong></span>, and <span class="command"><strong>"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 class="command"><strong>"increment"</strong></span>, <span class="command"><strong>"unixtime"</strong></span>,
and <span class="command"><strong>"map"</strong></span>, <span class="command"><strong>"raw"</strong></span>,
Kexample.com.+003+17247