man.dnssec-signzone.html revision c0cbdeedb5e119c640f098da1851cb1b9adcc739
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen - Copyright (C) 2000-2003 Internet Software Consortium.
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen - Permission to use, copy, modify, and/or distribute this software for any
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen - purpose with or without fee is hereby granted, provided that the above
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen - copyright notice and this permission notice appear in all copies.
3e0bae44b65f5c46989fcef3d1e07203f496327eTimo Sirainen - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
3e0bae44b65f5c46989fcef3d1e07203f496327eTimo Sirainen - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3e0bae44b65f5c46989fcef3d1e07203f496327eTimo Sirainen - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
3e0bae44b65f5c46989fcef3d1e07203f496327eTimo Sirainen - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3e0bae44b65f5c46989fcef3d1e07203f496327eTimo Sirainen - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
3e0bae44b65f5c46989fcef3d1e07203f496327eTimo Sirainen - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen - PERFORMANCE OF THIS SOFTWARE.
7fd51f7b0b4d990ec3cfef4e60ee685bf9fb32deTimo Sirainen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
eb64c3586d854cddd693f0b811d897399076a441Timo Sirainen<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
eb64c3586d854cddd693f0b811d897399076a441Timo Sirainen<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
eb64c3586d854cddd693f0b811d897399076a441Timo Sirainen<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
296dca49e4fe6046e0328c67ef1cf4b8077dec9cTimo Sirainen<link rel="prev" href="man.dnssec-settime.html" title="dnssec-settime">
eb64c3586d854cddd693f0b811d897399076a441Timo Sirainen<link rel="next" href="man.dnssec-verify.html" title="dnssec-verify">
eb64c3586d854cddd693f0b811d897399076a441Timo Sirainen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
eb64c3586d854cddd693f0b811d897399076a441Timo Sirainen<table width="100%" summary="Navigation header">
32e1554df9abca74fef0af2ba2e4c37e90a06cd0Timo Sirainen<tr><th colspan="3" align="center"><span class="application">dnssec-signzone</span></th></tr>
a988c3fd9251806e38931a011aaa4006dd081cbdTimo Sirainen<a accesskey="p" href="man.dnssec-settime.html">Prev</a>�</td>
16db188cfddce117500a161302f17ae691b4500eTimo Sirainen<th width="60%" align="center">Manual pages</th>
b337d3b6871b878d6467d7d8ed600433af5da5a1Timo Sirainen<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-verify.html">Next</a>
16db188cfddce117500a161302f17ae691b4500eTimo Sirainen<a name="man.dnssec-signzone"></a><div class="titlepage"></div>
296dca49e4fe6046e0328c67ef1cf4b8077dec9cTimo Sirainen<p><span class="application">dnssec-signzone</span> — DNSSEC zone signing tool</p>
6145bd3b17b9135b77b0b42409a0cc3fa0d1b946Timo Sirainen<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>
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen<p><span><strong class="command">dnssec-signzone</strong></span>
67c47dbb3fde79218320fd38a45c33f61bbf3012Timo Sirainen signs a zone. It generates
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen NSEC and RRSIG records and produces a signed version of the
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen zone. The security status of delegations from the signed zone
af3f857bb3166ed99595e11a9d18e5b5cc670e1aTimo Sirainen (that is, whether the child zones are secure or not) is
af3f857bb3166ed99595e11a9d18e5b5cc670e1aTimo Sirainen determined by the presence or absence of a
af3f857bb3166ed99595e11a9d18e5b5cc670e1aTimo Sirainen <code class="filename">keyset</code> file for each child zone.
67c47dbb3fde79218320fd38a45c33f61bbf3012Timo Sirainen Verify all generated signatures.
c58906589cafc32df4c04ffbef933baadd3f2276Timo Sirainen<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen Specifies the DNS class of the zone.
abed24374d7e1a57bec8d8a108acfcaffd52d4f9Timo Sirainen Compatibility mode: Generate a
6145bd3b17b9135b77b0b42409a0cc3fa0d1b946Timo Sirainen <code class="filename">keyset-<em class="replaceable"><code>zonename</code></em></code>
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen file in addition to
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen <code class="filename">dsset-<em class="replaceable"><code>zonename</code></em></code>
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen when signing a zone, for use by older versions of
d9250ee7e2815bb2116134b58f7c860578148d6cTimo Sirainen <span><strong class="command">dnssec-signzone</strong></span>.
092018b35bb1dc5bd61848a38189fe6ac8f791ddTimo Sirainen<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
7327394e30c1020b9a2a49c72a7e3d0f7803e680Timo Sirainen Look for <code class="filename">dsset-</code> or
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen <code class="filename">keyset-</code> files in <code class="option">directory</code>.
6145bd3b17b9135b77b0b42409a0cc3fa0d1b946Timo Sirainen Output only those record types automatically managed by
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen <span><strong class="command">dnssec-signzone</strong></span>, i.e. RRSIG, NSEC,
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen NSEC3 and NSEC3PARAM records. If smart signing
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen (<code class="option">-S</code>) is used, DNSKEY records are also
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen included. The resulting file can be included in the original
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen zone file with <span><strong class="command">$INCLUDE</strong></span>. This option
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen cannot be combined with <code class="option">-O raw</code>,
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen <code class="option">-O map</code>, or serial number updating.
c8cf8a605e0ddea7cb36fe04551aeca5090e684bTimo Sirainen<dt><span class="term">-E <em class="replaceable"><code>engine</code></em></span></dt>
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen When applicable, specifies the hardware to use for
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen cryptographic operations, such as a secure key store used
c0a87e5f3316a57e6f915882fa1951d0fbb74a61Timo Sirainen When BIND is built with OpenSSL PKCS#11 support, this defaults
14376e0584c178306c400750352869cf2aaf6feeTimo Sirainen to the string "pkcs11", which identifies an OpenSSL engine
c0a87e5f3316a57e6f915882fa1951d0fbb74a61Timo Sirainen that can drive a cryptographic accelerator or hardware service
68a4946b12583b88fa802e52ebee45cd96056772Timo Sirainen module. When BIND is built with native PKCS#11 cryptography
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen (--enable-native-pkcs11), it defaults to the path of the PKCS#11
9b706b345064ce8e8a657f54633f009a101298eaTimo Sirainen provider library specified via "--with-pkcs11".
9b706b345064ce8e8a657f54633f009a101298eaTimo Sirainen Generate DS records for child zones from
288d6ef592719f2be3cad9f034e9be05f9839785Timo Sirainen <code class="filename">dsset-</code> or <code class="filename">keyset-</code>
288d6ef592719f2be3cad9f034e9be05f9839785Timo Sirainen file. Existing DS records will be removed.
288d6ef592719f2be3cad9f034e9be05f9839785Timo Sirainen<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
9b706b345064ce8e8a657f54633f009a101298eaTimo Sirainen Key repository: Specify a directory to search for DNSSEC keys.
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen If not specified, defaults to the current directory.
c0a87e5f3316a57e6f915882fa1951d0fbb74a61Timo Sirainen<dt><span class="term">-k <em class="replaceable"><code>key</code></em></span></dt>
9b706b345064ce8e8a657f54633f009a101298eaTimo Sirainen Treat specified key as a key signing key ignoring any
32e1554df9abca74fef0af2ba2e4c37e90a06cd0Timo Sirainen key flags. This option may be specified multiple times.
c0a87e5f3316a57e6f915882fa1951d0fbb74a61Timo Sirainen<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
9b706b345064ce8e8a657f54633f009a101298eaTimo Sirainen Generate a DLV set in addition to the key (DNSKEY) and DS sets.
a988c3fd9251806e38931a011aaa4006dd081cbdTimo Sirainen The domain is appended to the name of the records.
c0a87e5f3316a57e6f915882fa1951d0fbb74a61Timo Sirainen<dt><span class="term">-M <em class="replaceable"><code>maxttl</code></em></span></dt>
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen Sets the maximum TTL for the signed zone.
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen Any TTL higher than <em class="replaceable"><code>maxttl</code></em> in the
9874ad56b94788297fdac4eae7cba5d651b48222Timo Sirainen input zone will be reduced to <em class="replaceable"><code>maxttl</code></em>
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen in the output. This provides certainty as to the largest
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen possible TTL in the signed zone, which is useful to know when
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen rolling keys because it is the longest possible time before
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen signatures that have been retrieved by resolvers will expire
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen from resolver caches. Zones that are signed with this
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen option should be configured to use a matching
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen <code class="option">max-zone-ttl</code> in <code class="filename">named.conf</code>.
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen (Note: This option is incompatible with <code class="option">-D</code>,
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen because it modifies non-DNSSEC data in the output zone.)
2615df45a8027948a474abe5e817b34b0499c171Timo Sirainen<dt><span class="term">-s <em class="replaceable"><code>start-time</code></em></span></dt>
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen Specify the date and time when the generated RRSIG records
signatures on other records; e.g., when the private component
<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