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