1 .\" Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
3 .\" Permission to use, copy, modify, and/or distribute this software for any
4 .\" purpose with or without fee is hereby granted, provided that the above
5 .\" copyright notice and this permission notice appear in all copies.
7 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9 .\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13 .\" PERFORMANCE OF THIS SOFTWARE.
15 .\" $Id: dnssec-dsfromkey.8,v 1.5 2008/11/08 01:11:47 tbox Exp $
19 .\" Title: dnssec\-dsfromkey
21 .\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
22 .\" Date: November 29, 2008
26 .TH "DNSSEC\-DSFROMKEY" "8" "November 29, 2008" "BIND9" "BIND9"
27 .\" disable hyphenation
29 .\" disable justification (adjust text to left margin only)
32 dnssec\-dsfromkey \- DNSSEC DS RR generation tool
35 \fBdnssec\-dsfromkey\fR [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-1\fR] [\fB\-2\fR] [\fB\-a\ \fR\fB\fIalg\fR\fR] {keyfile}
37 \fBdnssec\-dsfromkey\fR {\-s} [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-1\fR] [\fB\-2\fR] [\fB\-a\ \fR\fB\fIalg\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-d\ \fR\fB\fIdir\fR\fR] {dnsname}
40 \fBdnssec\-dsfromkey\fR
41 outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
46 Use SHA\-1 as the digest algorithm (the default is to use both SHA\-1 and SHA\-256).
51 Use SHA\-256 as the digest algorithm.
56 Select the digest algorithm. The value of
58 must be one of SHA\-1 (SHA1) or SHA\-256 (SHA256). These values are case insensitive.
63 Sets the debugging level.
68 Keyset mode: in place of the keyfile name, the argument is the DNS domain name of a keyset file. Following options make sense only in this mode.
73 Specifies the DNS class (default is IN), useful only in the keyset mode.
82 as the directory, ignored when not in the keyset mode.
86 To build the SHA\-256 DS RR from the
87 \fBKexample.com.+003+26160\fR
88 keyfile name, the following command would be issued:
90 \fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fR
92 The command would print something like:
94 \fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94\fR
97 The keyfile can be designed by the key identification
98 \fIKnnnn.+aaa+iiiii\fR
100 \fIKnnnn.+aaa+iiiii.key\fR
104 The keyset file name is built from the
105 \fBdirectory\fR, the string
111 A keyfile error can give a "file not found" even if the file exists.
114 \fBdnssec\-keygen\fR(8),
115 \fBdnssec\-signzone\fR(8),
116 BIND 9 Administrator Reference Manual,
121 Internet Systems Consortium
123 Copyright \(co 2008 Internet Systems Consortium, Inc. ("ISC")