Merge from vendor branch GCC:
[dragonfly.git] / contrib / bind-9.2.4rc7 / bin / dnssec / dnssec-signkey.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-signkey.8,v 1.18.2.3 2004/06/03 05:21:11 marka Exp $
17 .\"
18 .TH "DNSSEC-SIGNKEY" "8" "June 30, 2000" "BIND9" ""
19 .SH NAME
20 dnssec-signkey \- DNSSEC key set signing tool
21 .SH SYNOPSIS
22 .sp
23 \fBdnssec-signkey\fR [ \fB-a\fR ]  [ \fB-c \fIclass\fB\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-v \fIlevel\fB\fR ]  \fBkeyset\fR \fBkey\fR\fI...\fR
24 .SH "DESCRIPTION"
25 .PP
26 \fBdnssec-signkey\fR signs a keyset. Typically
27 the keyset will be for a child zone, and will have been generated
28 by \fBdnssec-makekeyset\fR. The child zone's keyset
29 is signed with the zone keys for its parent zone. The output file
30 is of the form \fIsignedkey-nnnn.\fR, where
31 \fInnnn\fR is the zone name.
32 .SH "OPTIONS"
33 .TP
34 \fB-a\fR
35 Verify all generated signatures.
36 .TP
37 \fB-c \fIclass\fB\fR
38 Specifies the DNS class of the key sets.
39 .TP
40 \fB-s \fIstart-time\fB\fR
41 Specify the date and time when the generated SIG records
42 become valid. This can be either an absolute or relative
43 time. An absolute start time is indicated by a number
44 in YYYYMMDDHHMMSS notation; 20000530144500 denotes
45 14:45:00 UTC on May 30th, 2000. A relative start time is
46 indicated by +N, which is N seconds from the current time.
47 If no \fBstart-time\fR is specified, the current
48 time is used.
49 .TP
50 \fB-e \fIend-time\fB\fR
51 Specify the date and time when the generated SIG records
52 expire. As with \fBstart-time\fR, an absolute
53 time is indicated in YYYYMMDDHHMMSS notation. A time relative
54 to the start time is indicated with +N, which is N seconds from
55 the start time. A time relative to the current time is
56 indicated with now+N. If no \fBend-time\fR is
57 specified, 30 days from the start time is used as a default.
58 .TP
59 \fB-h\fR
60 Prints a short summary of the options and arguments to
61 \fBdnssec-signkey\fR.
62 .TP
63 \fB-p\fR
64 Use pseudo-random data when signing the zone. This is faster,
65 but less secure, than using real random data. This option
66 may be useful when signing large zones or when the entropy
67 source is limited.
68 .TP
69 \fB-r \fIrandomdev\fB\fR
70 Specifies the source of randomness. If the operating
71 system does not provide a \fI/dev/random\fR
72 or equivalent device, the default source of randomness
73 is keyboard input. \fIrandomdev\fR specifies
74 the name of a character device or file containing random
75 data to be used instead of the default. The special value
76 \fIkeyboard\fR indicates that keyboard
77 input should be used.
78 .TP
79 \fB-v \fIlevel\fB\fR
80 Sets the debugging level.
81 .TP
82 \fBkeyset\fR
83 The file containing the child's keyset.
84 .TP
85 \fBkey\fR
86 The keys used to sign the child's keyset.
87 .SH "EXAMPLE"
88 .PP
89 The DNS administrator for a DNSSEC-aware \fB.com\fR
90 zone would use the following command to sign the
91 \fIkeyset\fR file for \fBexample.com\fR
92 created by \fBdnssec-makekeyset\fR with a key generated
93 by \fBdnssec-keygen\fR:
94 .PP
95 \fBdnssec-signkey keyset-example.com. Kcom.+003+51944\fR
96 .PP
97 In this example, \fBdnssec-signkey\fR creates
98 the file \fIsignedkey-example.com.\fR, which
99 contains the \fBexample.com\fR keys and the
100 signatures by the \fB.com\fR keys.
101 .SH "SEE ALSO"
102 .PP
103 \fBdnssec-keygen\fR(8),
104 \fBdnssec-makekeyset\fR(8),
105 \fBdnssec-signzone\fR(8).
106 .SH "AUTHOR"
107 .PP
108 Internet Systems Consortium