diff --git a/bin/dnssec/dnssec-dsfromkey.8 b/bin/dnssec/dnssec-dsfromkey.8 index 9388d5207f..9fd4cec249 100644 --- a/bin/dnssec/dnssec-dsfromkey.8 +++ b/bin/dnssec/dnssec-dsfromkey.8 @@ -12,7 +12,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.\" $Id: dnssec-dsfromkey.8,v 1.9 2009/06/18 01:13:02 tbox Exp $ +.\" $Id: dnssec-dsfromkey.8,v 1.10 2009/07/19 04:27:55 tbox Exp $ .\" .hy 0 .ad l @@ -34,7 +34,7 @@ dnssec\-dsfromkey \- DNSSEC DS RR generation tool .HP 17 \fBdnssec\-dsfromkey\fR [\fB\-v\ \fR\fB\fIlevel\fR\fR] [\fB\-1\fR] [\fB\-2\fR] [\fB\-a\ \fR\fB\fIalg\fR\fR] {keyfile} .HP 17 -\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} +\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\-s\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIfile\fR\fR] [\fB\-A\fR] [\fB\-v\ \fR\fB\fIlevel\fR\fR] {dnsname} .SH "DESCRIPTION" .PP \fBdnssec\-dsfromkey\fR @@ -58,9 +58,24 @@ Select the digest algorithm. The value of must be one of SHA\-1 (SHA1) or SHA\-256 (SHA256). These values are case insensitive. .RE .PP -\-v \fIlevel\fR +\-K \fIdirectory\fR .RS 4 -Sets the debugging level. +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. +.RE +.PP +\-A +.RS 4 +Include ZSK's 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. .RE .PP \-l \fIdomain\fR @@ -72,21 +87,17 @@ is appended to the name for each record in the set. .PP \-s .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. +Keyset mode: in place of the keyfile name, the argument is the DNS domain name of a keyset file. .RE .PP \-c \fIclass\fR .RS 4 -Specifies the DNS class (default is IN), useful only in the keyset mode. +Specifies the DNS class (default is IN). Useful only in keyset or zone file mode. .RE .PP -\-d \fIdirectory\fR +\-v \fIlevel\fR .RS 4 -Look for -\fIkeyset\fR -files in -\fBdirectory\fR -as the directory, ignored when not in the keyset mode. +Sets the debugging level. .RE .SH "EXAMPLE" .PP diff --git a/bin/dnssec/dnssec-dsfromkey.html b/bin/dnssec/dnssec-dsfromkey.html index 6ea4c595e5..e143f3106c 100644 --- a/bin/dnssec/dnssec-dsfromkey.html +++ b/bin/dnssec/dnssec-dsfromkey.html @@ -14,7 +14,7 @@ - PERFORMANCE OF THIS SOFTWARE. --> - +
@@ -30,17 +30,17 @@dnssec-dsfromkey [-v ] [level-1] [-2] [-a ] {keyfile}alg
dnssec-dsfromkey {-s} [-v ] [level-1] [-2] [-a ] [alg-c ] [class-d ] {dnsname}dir
dnssec-dsfromkey {-s} [-1] [-2] [-a ] [alg-K ] [directory-s] [-c ] [class-f ] [file-A] [-v ] {dnsname}level
dnssec-dsfromkey outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
@@ -57,9 +57,24 @@
algorithm must be one of SHA-1 (SHA1) or
SHA-256 (SHA256). These values are case insensitive.
leveldirectory
- Sets the debugging level.
+ Look for key files (or, in keyset mode,
+ keyset- files) in
+ directory.
+
file
+ 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 file. If the zone name is the same as
+ file, then it may be omitted.
+
+ Include ZSK's 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.
domain@@ -70,24 +85,21 @@
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. + the DNS domain name of a keyset file.
class- Specifies the DNS class (default is IN), useful only - in the keyset mode. + Specifies the DNS class (default is IN). Useful only + in keyset or zone file mode.
directorylevel
- Look for keyset files in
- directory as the directory, ignored when
- not in the keyset mode.
+ Sets the debugging level.
The keyfile can be designed by the key identification
Knnnn.+aaa+iiiii or the full file name
@@ -116,13 +128,13 @@
dnssec-keygen(8), dnssec-signzone(8), BIND 9 Administrator Reference Manual, @@ -131,7 +143,7 @@
dnssec-keyfromlabel {-a algorithm} {-l label} [-c ] [class-f ] [flag-k] [-n ] [nametype-p ] [protocol-t ] [type-v ] {name}level
dnssec-keyfromlabel {-a algorithm} {-l label} [-c ] [class-f ] [flag-k] [-K ] [directory-n ] [nametype-p ] [protocol-t ] [type-v ] {name}level
dnssec-keyfromlabel gets keys with the given label from a crypto hardware and builds key files for DNSSEC (Secure DNS), as defined in RFC 2535 @@ -39,7 +39,7 @@
algorithmdirectory+ Sets the directory in which the key files are to be written. +
Generate KEY records rather than DNSKEY records. @@ -112,7 +116,7 @@
When dnssec-keyfromlabel completes successfully, @@ -153,7 +157,7 @@
dnssec-keygen(8), dnssec-signzone(8), BIND 9 Administrator Reference Manual, @@ -163,7 +167,7 @@
dnssec-keygen [-a ] [algorithm-b ] [keysize-n ] [nametype-c ] [class-e] [-f ] [flag-g ] [generator-h] [-k] [-p ] [protocol-r ] [randomdev-s ] [strength-t ] [type-v ] {name}level
dnssec-keygen [-a ] [algorithm-b ] [keysize-n ] [nametype-3] [-A ] [date/offset-C] [-c ] [class-D ] [date/offset-e] [-f ] [flag-g ] [generator-h] [-K ] [directory-k] [-P ] [date/offset-p ] [protocol-R ] [date/offset-r ] [randomdev-s ] [strength-t ] [type-U ] [date/offset-v ] [level-z] {name}
dnssec-keygen generates keys for DNSSEC (Secure DNS), as defined in RFC 2535 and RFC 4034. It can also generate keys for use with - TSIG (Transaction Signatures), as defined in RFC 2845. + TSIG (Transaction Signatures) as defined in RFC 2845, or TKEY + (Transaction Key) as defined in RFC 2930.
algorithm
- Selects the cryptographic algorithm. The value of
- algorithm must be one of RSAMD5 (RSA) or RSASHA1,
- DSA, NSEC3RSASHA1, NSEC3DSA, DH (Diffie Hellman), or HMAC-MD5.
- These values are case insensitive. The default is RSASHA1 for
- DNSSEC key generation.
+ Selects the cryptographic algorithm. For DNSSEC keys, the value
+ of algorithm must be one of RSAMD5, RSASHA1,
+ DSA, NSEC3RSASHA1, or NSEC3DSA. For TSIG/TKEY, the value must
+ be DH (Diffie Hellman), HMAC-MD5, HMAC-SHA1, HMAC-SHA224,
+ HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512. These values are
+ case insensitive.
+
+ If no algorithm is specified, then RSASHA1 will be used by
+ default, unless the -3 option is specified,
+ in which case NSEC3RSASHA1 will be used instead.
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement @@ -57,7 +64,8 @@ mandatory.
- Note 2: HMAC-MD5 and DH automatically set the -k flag. + Note 2: DH, HMAC-MD5, and HMAC-SHA1 through HMAC-SHA512 + automatically set the -T KEY option.
keysize+
+ The key size does not need to be specified if using a default
+ algorithm. The default key size is 1024 bits for zone signing
+ keys (ZSK's) and 2048 bits for key signing keys (KSK's,
+ generated with -f KSK). However, if an
+ algorithm is explicitly specified with the -a,
+ then there is no default key size, and the -b
+ must be used.
nametype+ Use an NSEC3-capable algorithm to generate a DNSSEC key. + If this option is used and no algorithm is explicitly + set on the command line, NSEC3RSASHA1 will be used by + default. +
+ Compatibility mode: generates an old-style key, without
+ any metadata. By default, dnssec-keygen
+ will include the key's creation date in the metadata stored
+ with the private key, and other dates may be set there as well
+ (publication date, activation date, etc). Keys that include
+ this data may be incompatible with older versions of BIND; the
+ -C option suppresses them.
+
classIndicates that the DNS record containing the key should have @@ -97,7 +127,7 @@
flagSet the specified flag in the flag field of the KEY/DNSKEY record. - The only recognized flag is KSK (Key Signing Key) DNSKEY. + The only recognized flags are KSK (Key Signing Key) and REVOKE.
generator@@ -111,9 +141,13 @@ Prints a short summary of the options and arguments to dnssec-keygen.
directory+ Sets the directory in which the key files are to be written. +
- Generate KEY records rather than DNSKEY records. + Deprecated in favor of -T KEY.
protocol@@ -140,6 +174,21 @@ a number between 0 and 15, and currently has no defined purpose in DNSSEC.
rrtype
+ Specifies the resource record type to use for the key.
+ rrtype must be either DNSKEY or KEY. The
+ default is DNSKEY when using a DNSSEC algorithm, but it can be
+ overridden to KEY for use with SIG(0).
+
+
++ Using any TSIG algorithm (HMAC-* or DH) forces this option + to KEY. +
+type
Indicates the use of the key. type must be
@@ -154,7 +203,52 @@
+ Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. + If the argument begins with a '+' or '-', it is interpreted as + an offset from the present time. If such an offset is followed + by one of the characters 'y', 'm', 'w', 'd', or 'h', then the + offset is computed in years, months, weeks, days, or hours, + respectively; otherwise it is computed in seconds. +
+date/offset+ Sets the date on which a key is to be published to the zone. + After that date, the key will be included in the zone but will + not be used to sign it. +
date/offset+ Sets the date on which the key is to be activated. After that + date, the key will be included and the zone and used to sign + it. +
date/offset+ Sets the date on which the key is to be revoked. After that + date, the key will be flagged as revoked. It will be included + in the zone and will be used to sign it. +
date/offset+ Sets the date on which the key is to be unpublished. After that + date, the key will no longer be included in the zone, but it + may remain in the key repository. +
date/offset+ Sets the date on which the key is to be deleted. After that + date, the key can be removed from the key repository. + NOTE: Keys are not currently deleted automatically; this field + is included for informational purposes and for future + development. +
To generate a 768-bit DSA key for the domain
example.com, the following command would be
@@ -221,7 +315,7 @@
dnssec-signzone(8), BIND 9 Administrator Reference Manual, RFC 2539, @@ -230,7 +324,7 @@
dnssec-revoke [-hr] [-v ] [level-d ] [directory-f] {keyfile}
dnssec-revoke [-hr] [-v ] [level-K ] [directory-f] {keyfile}
Emit usage message and exit.
directorydirectorySets the directory in which the key files are to reside.
dnssec-revoke [-hr] [-K ] [directory-P ] [date/offset-A ] [date/offset-R ] [date/offset-U ] [date/offset-D ] [date/offset-v ] {keyfile}level
dnssec-settime [-fr] [-K ] [directory-P ] [date/offset-A ] [date/offset-R ] [date/offset-U ] [date/offset-D ] [date/offset-h] [-v ] {keyfile}level
dnssec-settime
- reads a DNSSEC private key file, sets the key timing metadata
+ reads a DNSSEC private key file and sets the key timing metadata
as specified by the -P, -A,
-R, -U, and -D
- options.
+ options. The metadata can then be used by
+ dnssec-signzone or other signing software to
+ determine when a key is to be published, whether it should be
+ used for signing a zone, etc.
If none of these options is set on the command line, then dnssec-settime simply prints the key timing metadata already stored in the key.
+
+ When key metadata fields are changed, both files of a key
+ pair (Knnnn.+aaa+iiiii.key and
+ Knnnn.+aaa+iiiii.private) are regenerated.
+ Metadata fields are stored in the private file. A human-readable
+ description of the metadata is also placed in comments in the key
+ file.
+
- Emit usage message and exit. + Force an update of an old-format key with no metadata fields. + Without this option, dnssec-settime will + fail when attempting to update a legacy key. With this option, + the key will be recreated in the new format, but with the + original key data retained. The key's creation date will be + set to the present time.
directorySets the directory in which the key files are to reside.
date/offset- Sets the date on which a key is to be published to the zone. - After that date, the key will be included in the zone but will - not be used to sign it. -
-- Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. - If the argument begins with a '+' or '-', it is interpreted as - an offset from the present time. If an offset is followed by - one of the characters 'y', 'm', 'w', 'd', or 'h', then the - offset is computed in years, months, weeks, days, or hours, - respectively; otherwise it is computed in seconds. -
-date/offset- Sets the date on which the key is to be activated. After that - date, the key will be included and the zone and used to sign - it. -
-
- The date/offset syntax is identical to that in the
- -P option.
-
date/offset- Sets the date on which the key is to be revoked. After that - date, the key will be flagged as revoked. It will be included - in the zone and will be used to sign it. -
-
- The date/offset syntax is identical to that in the
- -P option.
-
date/offset- Sets the date on which the key is to be unpublished. After that - date, the key will no longer be included in the zone, but it - may remain in the key repository. -
-
- The date/offset syntax is identical to that in the
- -P option.
-
date/offset- Sets the date on which the key is to be deleted. After that - date, the key can be removed from the key repository. -
-
- The date/offset syntax is identical to that in the
- -P option.
-
+ Emit usage message and exit. +
levelSets the debugging level. @@ -125,14 +82,60 @@
+ Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. + If the argument begins with a '+' or '-', it is interpreted as + an offset from the present time. If such an offset is followed + by one of the characters 'y', 'm', 'w', 'd', or 'h', then the + offset is computed in years, months, weeks, days, or hours, + respectively; otherwise it is computed in seconds. +
+date/offset+ Sets the date on which a key is to be published to the zone. + After that date, the key will be included in the zone but will + not be used to sign it. +
date/offset+ Sets the date on which the key is to be activated. After that + date, the key will be included and the zone and used to sign + it. +
date/offset+ Sets the date on which the key is to be revoked. After that + date, the key will be flagged as revoked. It will be included + in the zone and will be used to sign it. +
date/offset+ Sets the date on which the key is to be unpublished. After that + date, the key will no longer be included in the zone, but it + may remain in the key repository. +
date/offset+ Sets the date on which the key is to be deleted. After that + date, the key can be removed from the key repository. + NOTE: Keys are not currently deleted automatically; this field + is included for informational purposes and for future + development. +
dnssec-signzone [-a] [-c ] [class-d ] [directory-e ] [end-time-f ] [output-file-g] [-h] [-k ] [key-l ] [domain-i ] [interval-I ] [input-format-j ] [jitter-N ] [soa-serial-format-o ] [origin-O ] [output-format-p] [-P] [-r ] [randomdev-s ] [start-time-t] [-v ] [level-z] [-3 ] [salt-H ] [iterations-A] {zonefile} [key...]
dnssec-signzone [-a] [-c ] [class-d ] [directory-e ] [end-time-f ] [output-file-g] [-h] [-K ] [directory-k ] [key-l ] [domain-i ] [interval-I ] [input-format-j ] [jitter-N ] [soa-serial-format-o ] [origin-O ] [output-format-p] [-P] [-r ] [randomdev-S] [-s ] [start-time-T ] [ttl-t] [-v ] [level-z] [-3 ] [salt-H ] [iterations-A] {zonefile} [key...]
dnssec-signzone signs a zone. It generates NSEC and RRSIG records and produces a signed version of the @@ -43,7 +43,7 @@
@@ -53,6 +53,22 @@
Specifies the DNS class of the zone.
directory
+ Look for dsset- or
+ keyset- files in directory.
+
+ Generate DS records for child zones from
+ dsset- or keyset-
+ file. Existing DS records will be removed.
+
directory+ Key repository: Specify a directory to search for DNSSEC keys. + If not specified, defaults to the current directory. +
keyTreat specified key as a key signing key ignoring any @@ -63,16 +79,6 @@ Generate a DLV set in addition to the key (DNSKEY) and DS sets. The domain is appended to the name of the records.
directory
- Look for keyset files in
- directory as the directory
-
- Generate DS records for child zones from keyset files. - Existing DS records will be removed. -
start-time
Specify the date and time when the generated RRSIG records
@@ -227,6 +233,55 @@
keyboard indicates that keyboard
input should be used.
+ Smart signing: Instructs dnssec-signzone to + search the key repository for keys that match the zone being + signed, and to include them in the zone if appropriate. +
++ When a key is found, its timing metadata is examined to + determine how it should be used, according to the following + rules. Each successive rule takes priority over the prior + ones: +
++ If no timing metadata has been set for the key, the key is + published in the zone and used to sign the zone. +
+ If the key's publication date is set and is in the past, the + key is published in the zone. +
+ If the key's activation date is set and in the past, the + key is published (regardless of publication date) and + used to sign the zone. +
+ If the key's revocation date is set and in the past, and the + key is published, then the key is revoked, and the revoked key + is used to sign the zone. +
+ If either of the key's unpublication or deletion dates are set + and in the past, the key is NOT published or used to sign the + zone, regardless of any other metadata. +
ttl+ Specifies the TTL of new DNSKEY records imported to the zone + from the key repository. Only useful with the -S option. +
Print statistics at completion. @@ -271,7 +326,7 @@
The following command signs the example.com
zone with the DSA key generated by dnssec-keygen
@@ -300,14 +355,14 @@ db.example.com.signed
%
ddns-confgen [-a ] [algorithm-h] [-k ] [keyname-r ] [randomfile-s name | -z zone] [-q] [name]
ddns-confgen generates a key for use by nsupdate and named. It simplifies configuration @@ -75,7 +75,7 @@
dig [global-queryopt...] [query...]
dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and @@ -98,7 +98,7 @@
The -b option sets the source IP address of the query
to address. This must be a valid
@@ -248,7 +248,7 @@
dig provides a number of query options which affect the way in which lookups are made and the results displayed. Some of @@ -573,7 +573,7 @@
The BIND 9 implementation of dig supports @@ -619,7 +619,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
If dig has been built with IDN (internationalized domain name) support, it can accept and display non-ASCII domain names. @@ -633,14 +633,14 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
host(1), named(8), dnssec-keygen(8), @@ -648,7 +648,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
There are probably too many query options.
diff --git a/doc/arm/man.dnssec-dsfromkey.html b/doc/arm/man.dnssec-dsfromkey.html index 8fb828b5e3..c6621d4a5a 100644 --- a/doc/arm/man.dnssec-dsfromkey.html +++ b/doc/arm/man.dnssec-dsfromkey.html @@ -14,7 +14,7 @@ - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. --> - + @@ -48,17 +48,17 @@dnssec-dsfromkey [-v ] [level-1] [-2] [-a ] {keyfile}alg
dnssec-dsfromkey {-s} [-v ] [level-1] [-2] [-a ] [alg-c ] [class-d ] {dnsname}dir
dnssec-dsfromkey {-s} [-1] [-2] [-a ] [alg-K ] [directory-s] [-c ] [class-f ] [file-A] [-v ] {dnsname}level
dnssec-dsfromkey outputs the Delegation Signer (DS) resource record (RR), as defined in RFC 3658 and RFC 4509, for the given key(s).
@@ -75,9 +75,24 @@
algorithm must be one of SHA-1 (SHA1) or
SHA-256 (SHA256). These values are case insensitive.
leveldirectory
- Sets the debugging level.
+ Look for key files (or, in keyset mode,
+ keyset- files) in
+ directory.
+
file
+ 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 file. If the zone name is the same as
+ file, then it may be omitted.
+
+ Include ZSK's 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.
domain@@ -88,24 +103,21 @@
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. + the DNS domain name of a keyset file.
class- Specifies the DNS class (default is IN), useful only - in the keyset mode. + Specifies the DNS class (default is IN). Useful only + in keyset or zone file mode.
directorylevel
- Look for keyset files in
- directory as the directory, ignored when
- not in the keyset mode.
+ Sets the debugging level.
The keyfile can be designed by the key identification
Knnnn.+aaa+iiiii or the full file name
@@ -134,13 +146,13 @@
dnssec-keyfromlabel {-a algorithm} {-l label} [-c ] [class-f ] [flag-k] [-n ] [nametype-p ] [protocol-t ] [type-v ] {name}level
dnssec-keyfromlabel {-a algorithm} {-l label} [-c ] [class-f ] [flag-k] [-K ] [directory-n ] [nametype-p ] [protocol-t ] [type-v ] {name}level
dnssec-keyfromlabel gets keys with the given label from a crypto hardware and builds key files for DNSSEC (Secure DNS), as defined in RFC 2535 @@ -58,7 +58,7 @@
algorithmdirectory+ Sets the directory in which the key files are to be written. +
Generate KEY records rather than DNSKEY records. @@ -131,7 +135,7 @@
When dnssec-keyfromlabel completes successfully, @@ -172,7 +176,7 @@
dnssec-keygen(8), dnssec-signzone(8), BIND 9 Administrator Reference Manual, @@ -182,7 +186,7 @@
dnssec-keygen [-a ] [algorithm-b ] [keysize-n ] [nametype-c ] [class-e] [-f ] [flag-g ] [generator-h] [-k] [-p ] [protocol-r ] [randomdev-s ] [strength-t ] [type-v ] {name}level
dnssec-keygen [-a ] [algorithm-b ] [keysize-n ] [nametype-3] [-A ] [date/offset-C] [-c ] [class-D ] [date/offset-e] [-f ] [flag-g ] [generator-h] [-K ] [directory-k] [-P ] [date/offset-p ] [protocol-R ] [date/offset-r ] [randomdev-s ] [strength-t ] [type-U ] [date/offset-v ] [level-z] {name}
dnssec-keygen generates keys for DNSSEC (Secure DNS), as defined in RFC 2535 and RFC 4034. It can also generate keys for use with - TSIG (Transaction Signatures), as defined in RFC 2845. + TSIG (Transaction Signatures) as defined in RFC 2845, or TKEY + (Transaction Key) as defined in RFC 2930.
algorithm
- Selects the cryptographic algorithm. The value of
- algorithm must be one of RSAMD5 (RSA) or RSASHA1,
- DSA, NSEC3RSASHA1, NSEC3DSA, DH (Diffie Hellman), or HMAC-MD5.
- These values are case insensitive. The default is RSASHA1 for
- DNSSEC key generation.
+ Selects the cryptographic algorithm. For DNSSEC keys, the value
+ of algorithm must be one of RSAMD5, RSASHA1,
+ DSA, NSEC3RSASHA1, or NSEC3DSA. For TSIG/TKEY, the value must
+ be DH (Diffie Hellman), HMAC-MD5, HMAC-SHA1, HMAC-SHA224,
+ HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512. These values are
+ case insensitive.
+
+ If no algorithm is specified, then RSASHA1 will be used by
+ default, unless the -3 option is specified,
+ in which case NSEC3RSASHA1 will be used instead.
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement @@ -75,7 +82,8 @@ mandatory.
- Note 2: HMAC-MD5 and DH automatically set the -k flag. + Note 2: DH, HMAC-MD5, and HMAC-SHA1 through HMAC-SHA512 + automatically set the -T KEY option.
keysize+
+ The key size does not need to be specified if using a default
+ algorithm. The default key size is 1024 bits for zone signing
+ keys (ZSK's) and 2048 bits for key signing keys (KSK's,
+ generated with -f KSK). However, if an
+ algorithm is explicitly specified with the -a,
+ then there is no default key size, and the -b
+ must be used.
nametype+ Use an NSEC3-capable algorithm to generate a DNSSEC key. + If this option is used and no algorithm is explicitly + set on the command line, NSEC3RSASHA1 will be used by + default. +
+ Compatibility mode: generates an old-style key, without
+ any metadata. By default, dnssec-keygen
+ will include the key's creation date in the metadata stored
+ with the private key, and other dates may be set there as well
+ (publication date, activation date, etc). Keys that include
+ this data may be incompatible with older versions of BIND; the
+ -C option suppresses them.
+
classIndicates that the DNS record containing the key should have @@ -115,7 +145,7 @@
flagSet the specified flag in the flag field of the KEY/DNSKEY record. - The only recognized flag is KSK (Key Signing Key) DNSKEY. + The only recognized flags are KSK (Key Signing Key) and REVOKE.
generator@@ -129,9 +159,13 @@ Prints a short summary of the options and arguments to dnssec-keygen.
directory+ Sets the directory in which the key files are to be written. +
- Generate KEY records rather than DNSKEY records. + Deprecated in favor of -T KEY.
protocol@@ -158,6 +192,21 @@ a number between 0 and 15, and currently has no defined purpose in DNSSEC.
rrtype
+ Specifies the resource record type to use for the key.
+ rrtype must be either DNSKEY or KEY. The
+ default is DNSKEY when using a DNSSEC algorithm, but it can be
+ overridden to KEY for use with SIG(0).
+
+
++ Using any TSIG algorithm (HMAC-* or DH) forces this option + to KEY. +
+type
Indicates the use of the key. type must be
@@ -172,7 +221,52 @@
+ Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. + If the argument begins with a '+' or '-', it is interpreted as + an offset from the present time. If such an offset is followed + by one of the characters 'y', 'm', 'w', 'd', or 'h', then the + offset is computed in years, months, weeks, days, or hours, + respectively; otherwise it is computed in seconds. +
+date/offset+ Sets the date on which a key is to be published to the zone. + After that date, the key will be included in the zone but will + not be used to sign it. +
date/offset+ Sets the date on which the key is to be activated. After that + date, the key will be included and the zone and used to sign + it. +
date/offset+ Sets the date on which the key is to be revoked. After that + date, the key will be flagged as revoked. It will be included + in the zone and will be used to sign it. +
date/offset+ Sets the date on which the key is to be unpublished. After that + date, the key will no longer be included in the zone, but it + may remain in the key repository. +
date/offset+ Sets the date on which the key is to be deleted. After that + date, the key can be removed from the key repository. + NOTE: Keys are not currently deleted automatically; this field + is included for informational purposes and for future + development. +
To generate a 768-bit DSA key for the domain
example.com, the following command would be
@@ -239,7 +333,7 @@
dnssec-signzone(8), BIND 9 Administrator Reference Manual, RFC 2539, @@ -248,7 +342,7 @@
dnssec-revoke [-hr] [-v ] [level-d ] [directory-f] {keyfile}
dnssec-revoke [-hr] [-v ] [level-K ] [directory-f] {keyfile}
dnssec-revoke reads a DNSSEC key file, sets the REVOKED bit on the key as defined in RFC 5011, and creates a new pair of key files containing the now- @@ -58,13 +58,13 @@
Emit usage message and exit.
directorydirectorySets the directory in which the key files are to reside.
dnssec-signzone [-a] [-c ] [class-d ] [directory-e ] [end-time-f ] [output-file-g] [-h] [-k ] [key-l ] [domain-i ] [interval-I ] [input-format-j ] [jitter-N ] [soa-serial-format-o ] [origin-O ] [output-format-p] [-P] [-r ] [randomdev-s ] [start-time-t] [-v ] [level-z] [-3 ] [salt-H ] [iterations-A] {zonefile} [key...]
dnssec-signzone [-a] [-c ] [class-d ] [directory-e ] [end-time-f ] [output-file-g] [-h] [-K ] [directory-k ] [key-l ] [domain-i ] [interval-I ] [input-format-j ] [jitter-N ] [soa-serial-format-o ] [origin-O ] [output-format-p] [-P] [-r ] [randomdev-S] [-s ] [start-time-T ] [ttl-t] [-v ] [level-z] [-3 ] [salt-H ] [iterations-A] {zonefile} [key...]
dnssec-signzone signs a zone. It generates NSEC and RRSIG records and produces a signed version of the @@ -61,7 +61,7 @@
@@ -71,6 +71,22 @@
Specifies the DNS class of the zone.
directory
+ Look for dsset- or
+ keyset- files in directory.
+
+ Generate DS records for child zones from
+ dsset- or keyset-
+ file. Existing DS records will be removed.
+
directory+ Key repository: Specify a directory to search for DNSSEC keys. + If not specified, defaults to the current directory. +
keyTreat specified key as a key signing key ignoring any @@ -81,16 +97,6 @@ Generate a DLV set in addition to the key (DNSKEY) and DS sets. The domain is appended to the name of the records.
directory
- Look for keyset files in
- directory as the directory
-
- Generate DS records for child zones from keyset files. - Existing DS records will be removed. -
start-time
Specify the date and time when the generated RRSIG records
@@ -245,6 +251,55 @@
keyboard indicates that keyboard
input should be used.
+ Smart signing: Instructs dnssec-signzone to + search the key repository for keys that match the zone being + signed, and to include them in the zone if appropriate. +
++ When a key is found, its timing metadata is examined to + determine how it should be used, according to the following + rules. Each successive rule takes priority over the prior + ones: +
++ If no timing metadata has been set for the key, the key is + published in the zone and used to sign the zone. +
+ If the key's publication date is set and is in the past, the + key is published in the zone. +
+ If the key's activation date is set and in the past, the + key is published (regardless of publication date) and + used to sign the zone. +
+ If the key's revocation date is set and in the past, and the + key is published, then the key is revoked, and the revoked key + is used to sign the zone. +
+ If either of the key's unpublication or deletion dates are set + and in the past, the key is NOT published or used to sign the + zone, regardless of any other metadata. +
ttl+ Specifies the TTL of new DNSKEY records imported to the zone + from the key repository. Only useful with the -S option. +
Print statistics at completion. @@ -289,7 +344,7 @@
The following command signs the example.com
zone with the DSA key generated by dnssec-keygen
@@ -318,14 +373,14 @@ db.example.com.signed
%
| -Prev | +PrevUp | Next |
| -dnssec-revoke | +dnssec-settimeHome | named-checkconf | diff --git a/doc/arm/man.host.html b/doc/arm/man.host.html index fab5133330..afbcc463e9 100644 --- a/doc/arm/man.host.html +++ b/doc/arm/man.host.html @@ -14,7 +14,7 @@ - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. --> - + @@ -50,7 +50,7 @@