]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/bind9/bin/dnssec/dnssec-dsfromkey.8
MFC r254651:
[FreeBSD/stable/9.git] / contrib / bind9 / bin / dnssec / dnssec-dsfromkey.8
1 .\" Copyright (C) 2008-2012 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$
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: August 26, 2009
23 .\"    Manual: BIND9
24 .\"    Source: BIND9
25 .\"
26 .TH "DNSSEC\-DSFROMKEY" "8" "August 26, 2009" "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] [\fB\-l\ \fR\fB\fIdomain\fR\fR] [\fB\-T\ \fR\fB\fITTL\fR\fR] {keyfile}
36 .HP 17
37 \fBdnssec\-dsfromkey\fR {\-s} [\fB\-1\fR] [\fB\-2\fR] [\fB\-a\ \fR\fB\fIalg\fR\fR] [\fB\-K\ \fR\fB\fIdirectory\fR\fR] [\fB\-l\ \fR\fB\fIdomain\fR\fR] [\fB\-s\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-T\ \fR\fB\fITTL\fR\fR] [\fB\-f\ \fR\fB\fIfile\fR\fR] [\fB\-A\fR] [\fB\-v\ \fR\fB\fIlevel\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), SHA\-256 (SHA256), GOST or SHA\-384 (SHA384). These values are case insensitive.
59 .RE
60 .PP
61 \-T \fITTL\fR
62 .RS 4
63 Specifies the TTL of the DS records.
64 .RE
65 .PP
66 \-K \fIdirectory\fR
67 .RS 4
68 Look for key files (or, in keyset mode,
69 \fIkeyset\-\fR
70 files) in
71 \fBdirectory\fR.
72 .RE
73 .PP
74 \-f \fIfile\fR
75 .RS 4
76 Zone file mode: in place of the keyfile name, the argument is the DNS domain name of a zone master file, which can be read from
77 \fBfile\fR. If the zone name is the same as
78 \fBfile\fR, then it may be omitted.
79 .sp
80 If
81 \fBfile\fR
82 is set to
83 "\-", then the zone data is read from the standard input. This makes it possible to use the output of the
84 \fBdig\fR
85 command as input, as in:
86 .sp
87 \fBdig dnskey example.com | dnssec\-dsfromkey \-f \- example.com\fR
88 .RE
89 .PP
90 \-A
91 .RS 4
92 Include ZSK's when generating DS records. Without this option, only keys which have the KSK flag set will be converted to DS records and printed. Useful only in zone file mode.
93 .RE
94 .PP
95 \-l \fIdomain\fR
96 .RS 4
97 Generate a DLV set instead of a DS set. The specified
98 \fBdomain\fR
99 is appended to the name for each record in the set. The DNSSEC Lookaside Validation (DLV) RR is described in RFC 4431.
100 .RE
101 .PP
102 \-s
103 .RS 4
104 Keyset mode: in place of the keyfile name, the argument is the DNS domain name of a keyset file.
105 .RE
106 .PP
107 \-c \fIclass\fR
108 .RS 4
109 Specifies the DNS class (default is IN). Useful only in keyset or zone file mode.
110 .RE
111 .PP
112 \-v \fIlevel\fR
113 .RS 4
114 Sets the debugging level.
115 .RE
116 .SH "EXAMPLE"
117 .PP
118 To build the SHA\-256 DS RR from the
119 \fBKexample.com.+003+26160\fR
120 keyfile name, the following command would be issued:
121 .PP
122 \fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fR
123 .PP
124 The command would print something like:
125 .PP
126 \fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94\fR
127 .SH "FILES"
128 .PP
129 The keyfile can be designed by the key identification
130 \fIKnnnn.+aaa+iiiii\fR
131 or the full file name
132 \fIKnnnn.+aaa+iiiii.key\fR
133 as generated by
134 dnssec\-keygen(8).
135 .PP
136 The keyset file name is built from the
137 \fBdirectory\fR, the string
138 \fIkeyset\-\fR
139 and the
140 \fBdnsname\fR.
141 .SH "CAVEAT"
142 .PP
143 A keyfile error can give a "file not found" even if the file exists.
144 .SH "SEE ALSO"
145 .PP
146 \fBdnssec\-keygen\fR(8),
147 \fBdnssec\-signzone\fR(8),
148 BIND 9 Administrator Reference Manual,
149 RFC 3658,
150 RFC 4431.
151 RFC 4509.
152 .SH "AUTHOR"
153 .PP
154 Internet Systems Consortium
155 .SH "COPYRIGHT"
156 Copyright \(co 2008\-2012 Internet Systems Consortium, Inc. ("ISC")
157 .br