dnssec-signzone.html revision 66fec05962ae85e63c4aa568d44a962db5bbc902
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - Copyright (C) 2000-2003 Internet Software Consortium.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - Permission to use, copy, modify, and/or distribute this software for any
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - purpose with or without fee is hereby granted, provided that the above
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - copyright notice and this permission notice appear in all copies.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper - PERFORMANCE OF THIS SOFTWARE.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<!-- $Id: dnssec-signzone.html,v 1.40 2009/09/30 01:14:47 tbox Exp $ -->
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<a name="man.dnssec-signzone"></a><div class="titlepage"></div>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<p><span class="application">dnssec-signzone</span> — DNSSEC zone signing tool</p>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<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">-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>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 <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">-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>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<p><span><strong class="command">dnssec-signzone</strong></span>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper signs a zone. It generates
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper NSEC and RRSIG records and produces a signed version of the
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper zone. The security status of delegations from the signed zone
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper (that is, whether the child zones are secure or not) is
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper determined by the presence or absence of a
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <code class="filename">keyset</code> file for each child zone.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Verify all generated signatures.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Specifies the DNS class of the zone.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Compatibility mode: Generate a
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <code class="filename">keyset-<em class="replaceable"><code>zonename</code></em></code>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper file in addition to
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <code class="filename">dsset-<em class="replaceable"><code>zonename</code></em></code>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper when signing a zone, for use by older versions of
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <span><strong class="command">dnssec-signzone</strong></span>.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Look for <code class="filename">dsset-</code> or
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <code class="filename">keyset-</code> files in <code class="option">directory</code>.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Generate DS records for child zones from
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <code class="filename">dsset-</code> or <code class="filename">keyset-</code>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper file. Existing DS records will be removed.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Key repository: Specify a directory to search for DNSSEC keys.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper If not specified, defaults to the current directory.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-k <em class="replaceable"><code>key</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Treat specified key as a key signing key ignoring any
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper key flags. This option may be specified multiple times.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Generate a DLV set in addition to the key (DNSKEY) and DS sets.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper The domain is appended to the name of the records.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-s <em class="replaceable"><code>start-time</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Specify the date and time when the generated RRSIG records
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper become valid. This can be either an absolute or relative
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper time. An absolute start time is indicated by a number
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper in YYYYMMDDHHMMSS notation; 20000530144500 denotes
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper 14:45:00 UTC on May 30th, 2000. A relative start time is
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper indicated by +N, which is N seconds from the current time.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper If no <code class="option">start-time</code> is specified, the current
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper time minus 1 hour (to allow for clock skew) is used.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-e <em class="replaceable"><code>end-time</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Specify the date and time when the generated RRSIG records
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper expire. As with <code class="option">start-time</code>, an absolute
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper time is indicated in YYYYMMDDHHMMSS notation. A time relative
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper to the start time is indicated with +N, which is N seconds from
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper the start time. A time relative to the current time is
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper indicated with now+N. If no <code class="option">end-time</code> is
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper specified, 30 days from the start time is used as a default.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <code class="option">end-time</code> must be later than
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-f <em class="replaceable"><code>output-file</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper The name of the output file containing the signed zone. The
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper default is to append <code class="filename">.signed</code> to
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper input filename.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper Prints a short summary of the options and arguments to
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <span><strong class="command">dnssec-signzone</strong></span>.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper<dt><span class="term">-i <em class="replaceable"><code>interval</code></em></span></dt>
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper When a previously-signed zone is passed as input, records
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper may be resigned. The <code class="option">interval</code> option
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper specifies the cycle interval as an offset from the current
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper time (in seconds). If a RRSIG record expires after the
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper cycle interval, it is retained. Otherwise, it is considered
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper to be expiring soon, and it will be replaced.
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper The default cycle interval is one quarter of the difference
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper between the signature end and start times. So if neither
80c77071c6700660c39046da32a0d7953620f608Mark de Reeper <code class="option">end-time</code> or <code class="option">start-time</code>
simultaneously. If the zone is incrementally signed, i.e.
i.e. if large numbers of RRSIGs don't expire at the same time
(Kexample.com.+003+17247). The zone's keys must be in the master
Kexample.com.+003+17247