dnssec-dsfromkey.8 4.88 KB
Newer Older
Tinderbox User's avatar
Tinderbox User committed
1
.\" Copyright (C) 2008-2012, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
Automatic Updater's avatar
Automatic Updater committed
2
.\" 
Automatic Updater's avatar
regen  
Automatic Updater committed
3
.\" Permission to use, copy, modify, and/or distribute this software for any
4 5
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
Automatic Updater's avatar
Automatic Updater committed
6
.\" 
7 8
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
Automatic Updater's avatar
Automatic Updater committed
9
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10 11 12 13 14
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
Tinderbox User's avatar
Tinderbox User committed
15
.\" $Id$
16 17 18
.\"
.hy 0
.ad l
Automatic Updater's avatar
regen  
Automatic Updater committed
19 20 21
.\"     Title: dnssec\-dsfromkey
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
Tinderbox User's avatar
Tinderbox User committed
22
.\"      Date: May 02, 2012
Automatic Updater's avatar
regen  
Automatic Updater committed
23 24 25
.\"    Manual: BIND9
.\"    Source: BIND9
.\"
Tinderbox User's avatar
Tinderbox User committed
26
.TH "DNSSEC\-DSFROMKEY" "8" "May 02, 2012" "BIND9" "BIND9"
Automatic Updater's avatar
regen  
Automatic Updater committed
27 28 29 30 31 32
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
dnssec\-dsfromkey \- DNSSEC DS RR generation tool
33 34
.SH "SYNOPSIS"
.HP 17
Tinderbox User's avatar
Tinderbox User committed
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\-C\fR] [\fB\-l\ \fR\fB\fIdomain\fR\fR] [\fB\-T\ \fR\fB\fITTL\fR\fR] {keyfile}
36
.HP 17
Automatic Updater's avatar
Automatic Updater committed
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}
Tinderbox User's avatar
Tinderbox User committed
38 39
.HP 17
\fBdnssec\-dsfromkey\fR [\fB\-h\fR] [\fB\-V\fR]
40 41
.SH "DESCRIPTION"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
42 43
\fBdnssec\-dsfromkey\fR
outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
44
.SH "OPTIONS"
Automatic Updater's avatar
regen  
Automatic Updater committed
45
.PP
46
\-1
Automatic Updater's avatar
regen  
Automatic Updater committed
47 48 49 50
.RS 4
Use SHA\-1 as the digest algorithm (the default is to use both SHA\-1 and SHA\-256).
.RE
.PP
51
\-2
Automatic Updater's avatar
regen  
Automatic Updater committed
52 53 54 55
.RS 4
Use SHA\-256 as the digest algorithm.
.RE
.PP
56
\-a \fIalgorithm\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
57 58 59
.RS 4
Select the digest algorithm. The value of
\fBalgorithm\fR
60
must be one of SHA\-1 (SHA1), SHA\-256 (SHA256), GOST or SHA\-384 (SHA384). These values are case insensitive.
Automatic Updater's avatar
regen  
Automatic Updater committed
61 62
.RE
.PP
Tinderbox User's avatar
Tinderbox User committed
63 64 65 66 67
\-C
.RS 4
Generate CDS records rather than DS records. This is mutually exclusive with generating lookaside records.
.RE
.PP
Automatic Updater's avatar
Automatic Updater committed
68 69 70 71 72
\-T \fITTL\fR
.RS 4
Specifies the TTL of the DS records.
.RE
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
73
\-K \fIdirectory\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
74
.RS 4
Automatic Updater's avatar
regen  
Automatic Updater committed
75 76 77 78 79 80 81 82 83 84 85
Look for key files (or, in keyset mode,
\fIkeyset\-\fR
files) in
\fBdirectory\fR.
.RE
.PP
\-f \fIfile\fR
.RS 4
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
\fBfile\fR. If the zone name is the same as
\fBfile\fR, then it may be omitted.
Automatic Updater's avatar
Automatic Updater committed
86 87 88 89 90 91 92 93 94
.sp
If
\fBfile\fR
is set to
"\-", then the zone data is read from the standard input. This makes it possible to use the output of the
\fBdig\fR
command as input, as in:
.sp
\fBdig dnskey example.com | dnssec\-dsfromkey \-f \- example.com\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
95 96 97 98
.RE
.PP
\-A
.RS 4
Tinderbox User's avatar
Tinderbox User committed
99
Include ZSKs 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.
Automatic Updater's avatar
regen  
Automatic Updater committed
100 101
.RE
.PP
102
\-l \fIdomain\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
103 104 105
.RS 4
Generate a DLV set instead of a DS set. The specified
\fBdomain\fR
Tinderbox User's avatar
Tinderbox User committed
106
is appended to the name for each record in the set. The DNSSEC Lookaside Validation (DLV) RR is described in RFC 4431. This is mutually exclusive with generating CDS records.
Automatic Updater's avatar
regen  
Automatic Updater committed
107 108
.RE
.PP
109
\-s
Automatic Updater's avatar
regen  
Automatic Updater committed
110
.RS 4
Automatic Updater's avatar
regen  
Automatic Updater committed
111
Keyset mode: in place of the keyfile name, the argument is the DNS domain name of a keyset file.
Automatic Updater's avatar
regen  
Automatic Updater committed
112 113
.RE
.PP
114
\-c \fIclass\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
115
.RS 4
Automatic Updater's avatar
regen  
Automatic Updater committed
116
Specifies the DNS class (default is IN). Useful only in keyset or zone file mode.
Automatic Updater's avatar
regen  
Automatic Updater committed
117 118
.RE
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
119
\-v \fIlevel\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
120
.RS 4
Automatic Updater's avatar
regen  
Automatic Updater committed
121
Sets the debugging level.
Automatic Updater's avatar
regen  
Automatic Updater committed
122
.RE
Tinderbox User's avatar
Tinderbox User committed
123 124 125 126 127 128 129 130 131 132
.PP
\-h
.RS 4
Prints usage information.
.RE
.PP
\-V
.RS 4
Prints version information.
.RE
133 134
.SH "EXAMPLE"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
135 136 137
To build the SHA\-256 DS RR from the
\fBKexample.com.+003+26160\fR
keyfile name, the following command would be issued:
138
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
139
\fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fR
140 141 142
.PP
The command would print something like:
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
143
\fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94\fR
144 145
.SH "FILES"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
146 147 148 149 150 151
The keyfile can be designed by the key identification
\fIKnnnn.+aaa+iiiii\fR
or the full file name
\fIKnnnn.+aaa+iiiii.key\fR
as generated by
dnssec\-keygen(8).
152
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
153 154 155 156 157
The keyset file name is built from the
\fBdirectory\fR, the string
\fIkeyset\-\fR
and the
\fBdnsname\fR.
158 159
.SH "CAVEAT"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
160
A keyfile error can give a "file not found" even if the file exists.
161 162
.SH "SEE ALSO"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
163 164 165 166
\fBdnssec\-keygen\fR(8),
\fBdnssec\-signzone\fR(8),
BIND 9 Administrator Reference Manual,
RFC 3658,
Automatic Updater's avatar
regen  
Automatic Updater committed
167
RFC 4431.
Automatic Updater's avatar
regen  
Automatic Updater committed
168
RFC 4509.
169 170
.SH "AUTHOR"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
171 172
Internet Systems Consortium
.SH "COPYRIGHT"
Tinderbox User's avatar
Tinderbox User committed
173
Copyright \(co 2008\-2012, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
Automatic Updater's avatar
regen  
Automatic Updater committed
174
.br