man.dnssec-keygen.html revision acb72d5e2c83b597332e3eb0c7d59e1142f1adfd
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - Copyright (C) 2000-2003 Internet Software Consortium.
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - Permission to use, copy, modify, and distribute this software for any
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - purpose with or without fee is hereby granted, provided that the above
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - copyright notice and this permission notice appear in all copies.
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
08671a490b9ea774c512fab8f3da14496a91820bvboxsync - PERFORMANCE OF THIS SOFTWARE.
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<!-- $Id: man.dnssec-keygen.html,v 1.35 2006/12/04 20:51:25 marka Exp $ -->
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<link rel="next" href="man.dnssec-signzone.html" title="dnssec-signzone">
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<tr><th colspan="3" align="center"><span class="application">dnssec-keygen</span></th></tr>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<a accesskey="p" href="man.host.html">Prev</a>�</td>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-signzone.html">Next</a>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<a name="man.dnssec-keygen"></a><div class="titlepage"></div>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<p><span class="application">dnssec-keygen</span> — DNSSEC key generation tool</p>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<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>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<p><span><strong class="command">dnssec-keygen</strong></span>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync generates keys for DNSSEC (Secure DNS), as defined in RFC 2535
08671a490b9ea774c512fab8f3da14496a91820bvboxsync and RFC <TBA\>. It can also generate keys for use with
08671a490b9ea774c512fab8f3da14496a91820bvboxsync TSIG (Transaction Signatures), as defined in RFC 2845.
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync Selects the cryptographic algorithm. The value of
08671a490b9ea774c512fab8f3da14496a91820bvboxsync <code class="option">algorithm</code> must be one of RSAMD5 (RSA) or RSASHA1,
08671a490b9ea774c512fab8f3da14496a91820bvboxsync DSA, DH (Diffie Hellman), or HMAC-MD5. These values
08671a490b9ea774c512fab8f3da14496a91820bvboxsync are case insensitive.
08671a490b9ea774c512fab8f3da14496a91820bvboxsync Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
08671a490b9ea774c512fab8f3da14496a91820bvboxsync and DSA is recommended. For TSIG, HMAC-MD5 is mandatory.
08671a490b9ea774c512fab8f3da14496a91820bvboxsync Note 2: HMAC-MD5 and DH automatically set the -k flag.
08671a490b9ea774c512fab8f3da14496a91820bvboxsync<dt><span class="term">-b <em class="replaceable"><code>keysize</code></em></span></dt>
08671a490b9ea774c512fab8f3da14496a91820bvboxsync Specifies the number of bits in the key. The choice of key