man.dnssec-keygen.html revision 3b4098640dd85040270f39b9a5ee5e22de99d3d6
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User - Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater - Copyright (C) 2000-2003 Internet Software Consortium.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - Permission to use, copy, modify, and distribute this software for any
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - purpose with or without fee is hereby granted, provided that the above
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - copyright notice and this permission notice appear in all copies.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
bef75d63d74f58abc0f834ed271526672777ba29Automatic Updater - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater - PERFORMANCE OF THIS SOFTWARE.
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User<!-- $Id: man.dnssec-keygen.html,v 1.13 2006/01/06 01:55:39 marka Exp $ -->
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
fdd80e9a55c70b36a3bf3e409b86897301c44ff8Automatic Updater<link rel="prev" href="man.host.html" title="host">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<link rel="next" href="man.dnssec-signzone.html" title="dnssec-signzone">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<table width="100%" summary="Navigation header">
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<tr><th colspan="3" align="center"><span class="application">dnssec-keygen</span></th></tr>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<a accesskey="p" href="man.host.html">Prev</a>�</td>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<th width="60%" align="center">Manual pages</th>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-signzone.html">Next</a>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<a name="man.dnssec-keygen"></a><div class="titlepage"></div>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<p><span class="application">dnssec-keygen</span> — DNSSEC key generation tool</p>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<div class="cmdsynopsis"><p><code class="command">dnssec-keygen</code> {-a <em class="replaceable"><code>algorithm</code></em>} {-b <em class="replaceable"><code>keysize</code></em>} {-n <em class="replaceable"><code>nametype</code></em>} [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-e</code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-g <em class="replaceable"><code>generator</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k</code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-s <em class="replaceable"><code>strength</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] {name}</p></div>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<a name="id2578521"></a><h2>DESCRIPTION</h2>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<p><span><strong class="command">dnssec-keygen</strong></span>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater generates keys for DNSSEC (Secure DNS), as defined in RFC 2535
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater and RFC <TBA\>. It can also generate keys for use with
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater TSIG (Transaction Signatures), as defined in RFC 2845.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater Selects the cryptographic algorithm. The value of
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater <code class="option">algorithm</code> must be one of RSAMD5 (RSA) or RSASHA1,
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater DSA, DH (Diffie Hellman), or HMAC-MD5. These values
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater are case insensitive.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater and DSA is recommended. For TSIG, HMAC-MD5 is mandatory.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater Note 2: HMAC-MD5 and DH automatically set the -k flag.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<dt><span class="term">-b <em class="replaceable"><code>keysize</code></em></span></dt>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater Specifies the number of bits in the key. The choice of key
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User size depends on the algorithm used. RSAMD5 / RSASHA1 keys must be
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater 512 and 2048 bits. Diffie Hellman keys must be between
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater 128 and 4096 bits. DSA keys must be between 512 and 1024
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater bits and an exact multiple of 64. HMAC-MD5 keys must be
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater between 1 and 512 bits.
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User<dt><span class="term">-n <em class="replaceable"><code>nametype</code></em></span></dt>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater Specifies the owner type of the key. The value of
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater <code class="option">nametype</code> must either be ZONE (for a DNSSEC
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater a host (KEY)),
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater USER (for a key associated with a user(KEY)) or OTHER (DNSKEY).
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater These values are
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater case insensitive.
fdd80e9a55c70b36a3bf3e409b86897301c44ff8Automatic Updater<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater Indicates that the DNS record containing the key should have
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater the specified class. If not specified, class IN is used.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater If generating an RSAMD5/RSASHA1 key, use a large exponent.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<dt><span class="term">-f <em class="replaceable"><code>flag</code></em></span></dt>
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater Set the specified flag in the flag field of the KEY/DNSKEY record.
30c0c7470d5bfabd8f43c563f4eca636d06cc484Tinderbox User The only recognized flag is KSK (Key Signing Key) DNSKEY.
fc2381b901eb162810f54a11cc512b95f55a60dfAutomatic Updater<dt><span class="term">-g <em class="replaceable"><code>generator</code></em></span></dt>