]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - contrib/bind9/bin/dnssec/dnssec-dsfromkey.8
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / contrib / bind9 / bin / dnssec / dnssec-dsfromkey.8
1 .\" Copyright (C) 2008  Internet Systems Consortium, Inc. ("ISC")
2 .\"
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.
6 .\"
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.
14 .\"
15 .\" $Id: dnssec-dsfromkey.8,v 1.5 2008/11/08 01:11:47 tbox Exp $
16 .\"
17 .hy 0
18 .ad l
19 .\"     Title: dnssec\-dsfromkey
20 .\"    Author: 
21 .\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
22 .\"      Date: November 29, 2008
23 .\"    Manual: BIND9
24 .\"    Source: BIND9
25 .\"
26 .TH "DNSSEC\-DSFROMKEY" "8" "November 29, 2008" "BIND9" "BIND9"
27 .\" disable hyphenation
28 .nh
29 .\" disable justification (adjust text to left margin only)
30 .ad l
31 .SH "NAME"
32 dnssec\-dsfromkey \- DNSSEC DS RR generation tool
33 .SH "SYNOPSIS"
34 .HP 17
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}
36 .HP 17
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}
38 .SH "DESCRIPTION"
39 .PP
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).
42 .SH "OPTIONS"
43 .PP
44 \-1
45 .RS 4
46 Use SHA\-1 as the digest algorithm (the default is to use both SHA\-1 and SHA\-256).
47 .RE
48 .PP
49 \-2
50 .RS 4
51 Use SHA\-256 as the digest algorithm.
52 .RE
53 .PP
54 \-a \fIalgorithm\fR
55 .RS 4
56 Select the digest algorithm. The value of
57 \fBalgorithm\fR
58 must be one of SHA\-1 (SHA1) or SHA\-256 (SHA256). These values are case insensitive.
59 .RE
60 .PP
61 \-v \fIlevel\fR
62 .RS 4
63 Sets the debugging level.
64 .RE
65 .PP
66 \-s
67 .RS 4
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.
69 .RE
70 .PP
71 \-c \fIclass\fR
72 .RS 4
73 Specifies the DNS class (default is IN), useful only in the keyset mode.
74 .RE
75 .PP
76 \-d \fIdirectory\fR
77 .RS 4
78 Look for
79 \fIkeyset\fR
80 files in
81 \fBdirectory\fR
82 as the directory, ignored when not in the keyset mode.
83 .RE
84 .SH "EXAMPLE"
85 .PP
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:
89 .PP
90 \fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fR
91 .PP
92 The command would print something like:
93 .PP
94 \fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94\fR
95 .SH "FILES"
96 .PP
97 The keyfile can be designed by the key identification
98 \fIKnnnn.+aaa+iiiii\fR
99 or the full file name
100 \fIKnnnn.+aaa+iiiii.key\fR
101 as generated by
102 dnssec\-keygen(8).
103 .PP
104 The keyset file name is built from the
105 \fBdirectory\fR, the string
106 \fIkeyset\-\fR
107 and the
108 \fBdnsname\fR.
109 .SH "CAVEAT"
110 .PP
111 A keyfile error can give a "file not found" even if the file exists.
112 .SH "SEE ALSO"
113 .PP
114 \fBdnssec\-keygen\fR(8),
115 \fBdnssec\-signzone\fR(8),
116 BIND 9 Administrator Reference Manual,
117 RFC 3658,
118 RFC 4509.
119 .SH "AUTHOR"
120 .PP
121 Internet Systems Consortium
122 .SH "COPYRIGHT"
123 Copyright \(co 2008 Internet Systems Consortium, Inc. ("ISC")
124 .br