dnssec-signzone.html revision c52dde922980a55e22f6f9f9f97544922a9d67f8
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux - Copyright (C) 2000-2009, 2011-2017 Internet Systems Consortium, Inc. ("ISC")
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux - This Source Code Form is subject to the terms of the Mozilla Public
1a71e5db977570fb40ad8689ee7a31ecc7540f11mental - License, v. 2.0. If a copy of the MPL was not distributed with this
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz - file, You can obtain one at http://mozilla.org/MPL/2.0/.
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<a name="man.dnssec-signzone"></a><div class="titlepage"></div>
1a71e5db977570fb40ad8689ee7a31ecc7540f11mental — DNSSEC zone signing tool
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux [<code class="option">-c <em class="replaceable"><code>class</code></em></code>]
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux [<code class="option">-d <em class="replaceable"><code>directory</code></em></code>]
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux [<code class="option">-E <em class="replaceable"><code>engine</code></em></code>]
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux [<code class="option">-e <em class="replaceable"><code>end-time</code></em></code>]
a2e796b608034e2c62290378d713058b8b58ef8fMarkus Engel [<code class="option">-f <em class="replaceable"><code>output-file</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>]
54ad9fc9cd6da88557d0dcd6c17eb47c7bbb5551Markus Engel [<code class="option">-I <em class="replaceable"><code>input-format</code></em></code>]
7ab987fc3c5f568cfe40eccfe8a4f4ecc8c0006cMarkus Engel [<code class="option">-j <em class="replaceable"><code>jitter</code></em></code>]
7ab987fc3c5f568cfe40eccfe8a4f4ecc8c0006cMarkus Engel [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-k <em class="replaceable"><code>key</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-M <em class="replaceable"><code>maxttl</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-N <em class="replaceable"><code>soa-serial-format</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-o <em class="replaceable"><code>origin</code></em></code>]
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux [<code class="option">-O <em class="replaceable"><code>output-format</code></em></code>]
a2e796b608034e2c62290378d713058b8b58ef8fMarkus Engel [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-s <em class="replaceable"><code>start-time</code></em></code>]
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz [<code class="option">-T <em class="replaceable"><code>ttl</code></em></code>]
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz [<code class="option">-v <em class="replaceable"><code>level</code></em></code>]
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux [<code class="option">-X <em class="replaceable"><code>extended end-time</code></em></code>]
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux [<code class="option">-3 <em class="replaceable"><code>salt</code></em></code>]
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel [<code class="option">-H <em class="replaceable"><code>iterations</code></em></code>]
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux <p><span class="command"><strong>dnssec-signzone</strong></span>
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux signs a zone. It generates
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux NSEC and RRSIG records and produces a signed version of the
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux zone. The security status of delegations from the signed zone
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux (that is, whether the child zones are secure or not) is
51dc158adbe2c9d1df3c941cbf78b90944d1afc2Markus Engel determined by the presence or absence of a
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel <code class="filename">keyset</code> file for each child zone.
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel <div class="variablelist"><dl class="variablelist">
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel Verify all generated signatures.
51dc158adbe2c9d1df3c941cbf78b90944d1afc2Markus Engel<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux Specifies the DNS class of the zone.
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux Compatibility mode: Generate a
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux <code class="filename">keyset-<em class="replaceable"><code>zonename</code></em></code>
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux file in addition to
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux <code class="filename">dsset-<em class="replaceable"><code>zonename</code></em></code>
5c85d657aed31c86ec1d89f03f56960bdb4d6df6bryce when signing a zone, for use by older versions of
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux <span class="command"><strong>dnssec-signzone</strong></span>.
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
8a0a34615f080ecd1c09986d8963d6afe5937a25Jon A. Cruz <code class="filename">keyset-</code> files in <code class="option">directory</code>.
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux Output only those record types automatically managed by
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel <span class="command"><strong>dnssec-signzone</strong></span>, i.e. RRSIG, NSEC,
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux NSEC3 and NSEC3PARAM records. If smart signing
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux (<code class="option">-S</code>) is used, DNSKEY records are also
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel included. The resulting file can be included in the original
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux zone file with <span class="command"><strong>$INCLUDE</strong></span>. This option
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux cannot be combined with <code class="option">-O raw</code>,
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux <code class="option">-O map</code>, or serial number updating.
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<dt><span class="term">-E <em class="replaceable"><code>engine</code></em></span></dt>
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux When applicable, specifies the hardware to use for
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel cryptographic operations, such as a secure key store used
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel for signing.
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel When BIND is built with OpenSSL PKCS#11 support, this defaults
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel to the string "pkcs11", which identifies an OpenSSL engine
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux that can drive a cryptographic accelerator or hardware service
470cc275d97606f1c400867ef00fd79fbf349b66Markus Engel module. When BIND is built with native PKCS#11 cryptography
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux (--enable-native-pkcs11), it defaults to the path of the PKCS#11
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux provider library specified via "--with-pkcs11".
d1bde559850436556ebee2e70e10f1cfc8aff636Krzysztof Kosiński Generate DS records for child zones from
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux <code class="filename">dsset-</code> or <code class="filename">keyset-</code>
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux file. Existing DS records will be removed.
35e0418c921e7057987f57ba30ba95ec5e03c9e5knutux<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz Key repository: Specify a directory to search for DNSSEC keys.
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz If not specified, defaults to the current directory.
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz<dt><span class="term">-k <em class="replaceable"><code>key</code></em></span></dt>
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz Treat specified key as a key signing key ignoring any
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz key flags. This option may be specified multiple times.
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