man.dnssec-dsfromkey.html revision 3cddb2c552ee6582e8db0849c28747f6b6ca57fe
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - Copyright (C) 2000-2003 Internet Software Consortium.
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - Permission to use, copy, modify, and/or distribute this software for any
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - purpose with or without fee is hereby granted, provided that the above
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - copyright notice and this permission notice appear in all copies.
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3f08db06526d6901aa08c110b5bc7dde6bc39905nd - PERFORMANCE OF THIS SOFTWARE.
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<!-- $Id: man.dnssec-dsfromkey.html,v 1.31 2009/07/15 01:13:10 tbox Exp $ -->
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
bc9d4698fce0238d2f6f2682e99423ebb1149976rbowen<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end<link rel="next" href="man.dnssec-keyfromlabel.html" title="dnssec-keyfromlabel">
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem<tr><th colspan="3" align="center"><span class="application">dnssec-dsfromkey</span></th></tr>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<a name="man.dnssec-dsfromkey"></a><div class="titlepage"></div>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<p><span class="application">dnssec-dsfromkey</span> — DNSSEC DS RR generation tool</p>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<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>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<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>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<p><span><strong class="command">dnssec-dsfromkey</strong></span>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd outputs the Delegation Signer (DS) resource record (RR), as defined in
d972e4a0688f66b1402473dd9dacfecefa2132a8rbowen RFC 3658 and RFC 4509, for the given key(s).
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd Use SHA-1 as the digest algorithm (the default is to use
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd both SHA-1 and SHA-256).
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd Use SHA-256 as the digest algorithm.
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
22d5d84393d960a2027f472036f3fee15d7dbce9nd Select the digest algorithm. The value of
22d5d84393d960a2027f472036f3fee15d7dbce9nd <code class="option">algorithm</code> must be one of SHA-1 (SHA1) or
22d5d84393d960a2027f472036f3fee15d7dbce9nd SHA-256 (SHA256). These values are case insensitive.
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
50c04f297d76a57ead2fa6b73845f7563b1fc788sf Sets the debugging level.
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd Generate a DLV set instead of a DS set. The specified
635e08c1d8332adc365b1c20bbe3577d59ebcd78kess <code class="option">domain</code> is appended to the name for each
623eebe956d9c2d6d073ed3eae855b56030b40e9noodl record in the set.
909ce17e2bd0faef7b1c294f2307f009793fd493nd Keyset mode: in place of the keyfile name, the argument is
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd the DNS domain name of a keyset file. Following options make sense
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd only in this mode.
cd34a6fbf0a2619544a72eadb73f309370bf6682wrowe<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
42af92a661a06b3cebc88d585aad75064a309d51nd Specifies the DNS class (default is IN), useful only
ffb88a4885747797937e30a5ac8b1606da3cb4adnd in the keyset mode.
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd <code class="option">directory</code> as the directory, ignored when
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd not in the keyset mode.
78f97ce162b66a0dbfd7af4dcd9984f162569b04minfrin To build the SHA-256 DS RR from the
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd <strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd keyfile name, the following command would be issued:
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
7906201913b68fe78b9d6a22ab33bf21d82c490eminfrin The command would print something like:
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<p><strong class="userinput"><code>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</code></strong>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd The keyfile can be designed by the key identification
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd <code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
611049e38bfbaeb173d2d7fab2e44a48753436a1nd <code class="filename">Knnnn.+aaa+iiiii.key</code> as generated by
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd The keyset file name is built from the <code class="option">directory</code>,
03a4ff9ac4c9b8009249010e7c53bb86ff05915and A keyfile error can give a "file not found" even if the file exists.
d0828c8a321dc5e9ea60550f052294669c08cf93jim<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd <span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
6329991d5f023c1c4ae02cfbbda636c66e6392aand <em class="citetitle">BIND 9 Administrator Reference Manual</em>,
2704de98885368683621b01c8f8f4e4b01557611takashi<p><span class="corpauthor">Internet Systems Consortium</span>
cd6c8de3bedcc401ee230159b0439fa20f44488etakashi<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<td width="40%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
b05ab3ff5ab54aa22610b13d56eaba6ddfc3db60nd<td width="40%" align="right" valign="top">�<span class="application">dnssec-keyfromlabel</span>