man.dnssec-dsfromkey.html revision 919c99b7a47dadd4564eb2b48be2f59216d932fc
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and distribute this software for any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - purpose with or without fee is hereby granted, provided that the above
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - PERFORMANCE OF THIS SOFTWARE.
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User<!-- $Id: man.dnssec-dsfromkey.html,v 1.17 2009/03/04 01:12:20 tbox Exp $ -->
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="prev" href="man.host.html" title="host">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="next" href="man.dnssec-keyfromlabel.html" title="dnssec-keyfromlabel">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr><th colspan="3" align="center"><span class="application">dnssec-dsfromkey</span></th></tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a accesskey="p" href="man.host.html">Prev</a>�</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="man.dnssec-dsfromkey"></a><div class="titlepage"></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span class="application">dnssec-dsfromkey</span> — DNSSEC DS RR generation tool</p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">dnssec-dsfromkey</strong></span>
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User outputs the Delegation Signer (DS) resource record (RR), as defined in
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User RFC 3658 and RFC 4509, for the given key(s).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Use SHA-1 as the digest algorithm (the default is to use
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein both SHA-1 and SHA-256).
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater Use SHA-256 as the digest algorithm.
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User Select the digest algorithm. The value of
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User <code class="option">algorithm</code> must be one of SHA-1 (SHA1) or
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User SHA-256 (SHA256). These values are case insensitive.
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User Sets the debugging level.
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User Keyset mode: in place of the keyfile name, the argument is
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User the DNS domain name of a keyset file. Following options make sense
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater only in this mode.
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User Specifies the DNS class (default is IN), useful only
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User in the keyset mode.
bbbf2e27d3a981163dab139497d6b2dc85449db0Tinderbox User<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User Look for <code class="filename">keyset</code> files in
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User <code class="option">directory</code> as the directory, ignored when
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User not in the keyset mode.
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User To build the SHA-256 DS RR from the
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User <strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
bcf15a19ae0efa72a22cdfb50666a3c6ce39eb9fTinderbox User keyfile name, the following command would be issued:
bcf15a19ae0efa72a22cdfb50666a3c6ce39eb9fTinderbox User<p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User The command would print something like:
983df82baf1d7d0b668c98cf45928a19f175c6e7Tinderbox User<p><strong class="userinput"><code>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</code></strong>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The keyfile can be designed by the key identification
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">Knnnn.+aaa+iiiii.key</code> as generated by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span class="refentrytitle">dnssec-keygen</span>(8).
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The keyset file name is built from the <code class="option">directory</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the string <code class="filename">keyset-</code> and the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A keyfile error can give a "file not found" even if the file exists.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater <span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <em class="citetitle">BIND 9 Administrator Reference Manual</em>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span class="corpauthor">Internet Systems Consortium</span>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews<a accesskey="p" href="man.host.html">Prev</a>�</td>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<td width="40%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<td width="40%" align="left" valign="top">host�</td>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<td width="40%" align="right" valign="top">�<span class="application">dnssec-keyfromlabel</span>