dnssec-dsfromkey.8 3.65 KB
Newer Older
Automatic Updater's avatar
Automatic Updater committed
1
.\" Copyright (C) 2008, 2009  Internet Systems Consortium, Inc. ("ISC")
Automatic Updater's avatar
regen  
Automatic Updater committed
2 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
regen  
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
regen  
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.
.\"
Automatic Updater's avatar
regen  
Automatic Updater committed
15
.\" $Id: dnssec-dsfromkey.8,v 1.9 2009/06/18 01:13:02 tbox Exp $
16 17 18
.\"
.hy 0
.ad l
Automatic Updater's avatar
regen  
Automatic Updater committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32
.\"     Title: dnssec\-dsfromkey
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\"      Date: November 29, 2008
.\"    Manual: BIND9
.\"    Source: BIND9
.\"
.TH "DNSSEC\-DSFROMKEY" "8" "November 29, 2008" "BIND9" "BIND9"
.\" 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
Automatic Updater's avatar
regen  
Automatic Updater 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] {keyfile}
36
.HP 17
Automatic Updater's avatar
regen  
Automatic Updater committed
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 39
.SH "DESCRIPTION"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
40 41
\fBdnssec\-dsfromkey\fR
outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
42
.SH "OPTIONS"
Automatic Updater's avatar
regen  
Automatic Updater committed
43
.PP
44
\-1
Automatic Updater's avatar
regen  
Automatic Updater committed
45 46 47 48
.RS 4
Use SHA\-1 as the digest algorithm (the default is to use both SHA\-1 and SHA\-256).
.RE
.PP
49
\-2
Automatic Updater's avatar
regen  
Automatic Updater committed
50 51 52 53
.RS 4
Use SHA\-256 as the digest algorithm.
.RE
.PP
54
\-a \fIalgorithm\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
55 56 57 58 59 60
.RS 4
Select the digest algorithm. The value of
\fBalgorithm\fR
must be one of SHA\-1 (SHA1) or SHA\-256 (SHA256). These values are case insensitive.
.RE
.PP
61
\-v \fIlevel\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
62 63 64 65
.RS 4
Sets the debugging level.
.RE
.PP
66
\-l \fIdomain\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
67 68 69 70 71 72
.RS 4
Generate a DLV set instead of a DS set. The specified
\fBdomain\fR
is appended to the name for each record in the set.
.RE
.PP
73
\-s
Automatic Updater's avatar
regen  
Automatic Updater committed
74 75 76 77
.RS 4
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.
.RE
.PP
78
\-c \fIclass\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
79 80 81 82
.RS 4
Specifies the DNS class (default is IN), useful only in the keyset mode.
.RE
.PP
83
\-d \fIdirectory\fR
Automatic Updater's avatar
regen  
Automatic Updater committed
84 85 86 87 88 89 90
.RS 4
Look for
\fIkeyset\fR
files in
\fBdirectory\fR
as the directory, ignored when not in the keyset mode.
.RE
91 92
.SH "EXAMPLE"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
93 94 95
To build the SHA\-256 DS RR from the
\fBKexample.com.+003+26160\fR
keyfile name, the following command would be issued:
96
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
97
\fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fR
98 99 100
.PP
The command would print something like:
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
101
\fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94\fR
102 103
.SH "FILES"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
104 105 106 107 108 109
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).
110
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
111 112 113 114 115
The keyset file name is built from the
\fBdirectory\fR, the string
\fIkeyset\-\fR
and the
\fBdnsname\fR.
116 117
.SH "CAVEAT"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
118
A keyfile error can give a "file not found" even if the file exists.
119 120
.SH "SEE ALSO"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
121 122 123 124 125
\fBdnssec\-keygen\fR(8),
\fBdnssec\-signzone\fR(8),
BIND 9 Administrator Reference Manual,
RFC 3658,
RFC 4509.
126 127
.SH "AUTHOR"
.PP
Automatic Updater's avatar
regen  
Automatic Updater committed
128 129
Internet Systems Consortium
.SH "COPYRIGHT"
Automatic Updater's avatar
regen  
Automatic Updater committed
130
Copyright \(co 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
Automatic Updater's avatar
regen  
Automatic Updater committed
131
.br