dnssec-signzone.html revision dba3c818ae00b10388d31703e86a28415db398ac
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - Copyright (C) 2004-2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence - Copyright (C) 2000-2003 Internet Software Consortium.
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - Permission to use, copy, modify, and/or distribute this software for any
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - purpose with or without fee is hereby granted, provided that the above
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - copyright notice and this permission notice appear in all copies.
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley - PERFORMANCE OF THIS SOFTWARE.
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley<!-- $Id$ -->
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<a name="man.dnssec-signzone"></a><div class="titlepage"></div>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<p><span class="application">dnssec-signzone</span> — DNSSEC zone signing tool</p>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<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">-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">-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">-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>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<p><span><strong class="command">dnssec-signzone</strong></span>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence signs a zone. It generates
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley NSEC and RRSIG records and produces a signed version of the
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley zone. The security status of delegations from the signed zone
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence (that is, whether the child zones are secure or not) is
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence determined by the presence or absence of a
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence <code class="filename">keyset</code> file for each child zone.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Verify all generated signatures.
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence Specifies the DNS class of the zone.
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence Compatibility mode: Generate a
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence <code class="filename">keyset-<em class="replaceable"><code>zonename</code></em></code>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence file in addition to
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <code class="filename">dsset-<em class="replaceable"><code>zonename</code></em></code>
c32b87bc54abacf95fb3b063d72b7d1855c1643bMichael Graff when signing a zone, for use by older versions of
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence <span><strong class="command">dnssec-signzone</strong></span>.
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence Look for <code class="filename">dsset-</code> or
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <code class="filename">keyset-</code> files in <code class="option">directory</code>.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Output only those record types automatically managed by
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <span><strong class="command">dnssec-signzone</strong></span>, i.e. RRSIG, NSEC,
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley NSEC3 and NSEC3PARAM records. If smart signing
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley (<code class="option">-S</code>) is used, DNSKEY records are also
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley included. The resulting file can be included in the original
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley zone file with <span><strong class="command">$INCLUDE</strong></span>. This option
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley cannot be combined with <code class="option">-O raw</code>,
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <code class="option">-O fast</code>, or serial number updating.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<dt><span class="term">-E <em class="replaceable"><code>engine</code></em></span></dt>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Uses a crypto hardware (OpenSSL engine) for the crypto operations
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley it supports, for instance signing with private keys from
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley a secure key store. When compiled with PKCS#11 support
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley it defaults to pkcs11; the empty name resets it to no engine.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Generate DS records for child zones from
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <code class="filename">dsset-</code> or <code class="filename">keyset-</code>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley file. Existing DS records will be removed.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Key repository: Specify a directory to search for DNSSEC keys.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley If not specified, defaults to the current directory.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<dt><span class="term">-k <em class="replaceable"><code>key</code></em></span></dt>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Treat specified key as a key signing key ignoring any
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley key flags. This option may be specified multiple times.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Generate a DLV set in addition to the key (DNSKEY) and DS sets.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley The domain is appended to the name of the records.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<dt><span class="term">-s <em class="replaceable"><code>start-time</code></em></span></dt>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Specify the date and time when the generated RRSIG records
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley become valid. This can be either an absolute or relative
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley time. An absolute start time is indicated by a number
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley in YYYYMMDDHHMMSS notation; 20000530144500 denotes
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley 14:45:00 UTC on May 30th, 2000. A relative start time is
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley indicated by +N, which is N seconds from the current time.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley If no <code class="option">start-time</code> is specified, the current
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley time minus 1 hour (to allow for clock skew) is used.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<dt><span class="term">-e <em class="replaceable"><code>end-time</code></em></span></dt>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley Specify the date and time when the generated RRSIG records
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley expire. As with <code class="option">start-time</code>, an absolute
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley time is indicated in YYYYMMDDHHMMSS notation. A time relative
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley to the start time is indicated with +N, which is N seconds from
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley the start time. A time relative to the current time is
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley indicated with now+N. If no <code class="option">end-time</code> is
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley specified, 30 days from the start time is used as a default.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley <code class="option">end-time</code> must be later than
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley<dt><span class="term">-X <em class="replaceable"><code>extended end-time</code></em></span></dt>
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley 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">"fast"</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
and <span><strong class="command">"fast"</strong></span>, <span><strong class="command">"raw"</strong></span>,
Kexample.com.+003+17247