307N/A - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 307N/A - Copyright (C) 2001-2003 Internet Software Consortium. 307N/A - Permission to use, copy, modify, and distribute this software for any 307N/A - purpose with or without fee is hereby granted, provided that the above 307N/A - copyright notice and this permission notice appear in all copies. 307N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 307N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 307N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 307N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 307N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 307N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 307N/A - PERFORMANCE OF THIS SOFTWARE. 307N/ACONTENT="Modular DocBook HTML Stylesheet Version 1.73 307N/A> -- DNSSEC key generation tool</
DIV > generates keys for DNSSEC
(Secure DNS), as defined in RFC 2535. It can also generate
keys for use with TSIG (Transaction Signatures), as
> Selects the cryptographic algorithm. The value of
> must be one of RSAMD5 or RSA,
DSA, DH (Diffie Hellman), or HMAC-MD5. These values
> Note that for DNSSEC, DSA is a mandatory to implement algorithm,
and RSA is recommended. For TSIG, HMAC-MD5 is mandatory.
> Specifies the number of bits in the key. The choice of key
size depends on the algorithm used. RSA keys must be between
512 and 2048 bits. Diffie Hellman keys must be between
128 and 4096 bits. DSA keys must be between 512 and 1024
bits and an exact multiple of 64. HMAC-MD5 keys must be
> Specifies the owner type of the key. The value of
> must either be ZONE (for a DNSSEC
zone key), HOST or ENTITY (for a key associated with a host),
or USER (for a key associated with a user). These values are
> Indicates that the DNS record containing the key should have
the specified class. If not specified, class IN is used.
> If generating an RSA key, use a large exponent.
> Set the specified flag in the flag field of the key record.
The only recognized flag is KSK (Key Signing Key).
> If generating a Diffie Hellman key, use this generator.
Allowed values are 2 and 5. If no generator
is specified, a known prime from RFC 2539 will be used
if possible; otherwise the default is 2.
> Prints a short summary of the options and arguments to
> Sets the protocol value for the generated key. The protocol
is a number between 0 and 255. The default is 3 (DNSSEC).
Other possible values for this argument are listed in
RFC 2535 and its successors.
> Specifies the source of randomness. If the operating
system does not provide a <
TT or equivalent device, the default source of randomness
the name of a character device or file containing random
data to be used instead of the default. The special value
> indicates that keyboard
> Specifies the strength value of the key. The strength is
a number between 0 and 15, and currently has no defined
> Indicates the use of the key. <
TT one of AUTHCONF, NOAUTHCONF, NOAUTH, or NOCONF. The default
is AUTHCONF. AUTH refers to the ability to authenticate
data, and CONF the ability to encrypt data.
> Sets the debugging level.
> completes successfully,
it prints a string of the form <
TT to the standard output. This is an identification string for
the key it has generated. These strings can be used as arguments
> is the numeric representation of the
> is the key identifier (or footprint).
> creates two file, with names based
on the printed string. <
TT contains the public key, and
> file contains a DNS KEY record that
can be inserted into a zone file (directly or with a $INCLUDE
> file contains algorithm specific
fields. For obvious security reasons, this file does not have
files are generated for symmetric encryption algorithm such as
HMAC-MD5, even though the public and private key are equivalent.
> To generate a 768-bit DSA key for the domain
>, the following command would be
> The command would print a string of the form:
>BIND 9 Administrator Reference Manual</
I> Internet Software Consortium