man.dnssec-signzone.html revision e9ed929fd1a190f29391be9c7ae324e7e56ff9c9
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - Copyright (C) 2000-2003 Internet Software Consortium.
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - Permission to use, copy, modify, and/or distribute this software for any
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - purpose with or without fee is hereby granted, provided that the above
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - copyright notice and this permission notice appear in all copies.
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina - PERFORMANCE OF THIS SOFTWARE.
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<link rel="prev" href="man.dnssec-settime.html" title="dnssec-settime">
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<link rel="next" href="man.dnssec-verify.html" title="dnssec-verify">
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina<table width="100%" summary="Navigation header">
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina<tr><th colspan="3" align="center"><span class="application">dnssec-signzone</span></th></tr>
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<a accesskey="p" href="man.dnssec-settime.html">Prev</a>�</td>
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<th width="60%" align="center">Manual pages</th>
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-verify.html">Next</a>
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<a name="man.dnssec-signzone"></a><div class="titlepage"></div>
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<p><span class="application">dnssec-signzone</span> — DNSSEC zone signing tool</p>
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina<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>
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina<p><span><strong class="command">dnssec-signzone</strong></span>
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina signs a zone. It generates
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina NSEC and RRSIG records and produces a signed version of the
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina zone. The security status of delegations from the signed zone
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina (that is, whether the child zones are secure or not) is
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina determined by the presence or absence of a
beeef7f627a5ed9264de25ee4c76eb9620c1c984Pavel Březina <code class="filename">keyset</code> file for each child zone.
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina Verify all generated signatures.
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cbPavel Březina Specifies the DNS class of the zone.
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina Compatibility mode: Generate a
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina <code class="filename">keyset-<em class="replaceable"><code>zonename</code></em></code>
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina file in addition to
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina <code class="filename">dsset-<em class="replaceable"><code>zonename</code></em></code>
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina when signing a zone, for use by older versions of
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina <span><strong class="command">dnssec-signzone</strong></span>.
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45Pavel Březina<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina Look for <code class="filename">dsset-</code> or
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina <code class="filename">keyset-</code> files in <code class="option">directory</code>.
827a016a07d5f911cc4195be89896a376fd71f59Sumit Bose Output only those record types automatically managed by
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina <span><strong class="command">dnssec-signzone</strong></span>, i.e. RRSIG, NSEC,
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina NSEC3 and NSEC3PARAM records. If smart signing
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina (<code class="option">-S</code>) is used, DNSKEY records are also
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina included. The resulting file can be included in the original
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina zone file with <span><strong class="command">$INCLUDE</strong></span>. This option
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina cannot be combined with <code class="option">-O raw</code>,
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina <code class="option">-O map</code>, or serial number updating.
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina<dt><span class="term">-E <em class="replaceable"><code>engine</code></em></span></dt>
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina When applicable, specifies the hardware to use for
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina cryptographic operations, such as a secure key store used
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina When BIND is built with OpenSSL PKCS#11 support, this defaults
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina to the string "pkcs11", which identifies an OpenSSL engine
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina that can drive a cryptographic accelerator or hardware service
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina module. When BIND is built with native PKCS#11 cryptography
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina (--enable-native-pkcs11), it defaults to the path of the PKCS#11
132e477d69e07e02fe6e4d668c0bb6226206474aPavel Březina provider library specified via "--with-pkcs11".
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina Generate DS records for child zones from
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina <code class="filename">dsset-</code> or <code class="filename">keyset-</code>
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina file. Existing DS records will be removed.
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina Key repository: Specify a directory to search for DNSSEC keys.
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina If not specified, defaults to the current directory.
8fe171bf5a7a570591418e6548105f1d5a0097b3Pavel Březina<dt><span class="term">-k <em class="replaceable"><code>key</code></em></span></dt>
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina Treat specified key as a key signing key ignoring any
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina key flags. This option may be specified multiple times.
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina Generate a DLV set in addition to the key (DNSKEY) and DS sets.
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina The domain is appended to the name of the records.
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina<dt><span class="term">-M <em class="replaceable"><code>maxttl</code></em></span></dt>
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina Sets the maximum TTL for the signed zone.
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina Any TTL higher than <em class="replaceable"><code>maxttl</code></em> in the
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina input zone will be reduced to <em class="replaceable"><code>maxttl</code></em>
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina in the output. This provides certainty as to the largest
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina possible TTL in the signed zone, which is useful to know when
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina rolling keys because it is the longest possible time before
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina signatures that have been retrieved by resolvers will expire
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina from resolver caches. Zones that are signed with this
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina option should be configured to use a matching
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina <code class="option">max-zone-ttl</code> in <code class="filename">named.conf</code>.
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina (Note: This option is incompatible with <code class="option">-D</code>,
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina because it modifies non-DNSSEC data in the output zone.)
397bc52dd09a8c032abc7ea47a6d81dba5957464Pavel Březina<dt><span class="term">-s <em class="replaceable"><code>start-time</code></em></span></dt>
b420aae3becdbf501deb2637e2a06636bd6ce1fePavel Březina Specify the date and time when the generated RRSIG records
62ebed8582285bd24efba92b9a06366511507946Pavel Březina become valid. This can be either an absolute or relative
9e9ad4cb181c6c0ec70caacfb31319753f889e98Pavel Březina time. An absolute start time is indicated by a number
62ebed8582285bd24efba92b9a06366511507946Pavel Březina in YYYYMMDDHHMMSS notation; 20000530144500 denotes
c747b0c875785ce693f70b50bdda0237c4b04e35Pavel Březina 14:45:00 UTC on May 30th, 2000. A relative start time is
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina indicated by +N, which is N seconds from the current time.
a1e4113a5388e34c08459c5b69679c82ac2bddc9Pavel Březina If no <code class="option">start-time</code> is specified, the current
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina time minus 1 hour (to allow for clock skew) is used.
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina<dt><span class="term">-e <em class="replaceable"><code>end-time</code></em></span></dt>
d3c82d0170d6d7407549afdadd08aa7e11aeb9a2Pavel Březina Specify the date and time when the generated RRSIG records
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina expire. As with <code class="option">start-time</code>, an absolute
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina time is indicated in YYYYMMDDHHMMSS notation. A time relative
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina to the start time is indicated with +N, which is N seconds from
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina the start time. A time relative to the current time is
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina indicated with now+N. If no <code class="option">end-time</code> is
397bc52dd09a8c032abc7ea47a6d81dba5957464Pavel Březina specified, 30 days from the start time is used as a default.
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina <code class="option">end-time</code> must be later than
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