dnssec-keygen.docbook revision eec29cfd40361662b25bad50e1b94f7738a8fea0
2cacab200fb387e290386593d9b2fca2e7beef33csovant<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
2cacab200fb387e290386593d9b2fca2e7beef33csovant "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
2cacab200fb387e290386593d9b2fca2e7beef33csovant [<!ENTITY mdash "—">]>
2cacab200fb387e290386593d9b2fca2e7beef33csovant - Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
2cacab200fb387e290386593d9b2fca2e7beef33csovant - Copyright (C) 2000-2003 Internet Software Consortium.
2cacab200fb387e290386593d9b2fca2e7beef33csovant - Permission to use, copy, modify, and/or distribute this software for any
2cacab200fb387e290386593d9b2fca2e7beef33csovant - purpose with or without fee is hereby granted, provided that the above
2cacab200fb387e290386593d9b2fca2e7beef33csovant - copyright notice and this permission notice appear in all copies.
2cacab200fb387e290386593d9b2fca2e7beef33csovant - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
2cacab200fb387e290386593d9b2fca2e7beef33csovant - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2cacab200fb387e290386593d9b2fca2e7beef33csovant - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
2cacab200fb387e290386593d9b2fca2e7beef33csovant - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2cacab200fb387e290386593d9b2fca2e7beef33csovant - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
2cacab200fb387e290386593d9b2fca2e7beef33csovant - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2cacab200fb387e290386593d9b2fca2e7beef33csovant - PERFORMANCE OF THIS SOFTWARE.
2cacab200fb387e290386593d9b2fca2e7beef33csovant<!-- $Id: dnssec-keygen.docbook,v 1.30 2009/10/16 15:37:01 jreed Exp $ -->
2cacab200fb387e290386593d9b2fca2e7beef33csovant <refentryinfo>
d6b1be7037488b905b5c6330ba50269a01635bf7csovant </refentryinfo>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <refentrytitle><application>dnssec-keygen</application></refentrytitle>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <refnamediv>
2cacab200fb387e290386593d9b2fca2e7beef33csovant <refname><application>dnssec-keygen</application></refname>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant </refnamediv>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <copyright>
f9fdabbe3ac731fa9c04b95ec6864f6b0e2c34a2csovant <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiot </copyright>
30bc8f42b7a3f724edb7cbc8e4e22e84e86c34cemadiot <copyright>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant </copyright>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <refsynopsisdiv>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <cmdsynopsis>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-a <replaceable class="parameter">algorithm</replaceable></option></arg>
62ecec3a82a8b838ee76c1f6610902d8fd7015cbmatthew_swift <arg ><option>-b <replaceable class="parameter">keysize</replaceable></option></arg>
62ecec3a82a8b838ee76c1f6610902d8fd7015cbmatthew_swift <arg><option>-n <replaceable class="parameter">nametype</replaceable></option></arg>
62ecec3a82a8b838ee76c1f6610902d8fd7015cbmatthew_swift <arg><option>-A <replaceable class="parameter">date/offset</replaceable></option></arg>
62ecec3a82a8b838ee76c1f6610902d8fd7015cbmatthew_swift <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-D <replaceable class="parameter">date/offset</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-E <replaceable class="parameter">engine</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-f <replaceable class="parameter">flag</replaceable></option></arg>
f5aaa49dba43db0e99f06476534a8749820515dbcsovant <arg><option>-g <replaceable class="parameter">generator</replaceable></option></arg>
f5aaa49dba43db0e99f06476534a8749820515dbcsovant <arg><option>-I <replaceable class="parameter">date/offset</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-K <replaceable class="parameter">directory</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-P <replaceable class="parameter">date/offset</replaceable></option></arg>
62ecec3a82a8b838ee76c1f6610902d8fd7015cbmatthew_swift <arg><option>-p <replaceable class="parameter">protocol</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-R <replaceable class="parameter">date/offset</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-r <replaceable class="parameter">randomdev</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-s <replaceable class="parameter">strength</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-t <replaceable class="parameter">type</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <arg><option>-v <replaceable class="parameter">level</replaceable></option></arg>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant </cmdsynopsis>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant </refsynopsisdiv>
471bdba2108ce1967325d949b1bf2b6944ac3b68ludo generates keys for DNSSEC (Secure DNS), as defined in RFC 2535
2cacab200fb387e290386593d9b2fca2e7beef33csovant and RFC 4034. It can also generate keys for use with
f5aaa49dba43db0e99f06476534a8749820515dbcsovant TSIG (Transaction Signatures) as defined in RFC 2845, or TKEY
f5aaa49dba43db0e99f06476534a8749820515dbcsovant (Transaction Key) as defined in RFC 2930.
2cacab200fb387e290386593d9b2fca2e7beef33csovant The <option>name</option> of the key is specified on the command
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant line. For DNSSEC keys, this must match the name of the zone for
d81f6d00c343633159fc5ea08599d145135612c0ludovicp which the key is being generated.
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant </refsect1>
d81f6d00c343633159fc5ea08599d145135612c0ludovicp <variablelist>
2cacab200fb387e290386593d9b2fca2e7beef33csovant <varlistentry>
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant <term>-a <replaceable class="parameter">algorithm</replaceable></term>
2cacab200fb387e290386593d9b2fca2e7beef33csovant Selects the cryptographic algorithm. For DNSSEC keys, the value
b73400027a532e959a9d7bd2de7c11fd31abc2ebmadiot of <option>algorithm</option> must be one of RSAMD5, RSASHA1,
62ecec3a82a8b838ee76c1f6610902d8fd7015cbmatthew_swift DSA, NSEC3RSASHA1, or NSEC3DSA. For TSIG/TKEY, the value must
f5aaa49dba43db0e99f06476534a8749820515dbcsovant be DH (Diffie Hellman), HMAC-MD5, HMAC-SHA1, HMAC-SHA224,
23f633e1b8cc53fdac740eca4ab7e0341890bba2csovant HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512. These values are
7f086ee299e1aac25ddd618b5c33c74a26d14beegary.williams case insensitive.
3c437100238466d9ec716e5491bebfc4c94b13b8csovant If no algorithm is specified, then RSASHA1 will be used by
90504765059fc59c00f751b5f482c87521fab4cfgary.williams default, unless the <option>-3</option> option is specified,
62ecec3a82a8b838ee76c1f6610902d8fd7015cbmatthew_swift in which case NSEC3RSASHA1 will be used instead.
d81f6d00c343633159fc5ea08599d145135612c0ludovicp Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
ff542c9adb1e1f109168c9a12ad118e4038196c8csovant algorithm, and DSA is recommended. For TSIG, HMAC-MD5 is