dnssec-dsfromkey.docbook revision 3813d22587681c16ad3a85a6e684558182aeb9f9
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
f6a6245816cd866361da8c576b1f47c7a54b6610fanf "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj [<!ENTITY mdash "—">]>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj - Copyright (C) 2008-2012, 2014 Internet Systems Consortium, Inc. ("ISC")
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj - Permission to use, copy, modify, and/or distribute this software for any
3304cbd819df02e7548e9338dc0afa8d3ba29358manoj - purpose with or without fee is hereby granted, provided that the above
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj - copyright notice and this permission notice appear in all copies.
f6a6245816cd866361da8c576b1f47c7a54b6610fanf - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard - PERFORMANCE OF THIS SOFTWARE.
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard <refentryinfo>
2aae6faee508221efbeaba5547ca79b7a20ef047stoddard </refentryinfo>
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet <refentrytitle><application>dnssec-dsfromkey</application></refentrytitle>
75960f20f88dad6bc67892c711c429946063d133stoddard <refnamediv>
4065b438067f3f08d0bd98b31ac4085b581b931dstoddard <refname><application>dnssec-dsfromkey</application></refname>
4065b438067f3f08d0bd98b31ac4085b581b931dstoddard <refpurpose>DNSSEC DS RR generation tool</refpurpose>
2739add8add66e21526ce27f83c2ae133d089070rbb </refnamediv>
211bf1d44f4653bf753a15740cd5ebbf330b6e93manoj <copyright>
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard </copyright>
75960f20f88dad6bc67892c711c429946063d133stoddard <refsynopsisdiv>
75960f20f88dad6bc67892c711c429946063d133stoddard <cmdsynopsis>
75960f20f88dad6bc67892c711c429946063d133stoddard <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
75960f20f88dad6bc67892c711c429946063d133stoddard <arg><option>-a <replaceable class="parameter">alg</replaceable></option></arg>
75960f20f88dad6bc67892c711c429946063d133stoddard <arg><option>-l <replaceable class="parameter">domain</replaceable></option></arg>
75960f20f88dad6bc67892c711c429946063d133stoddard <arg><option>-T <replaceable class="parameter">TTL</replaceable></option></arg>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj </cmdsynopsis>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj <cmdsynopsis>
56ca30c968906053ae61acb218420667bb58d996rbb <arg><option>-a <replaceable class="parameter">alg</replaceable></option></arg>
56ca30c968906053ae61acb218420667bb58d996rbb <arg><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj <arg><option>-l <replaceable class="parameter">domain</replaceable></option></arg>
f6a6245816cd866361da8c576b1f47c7a54b6610fanf <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj <arg><option>-T <replaceable class="parameter">TTL</replaceable></option></arg>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj <arg><option>-f <replaceable class="parameter">file</replaceable></option></arg>
8de99b4c89d4ed4292a7dca42dd8a96b9a7c456fdgaudet <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
8de99b4c89d4ed4292a7dca42dd8a96b9a7c456fdgaudet </cmdsynopsis>
8de99b4c89d4ed4292a7dca42dd8a96b9a7c456fdgaudet <cmdsynopsis>
8de99b4c89d4ed4292a7dca42dd8a96b9a7c456fdgaudet </cmdsynopsis>
8de99b4c89d4ed4292a7dca42dd8a96b9a7c456fdgaudet </refsynopsisdiv>
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet outputs the Delegation Signer (DS) resource record (RR), as defined in
6686c651e8eb6ad762b842ad5139515c8038dd44dgaudet RFC 3658 and RFC 4509, for the given key(s).
6686c651e8eb6ad762b842ad5139515c8038dd44dgaudet </refsect1>
8de99b4c89d4ed4292a7dca42dd8a96b9a7c456fdgaudet <variablelist>
0b0a5225c5ed94b9f689839a14842ad4a24215e9dgaudet <varlistentry>
0b0a5225c5ed94b9f689839a14842ad4a24215e9dgaudet Use SHA-1 as the digest algorithm (the default is to use
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard both SHA-1 and SHA-256).
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard </listitem>
f824925ac58ff729289c017235eeb3bdd21ec3a2stoddard </varlistentry>
2aae6faee508221efbeaba5547ca79b7a20ef047stoddard <varlistentry>
75960f20f88dad6bc67892c711c429946063d133stoddard Use SHA-256 as the digest algorithm.
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard </listitem>
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard </varlistentry>
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet <varlistentry>
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet <term>-a <replaceable class="parameter">algorithm</replaceable></term>
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard Select the digest algorithm. The value of
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard <option>algorithm</option> must be one of SHA-1 (SHA1),
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard SHA-256 (SHA256), GOST or SHA-384 (SHA384).
a5ed555df952c85bc1b179f5981e8a6c54ba16e6stoddard These values are case insensitive.
56ca30c968906053ae61acb218420667bb58d996rbb </listitem>
56ca30c968906053ae61acb218420667bb58d996rbb </varlistentry>
56ca30c968906053ae61acb218420667bb58d996rbb <varlistentry>
56ca30c968906053ae61acb218420667bb58d996rbb Generate CDS records rather than DS records. This is mutually
0bff2f28ef945280c17099c142126178a78e1e54manoj exclusive with generating lookaside records.
0bff2f28ef945280c17099c142126178a78e1e54manoj </listitem>
0bff2f28ef945280c17099c142126178a78e1e54manoj </varlistentry>
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddard <varlistentry>
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddard <term>-T <replaceable class="parameter">TTL</replaceable></term>
0bff2f28ef945280c17099c142126178a78e1e54manoj Specifies the TTL of the DS records.
75960f20f88dad6bc67892c711c429946063d133stoddard </listitem>
0bff2f28ef945280c17099c142126178a78e1e54manoj </varlistentry>
9c09943bad734ebd5c7cc10bd6d63b75c4c6e056stoddard <varlistentry>
aa1faea36e4ae357bc603a2337b6adc54f5daec1manoj <term>-K <replaceable class="parameter">directory</replaceable></term>
f03d292915be9977eaf74e9be7b0404aec226f84manoj Look for key files (or, in keyset mode,
f03d292915be9977eaf74e9be7b0404aec226f84manoj </listitem>
f03d292915be9977eaf74e9be7b0404aec226f84manoj </varlistentry>
aa1faea36e4ae357bc603a2337b6adc54f5daec1manoj <varlistentry>
aa1faea36e4ae357bc603a2337b6adc54f5daec1manoj <term>-f <replaceable class="parameter">file</replaceable></term>
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj Zone file mode: in place of the keyfile name, the argument is
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj the DNS domain name of a zone master file, which can be read
302dc1f7b3feee23a91ad8f3cf3cb2edd95a557bmanoj from <option>file</option>. If the zone name is the same as
d5defd5a0c5cdbaf74b85939484dc2b6c8317d19manoj If <option>file</option> is set to <literal>"-"</literal>, then
d5defd5a0c5cdbaf74b85939484dc2b6c8317d19manoj the zone data is read from the standard input. This makes it
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj possible to use the output of the <command>dig</command>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj command as input, as in:
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj <userinput>dig dnskey example.com | dnssec-dsfromkey -f - example.com</userinput>
0bff2f28ef945280c17099c142126178a78e1e54manoj </listitem>
0bff2f28ef945280c17099c142126178a78e1e54manoj </varlistentry>
d6b3cb141f0667101c1bca883ad15b383402c93bfielding <varlistentry>
40a5b7189dbbb28e107bf008ee625f2f0142c2ccdgaudet Include ZSKs when generating DS records. Without this option,
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj only keys which have the KSK flag set will be converted to DS
dbf0c7bef06259486cd2748a2d0e82f27e099d6efielding records and printed. Useful only in zone file mode.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj </listitem>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj </varlistentry>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj <varlistentry>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj <term>-l <replaceable class="parameter">domain</replaceable></term>
f6a6245816cd866361da8c576b1f47c7a54b6610fanf <listitem>
f6a6245816cd866361da8c576b1f47c7a54b6610fanf Generate a DLV set instead of a DS set. The specified
f6a6245816cd866361da8c576b1f47c7a54b6610fanf <option>domain</option> is appended to the name for each
f6a6245816cd866361da8c576b1f47c7a54b6610fanf record in the set.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj The DNSSEC Lookaside Validation (DLV) RR is described
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj in RFC 4431. This is mutually exclusive with generating
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj CDS records.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj </listitem>
d6b3cb141f0667101c1bca883ad15b383402c93bfielding </varlistentry>
d6b3cb141f0667101c1bca883ad15b383402c93bfielding <varlistentry>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj Keyset mode: in place of the keyfile name, the argument is
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj the DNS domain name of a keyset file.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj </listitem>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj </varlistentry>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj <varlistentry>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj <term>-c <replaceable class="parameter">class</replaceable></term>
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj Specifies the DNS class (default is IN). Useful only
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj in keyset or zone file mode.
d6b3cb141f0667101c1bca883ad15b383402c93bfielding </listitem>
d6b3cb141f0667101c1bca883ad15b383402c93bfielding </varlistentry>
<para><userinput>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</userinput>