Import of bind-9.3.2-P1
[dragonfly.git] / contrib / bind-9.3 / bin / dnssec / dnssec-signzone.8
1 .\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
2 .\" Copyright (C) 2000-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-signzone.8,v 1.23.2.1.4.10 2005/10/13 02:33:45 marka Exp $
17 .\"
18 .hy 0
19 .ad l
20 .\" ** You probably do not want to edit this file directly **
21 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
22 .\" Instead of manually editing it, you probably should edit the DocBook XML
23 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
24 .TH "DNSSEC\-SIGNZONE" "8" "June 30, 2000" "BIND9" "BIND9"
25 .\" disable hyphenation
26 .nh
27 .\" disable justification (adjust text to left margin only)
28 .ad l
29 .SH "NAME"
30 dnssec\-signzone \- DNSSEC zone signing tool
31 .SH "SYNOPSIS"
32 .HP 16
33 \fBdnssec\-signzone\fR [\fB\-a\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-d\ \fR\fB\fIdirectory\fR\fR] [\fB\-e\ \fR\fB\fIend\-time\fR\fR] [\fB\-f\ \fR\fB\fIoutput\-file\fR\fR] [\fB\-g\fR] [\fB\-h\fR] [\fB\-k\ \fR\fB\fIkey\fR\fR] [\fB\-l\ \fR\fB\fIdomain\fR\fR] [\fB\-i\ \fR\fB\fIinterval\fR\fR] [\fB\-n\ \fR\fB\fInthreads\fR\fR] [\fB\-o\ \fR\fB\fIorigin\fR\fR] [\fB\-p\fR] [\fB\-r\ \fR\fB\fIrandomdev\fR\fR] [\fB\-s\ \fR\fB\fIstart\-time\fR\fR] [\fB\-t\fR] [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-z\fR] {zonefile} [key...]
34 .SH "DESCRIPTION"
35 .PP
36 \fBdnssec\-signzone\fR
37 signs a zone. It generates NSEC and RRSIG records and produces a signed version of the zone. The security status of delegations from the signed zone (that is, whether the child zones are secure or not) is determined by the presence or absence of a
38 \fIkeyset\fR
39 file for each child zone.
40 .SH "OPTIONS"
41 .TP
42 \-a
43 Verify all generated signatures.
44 .TP
45 \-c \fIclass\fR
46 Specifies the DNS class of the zone.
47 .TP
48 \-k \fIkey\fR
49 Treat specified key as a key signing key ignoring any key flags. This option may be specified multiple times.
50 .TP
51 \-l \fIdomain\fR
52 Generate a DLV set in addition to the key (DNSKEY) and DS sets. The domain is appended to the name of the records.
53 .TP
54 \-d \fIdirectory\fR
55 Look for
56 \fIkeyset\fR
57 files in
58 \fBdirectory\fR
59 as the directory
60 .TP
61 \-g
62 Generate DS records for child zones from keyset files. Existing DS records will be removed.
63 .TP
64 \-s \fIstart\-time\fR
65 Specify the date and time when the generated RRSIG records become valid. This can be either an absolute or relative time. An absolute start time is indicated by a number in YYYYMMDDHHMMSS notation; 20000530144500 denotes 14:45:00 UTC on May 30th, 2000. A relative start time is indicated by +N, which is N seconds from the current time. If no
66 \fBstart\-time\fR
67 is specified, the current time minus 1 hour (to allow for clock skew) is used.
68 .TP
69 \-e \fIend\-time\fR
70 Specify the date and time when the generated RRSIG records expire. As with
71 \fBstart\-time\fR, an absolute time is indicated in YYYYMMDDHHMMSS notation. A time relative to the start time is indicated with +N, which is N seconds from the start time. A time relative to the current time is indicated with now+N. If no
72 \fBend\-time\fR
73 is specified, 30 days from the start time is used as a default.
74 .TP
75 \-f \fIoutput\-file\fR
76 The name of the output file containing the signed zone. The default is to append
77 \fI.signed\fR
78 to the input file.
79 .TP
80 \-h
81 Prints a short summary of the options and arguments to
82 \fBdnssec\-signzone\fR.
83 .TP
84 \-i \fIinterval\fR
85 When a previously signed zone is passed as input, records may be resigned. The
86 \fBinterval\fR
87 option specifies the cycle interval as an offset from the current time (in seconds). If a RRSIG record expires after the cycle interval, it is retained. Otherwise, it is considered to be expiring soon, and it will be replaced.
88 .sp
89 The default cycle interval is one quarter of the difference between the signature end and start times. So if neither
90 \fBend\-time\fR
91 or
92 \fBstart\-time\fR
93 are specified,
94 \fBdnssec\-signzone\fR
95 generates signatures that are valid for 30 days, with a cycle interval of 7.5 days. Therefore, if any existing RRSIG records are due to expire in less than 7.5 days, they would be replaced.
96 .TP
97 \-n \fIncpus\fR
98 Specifies the number of threads to use. By default, one thread is started for each detected CPU.
99 .TP
100 \-o \fIorigin\fR
101 The zone origin. If not specified, the name of the zone file is assumed to be the origin.
102 .TP
103 \-p
104 Use pseudo\-random data when signing the zone. This is faster, but less secure, than using real random data. This option may be useful when signing large zones or when the entropy source is limited.
105 .TP
106 \-r \fIrandomdev\fR
107 Specifies the source of randomness. If the operating system does not provide a
108 \fI/dev/random\fR
109 or equivalent device, the default source of randomness is keyboard input.
110 \fIrandomdev\fR
111 specifies the name of a character device or file containing random data to be used instead of the default. The special value
112 \fIkeyboard\fR
113 indicates that keyboard input should be used.
114 .TP
115 \-t
116 Print statistics at completion.
117 .TP
118 \-v \fIlevel\fR
119 Sets the debugging level.
120 .TP
121 \-z
122 Ignore KSK flag on key when determining what to sign.
123 .TP
124 zonefile
125 The file containing the zone to be signed.
126 .TP
127 key
128 The keys used to sign the zone. If no keys are specified, the default all zone keys that have private key files in the current directory.
129 .SH "EXAMPLE"
130 .PP
131 The following command signs the
132 \fBexample.com\fR
133 zone with the DSA key generated in the
134 \fBdnssec\-keygen\fR
135 man page. The zone's keys must be in the zone. If there are
136 \fIkeyset\fR
137 files associated with child zones, they must be in the current directory.
138 \fBexample.com\fR, the following command would be issued:
139 .PP
140 \fBdnssec\-signzone \-o example.com db.example.com Kexample.com.+003+26160\fR
141 .PP
142 The command would print a string of the form:
143 .PP
144 In this example,
145 \fBdnssec\-signzone\fR
146 creates the file
147 \fIdb.example.com.signed\fR. This file should be referenced in a zone statement in a
148 \fInamed.conf\fR
149 file.
150 .SH "SEE ALSO"
151 .PP
152 \fBdnssec\-keygen\fR(8),
153 BIND 9 Administrator Reference Manual,
154 RFC 2535.
155 .SH "AUTHOR"
156 .PP
157 Internet Systems Consortium