Merge from vendor branch NTPD:
[dragonfly.git] / contrib / bind-9.2.4rc7 / bin / dnssec / dnssec-makekeyset.8
1 .\" Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
2 .\" Copyright (C) 2000, 2001, 2003  Internet Software Consortium.
3 .\"
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
7 .\"
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 .\" AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 .\" PERFORMANCE OF THIS SOFTWARE.
15 .\"
16 .\" $Id: dnssec-makekeyset.8,v 1.16.2.4 2004/06/03 05:21:10 marka Exp $
17 .\"
18 .TH "DNSSEC-MAKEKEYSET" "8" "June 30, 2000" "BIND9" ""
19 .SH NAME
20 dnssec-makekeyset \- DNSSEC zone signing tool
21 .SH SYNOPSIS
22 .sp
23 \fBdnssec-makekeyset\fR [ \fB-a\fR ]  [ \fB-s \fIstart-time\fB\fR ]  [ \fB-e \fIend-time\fB\fR ]  [ \fB-h\fR ]  [ \fB-p\fR ]  [ \fB-r \fIrandomdev\fB\fR ]  [ \fB-t\fIttl\fB\fR ]  [ \fB-v \fIlevel\fB\fR ]  \fBkey\fR\fI...\fR
24 .SH "DESCRIPTION"
25 .PP
26 \fBdnssec-makekeyset\fR generates a key set from one
27 or more keys created by \fBdnssec-keygen\fR. It creates
28 a file containing a KEY record for each key, and self-signs the key
29 set with each zone key. The output file is of the form
30 \fIkeyset-nnnn.\fR, where \fInnnn\fR
31 is the zone name.
32 .SH "OPTIONS"
33 .TP
34 \fB-a\fR
35 Verify all generated signatures.
36 .TP
37 \fB-s \fIstart-time\fB\fR
38 Specify the date and time when the generated SIG records
39 become valid. This can be either an absolute or relative
40 time. An absolute start time is indicated by a number
41 in YYYYMMDDHHMMSS notation; 20000530144500 denotes
42 14:45:00 UTC on May 30th, 2000. A relative start time is
43 indicated by +N, which is N seconds from the current time.
44 If no \fBstart-time\fR is specified, the current
45 time is used.
46 .TP
47 \fB-e \fIend-time\fB\fR
48 Specify the date and time when the generated SIG records
49 expire. As with \fBstart-time\fR, an absolute
50 time is indicated in YYYYMMDDHHMMSS notation. A time relative
51 to the start time is indicated with +N, which is N seconds from
52 the start time. A time relative to the current time is
53 indicated with now+N. If no \fBend-time\fR is
54 specified, 30 days from the start time is used as a default.
55 .TP
56 \fB-h\fR
57 Prints a short summary of the options and arguments to
58 \fBdnssec-makekeyset\fR.
59 .TP
60 \fB-p\fR
61 Use pseudo-random data when signing the zone. This is faster,
62 but less secure, than using real random data. This option
63 may be useful when signing large zones or when the entropy
64 source is limited.
65 .TP
66 \fB-r \fIrandomdev\fB\fR
67 Specifies the source of randomness. If the operating
68 system does not provide a \fI/dev/random\fR
69 or equivalent device, the default source of randomness
70 is keyboard input. \fIrandomdev\fR specifies
71 the name of a character device or file containing random
72 data to be used instead of the default. The special value
73 \fIkeyboard\fR indicates that keyboard
74 input should be used.
75 .TP
76 \fB-t \fIttl\fB\fR
77 Specify the TTL (time to live) of the KEY and SIG records.
78 The default is 3600 seconds.
79 .TP
80 \fB-v \fIlevel\fB\fR
81 Sets the debugging level.
82 .TP
83 \fBkey\fR
84 The list of keys to be included in the keyset file. These keys
85 are expressed in the form \fIKnnnn.+aaa+iiiii\fR
86 as generated by \fBdnssec-keygen\fR.
87 .SH "EXAMPLE"
88 .PP
89 The following command generates a keyset containing the DSA key for
90 \fBexample.com\fR generated in the
91 \fBdnssec-keygen\fR man page.
92 .PP
93 \fBdnssec-makekeyset -t 86400 -s 20000701120000 -e +2592000 Kexample.com.+003+26160\fR
94 .PP
95 In this example, \fBdnssec-makekeyset\fR creates
96 the file \fIkeyset-example.com.\fR. This file
97 contains the specified key and a self-generated signature.
98 .PP
99 The DNS administrator for \fBexample.com\fR could
100 send \fIkeyset-example.com.\fR to the DNS
101 administrator for \fB.com\fR for signing, if the
102 \&.com zone is DNSSEC-aware and the administrators of the two zones
103 have some mechanism for authenticating each other and exchanging
104 the keys and signatures securely.
105 .SH "SEE ALSO"
106 .PP
107 \fBdnssec-keygen\fR(8),
108 \fBdnssec-signkey\fR(8),
109 \fIBIND 9 Administrator Reference Manual\fR,
110 \fIRFC 2535\fR.
111 .SH "AUTHOR"
112 .PP
113 Internet Systems Consortium