]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/bind9/bin/dnssec/dnssec-dsfromkey.8
Update BIND to 9.9.6-P1
[FreeBSD/stable/9.git] / contrib / bind9 / bin / dnssec / dnssec-dsfromkey.8
1 .\" Copyright (C) 2008-2012, 2014 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: May 17, 2012
23 .\"    Manual: BIND9
24 .\"    Source: BIND9
25 .\"
26 .TH "DNSSEC\-DSFROMKEY" "8" "May 17, 2012" "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 .HP 17
39 \fBdnssec\-dsfromkey\fR [\fB\-h\fR] [\fB\-V\fR]
40 .SH "DESCRIPTION"
41 .PP
42 \fBdnssec\-dsfromkey\fR
43 outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
44 .SH "OPTIONS"
45 .PP
46 \-1
47 .RS 4
48 Use SHA\-1 as the digest algorithm (the default is to use both SHA\-1 and SHA\-256).
49 .RE
50 .PP
51 \-2
52 .RS 4
53 Use SHA\-256 as the digest algorithm.
54 .RE
55 .PP
56 \-a \fIalgorithm\fR
57 .RS 4
58 Select the digest algorithm. The value of
59 \fBalgorithm\fR
60 must be one of SHA\-1 (SHA1), SHA\-256 (SHA256), GOST or SHA\-384 (SHA384). These values are case insensitive.
61 .RE
62 .PP
63 \-T \fITTL\fR
64 .RS 4
65 Specifies the TTL of the DS records.
66 .RE
67 .PP
68 \-K \fIdirectory\fR
69 .RS 4
70 Look for key files (or, in keyset mode,
71 \fIkeyset\-\fR
72 files) in
73 \fBdirectory\fR.
74 .RE
75 .PP
76 \-f \fIfile\fR
77 .RS 4
78 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
79 \fBfile\fR. If the zone name is the same as
80 \fBfile\fR, then it may be omitted.
81 .sp
82 If
83 \fBfile\fR
84 is set to
85 "\-", then the zone data is read from the standard input. This makes it possible to use the output of the
86 \fBdig\fR
87 command as input, as in:
88 .sp
89 \fBdig dnskey example.com | dnssec\-dsfromkey \-f \- example.com\fR
90 .RE
91 .PP
92 \-A
93 .RS 4
94 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.
95 .RE
96 .PP
97 \-l \fIdomain\fR
98 .RS 4
99 Generate a DLV set instead of a DS set. The specified
100 \fBdomain\fR
101 is appended to the name for each record in the set. The DNSSEC Lookaside Validation (DLV) RR is described in RFC 4431.
102 .RE
103 .PP
104 \-s
105 .RS 4
106 Keyset mode: in place of the keyfile name, the argument is the DNS domain name of a keyset file.
107 .RE
108 .PP
109 \-c \fIclass\fR
110 .RS 4
111 Specifies the DNS class (default is IN). Useful only in keyset or zone file mode.
112 .RE
113 .PP
114 \-v \fIlevel\fR
115 .RS 4
116 Sets the debugging level.
117 .RE
118 .PP
119 \-h
120 .RS 4
121 Prints usage information.
122 .RE
123 .PP
124 \-V
125 .RS 4
126 Prints version information.
127 .RE
128 .SH "EXAMPLE"
129 .PP
130 To build the SHA\-256 DS RR from the
131 \fBKexample.com.+003+26160\fR
132 keyfile name, the following command would be issued:
133 .PP
134 \fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fR
135 .PP
136 The command would print something like:
137 .PP
138 \fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94\fR
139 .SH "FILES"
140 .PP
141 The keyfile can be designed by the key identification
142 \fIKnnnn.+aaa+iiiii\fR
143 or the full file name
144 \fIKnnnn.+aaa+iiiii.key\fR
145 as generated by
146 dnssec\-keygen(8).
147 .PP
148 The keyset file name is built from the
149 \fBdirectory\fR, the string
150 \fIkeyset\-\fR
151 and the
152 \fBdnsname\fR.
153 .SH "CAVEAT"
154 .PP
155 A keyfile error can give a "file not found" even if the file exists.
156 .SH "SEE ALSO"
157 .PP
158 \fBdnssec\-keygen\fR(8),
159 \fBdnssec\-signzone\fR(8),
160 BIND 9 Administrator Reference Manual,
161 RFC 3658,
162 RFC 4431.
163 RFC 4509.
164 .SH "AUTHOR"
165 .PP
166 Internet Systems Consortium
167 .SH "COPYRIGHT"
168 Copyright \(co 2008\-2012, 2014 Internet Systems Consortium, Inc. ("ISC")
169 .br