1 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
2 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
3 [<!ENTITY mdash "—">]>
5 - Copyright (C) 2008-2010, 2012 Internet Systems Consortium, Inc. ("ISC")
7 - Permission to use, copy, modify, and/or distribute this software for any
8 - purpose with or without fee is hereby granted, provided that the above
9 - copyright notice and this permission notice appear in all copies.
11 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 - PERFORMANCE OF THIS SOFTWARE.
20 <!-- $Id: dnssec-dsfromkey.docbook,v 1.12 2010/12/23 23:47:08 tbox Exp $ -->
21 <refentry id="man.dnssec-dsfromkey">
23 <date>August 26, 2009</date>
27 <refentrytitle><application>dnssec-dsfromkey</application></refentrytitle>
28 <manvolnum>8</manvolnum>
29 <refmiscinfo>BIND9</refmiscinfo>
33 <refname><application>dnssec-dsfromkey</application></refname>
34 <refpurpose>DNSSEC DS RR generation tool</refpurpose>
43 <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
49 <command>dnssec-dsfromkey</command>
50 <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
51 <arg><option>-1</option></arg>
52 <arg><option>-2</option></arg>
53 <arg><option>-a <replaceable class="parameter">alg</replaceable></option></arg>
54 <arg><option>-l <replaceable class="parameter">domain</replaceable></option></arg>
55 <arg choice="req">keyfile</arg>
58 <command>dnssec-dsfromkey</command>
59 <arg choice="req">-s</arg>
60 <arg><option>-1</option></arg>
61 <arg><option>-2</option></arg>
62 <arg><option>-a <replaceable class="parameter">alg</replaceable></option></arg>
63 <arg><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
64 <arg><option>-l <replaceable class="parameter">domain</replaceable></option></arg>
65 <arg><option>-s</option></arg>
66 <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
67 <arg><option>-f <replaceable class="parameter">file</replaceable></option></arg>
68 <arg><option>-A</option></arg>
69 <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
70 <arg choice="req">dnsname</arg>
75 <title>DESCRIPTION</title>
76 <para><command>dnssec-dsfromkey</command>
77 outputs the Delegation Signer (DS) resource record (RR), as defined in
78 RFC 3658 and RFC 4509, for the given key(s).
83 <title>OPTIONS</title>
90 Use SHA-1 as the digest algorithm (the default is to use
91 both SHA-1 and SHA-256).
100 Use SHA-256 as the digest algorithm.
106 <term>-a <replaceable class="parameter">algorithm</replaceable></term>
109 Select the digest algorithm. The value of
110 <option>algorithm</option> must be one of SHA-1 (SHA1),
111 SHA-256 (SHA256), GOST or SHA-384 (SHA384).
112 These values are case insensitive.
118 <term>-K <replaceable class="parameter">directory</replaceable></term>
121 Look for key files (or, in keyset mode,
122 <filename>keyset-</filename> files) in
123 <option>directory</option>.
129 <term>-f <replaceable class="parameter">file</replaceable></term>
132 Zone file mode: in place of the keyfile name, the argument is
133 the DNS domain name of a zone master file, which can be read
134 from <option>file</option>. If the zone name is the same as
135 <option>file</option>, then it may be omitted.
144 Include ZSK's when generating DS records. Without this option,
145 only keys which have the KSK flag set will be converted to DS
146 records and printed. Useful only in zone file mode.
152 <term>-l <replaceable class="parameter">domain</replaceable></term>
155 Generate a DLV set instead of a DS set. The specified
156 <option>domain</option> is appended to the name for each
158 The DNSSEC Lookaside Validation (DLV) RR is described
168 Keyset mode: in place of the keyfile name, the argument is
169 the DNS domain name of a keyset file.
175 <term>-c <replaceable class="parameter">class</replaceable></term>
178 Specifies the DNS class (default is IN). Useful only
179 in keyset or zone file mode.
185 <term>-v <replaceable class="parameter">level</replaceable></term>
188 Sets the debugging level.
196 <title>EXAMPLE</title>
198 To build the SHA-256 DS RR from the
199 <userinput>Kexample.com.+003+26160</userinput>
200 keyfile name, the following command would be issued:
202 <para><userinput>dnssec-dsfromkey -2 Kexample.com.+003+26160</userinput>
205 The command would print something like:
207 <para><userinput>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</userinput>
214 The keyfile can be designed by the key identification
215 <filename>Knnnn.+aaa+iiiii</filename> or the full file name
216 <filename>Knnnn.+aaa+iiiii.key</filename> as generated by
217 <refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>.
220 The keyset file name is built from the <option>directory</option>,
221 the string <filename>keyset-</filename> and the
222 <option>dnsname</option>.
227 <title>CAVEAT</title>
229 A keyfile error can give a "file not found" even if the file exists.
234 <title>SEE ALSO</title>
236 <refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>
239 <refentrytitle>dnssec-signzone</refentrytitle><manvolnum>8</manvolnum>
241 <citetitle>BIND 9 Administrator Reference Manual</citetitle>,
242 <citetitle>RFC 3658</citetitle>,
243 <citetitle>RFC 4431</citetitle>.
244 <citetitle>RFC 4509</citetitle>.
249 <title>AUTHOR</title>
250 <para><corpauthor>Internet Systems Consortium</corpauthor>