dnssec-dsfromkey.html revision dde8659175c5798267fb0fdefd7576e4efe271b3
dde8659175c5798267fb0fdefd7576e4efe271b3Automatic Updater - Copyright (C) 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - purpose with or without fee is hereby granted, provided that the above
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - copyright notice and this permission notice appear in all copies.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - PERFORMANCE OF THIS SOFTWARE.
dde8659175c5798267fb0fdefd7576e4efe271b3Automatic Updater<!-- $Id: dnssec-dsfromkey.html,v 1.8 2009/06/17 23:53:04 tbox Exp $ -->
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<a name="man.dnssec-dsfromkey"></a><div class="titlepage"></div>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<p><span class="application">dnssec-dsfromkey</span> — DNSSEC DS RR generation tool</p>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<div class="cmdsynopsis"><p><code class="command">dnssec-dsfromkey</code> [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-1</code>] [<code class="option">-2</code>] [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>] {keyfile}</p></div>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<div class="cmdsynopsis"><p><code class="command">dnssec-dsfromkey</code> {-s} [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-1</code>] [<code class="option">-2</code>] [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>dir</code></em></code>] {dnsname}</p></div>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<a name="id2543424"></a><h2>DESCRIPTION</h2>
922312472e2e05ebc64993d465999c5351b83036Automatic Updater<p><span><strong class="command">dnssec-dsfromkey</strong></span>
b27ce68bae92006e2ad7a9b75602c6385e529c3bAutomatic Updater outputs the Delegation Signer (DS) resource record (RR), as defined in
922312472e2e05ebc64993d465999c5351b83036Automatic Updater RFC 3658 and RFC 4509, for the given key(s).
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Use SHA-1 as the digest algorithm (the default is to use
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews both SHA-1 and SHA-256).
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Use SHA-256 as the digest algorithm.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Select the digest algorithm. The value of
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <code class="option">algorithm</code> must be one of SHA-1 (SHA1) or
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews SHA-256 (SHA256). These values are case insensitive.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Sets the debugging level.
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt Generate a DLV set instead of a DS set. The specified
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt <code class="option">domain</code> is appended to the name for each
b272d38cc5d24f64c0647a9afb340c21c4b9aaf7Evan Hunt record in the set.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Keyset mode: in place of the keyfile name, the argument is
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews the DNS domain name of a keyset file. Following options make sense
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews only in this mode.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Specifies the DNS class (default is IN), useful only
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews in the keyset mode.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Look for <code class="filename">keyset</code> files in
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <code class="option">directory</code> as the directory, ignored when
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews not in the keyset mode.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews To build the SHA-256 DS RR from the
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews keyfile name, the following command would be issued:
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The command would print something like:
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<p><strong class="userinput"><code>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</code></strong>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The keyfile can be designed by the key identification
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
b27ce68bae92006e2ad7a9b75602c6385e529c3bAutomatic Updater <code class="filename">Knnnn.+aaa+iiiii.key</code> as generated by
922312472e2e05ebc64993d465999c5351b83036Automatic Updater <span class="refentrytitle">dnssec-keygen</span>(8).
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The keyset file name is built from the <code class="option">directory</code>,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews the string <code class="filename">keyset-</code> and the
922312472e2e05ebc64993d465999c5351b83036Automatic Updater A keyfile error can give a "file not found" even if the file exists.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <em class="citetitle">BIND 9 Administrator Reference Manual</em>,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<p><span class="corpauthor">Internet Systems Consortium</span>