man.dnssec-dsfromkey.html revision 0284e57b9b9dfaf2517a2cc3282ecf766b8ad075
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - Copyright (C) 2000-2003 Internet Software Consortium.
78fa3c578c14ee8a612f86cf73b6181c7f16463fTimo Sirainen - Permission to use, copy, modify, and/or distribute this software for any
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - purpose with or without fee is hereby granted, provided that the above
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - copyright notice and this permission notice appear in all copies.
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen - PERFORMANCE OF THIS SOFTWARE.
6ec925f52d04ec8700e47cb005bd7ddc65ac5614Timo Sirainen<!-- $Id: man.dnssec-dsfromkey.html,v 1.57 2010/05/15 01:14:24 tbox Exp $ -->
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<link rel="prev" href="man.host.html" title="host">
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen<link rel="next" href="man.dnssec-keyfromlabel.html" title="dnssec-keyfromlabel">
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
5323bec1c24184863a13bc14a2dc9487093eea3dTimo Sirainen<table width="100%" summary="Navigation header">
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<tr><th colspan="3" align="center"><span class="application">dnssec-dsfromkey</span></th></tr>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<a accesskey="p" href="man.host.html">Prev</a>�</td>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<th width="60%" align="center">Manual pages</th>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
c60178b2610a9b193ff72aa18448398ef72529a1Timo Sirainen<a name="man.dnssec-dsfromkey"></a><div class="titlepage"></div>
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen<p><span class="application">dnssec-dsfromkey</span> — DNSSEC DS RR generation tool</p>
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen<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>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] {keyfile}</p></div>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<div class="cmdsynopsis"><p><code class="command">dnssec-dsfromkey</code> {-s} [<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">-K <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-s</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>file</code></em></code>] [<code class="option">-A</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] {dnsname}</p></div>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<p><span><strong class="command">dnssec-dsfromkey</strong></span>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen outputs the Delegation Signer (DS) resource record (RR), as defined in
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen RFC 3658 and RFC 4509, for the given key(s).
78fa3c578c14ee8a612f86cf73b6181c7f16463fTimo Sirainen Use SHA-1 as the digest algorithm (the default is to use
78fa3c578c14ee8a612f86cf73b6181c7f16463fTimo Sirainen both SHA-1 and SHA-256).
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen Use SHA-256 as the digest algorithm.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen Select the digest algorithm. The value of
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen <code class="option">algorithm</code> must be one of SHA-1 (SHA1) or
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen SHA-256 (SHA256). These values are case insensitive.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen Look for key files (or, in keyset mode,
78fa3c578c14ee8a612f86cf73b6181c7f16463fTimo Sirainen <code class="filename">keyset-</code> files) in
78fa3c578c14ee8a612f86cf73b6181c7f16463fTimo Sirainen<dt><span class="term">-f <em class="replaceable"><code>file</code></em></span></dt>
617e13833c798435e2be425b99c27ecaad1b8393Timo Sirainen Zone file mode: in place of the keyfile name, the argument is
617e13833c798435e2be425b99c27ecaad1b8393Timo Sirainen the DNS domain name of a zone master file, which can be read
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen from <code class="option">file</code>. If the zone name is the same as
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen <code class="option">file</code>, then it may be omitted.
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen Include ZSK's when generating DS records. Without this option,
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen only keys which have the KSK flag set will be converted to DS
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen records and printed. Useful only in zone file mode.
617e13833c798435e2be425b99c27ecaad1b8393Timo Sirainen<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen Generate a DLV set instead of a DS set. The specified
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen <code class="option">domain</code> is appended to the name for each
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen record in the set.
7487ff578435377bbeefffdbfb78ca09ed1292dfTimo Sirainen The DNSSEC Lookaside Validation (DLV) RR is described
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen Keyset mode: in place of the keyfile name, the argument is
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen the DNS domain name of a keyset file.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen Specifies the DNS class (default is IN). Useful only
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen in keyset or zone file mode.
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen Sets the debugging level.
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen To build the SHA-256 DS RR from the
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen <strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen keyfile name, the following command would be issued:
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen The command would print something like:
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<p><strong class="userinput"><code>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</code></strong>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen The keyfile can be designed by the key identification
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen <code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen <code class="filename">Knnnn.+aaa+iiiii.key</code> as generated by
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen <span class="refentrytitle">dnssec-keygen</span>(8).
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen The keyset file name is built from the <code class="option">directory</code>,
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen the string <code class="filename">keyset-</code> and the
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen A keyfile error can give a "file not found" even if the file exists.
d74c7c6d900f7b38017403a0da9106b8a6c647b2Timo Sirainen<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
d74c7c6d900f7b38017403a0da9106b8a6c647b2Timo Sirainen <span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen <em class="citetitle">BIND 9 Administrator Reference Manual</em>,
5323bec1c24184863a13bc14a2dc9487093eea3dTimo Sirainen<p><span class="corpauthor">Internet Systems Consortium</span>
5323bec1c24184863a13bc14a2dc9487093eea3dTimo Sirainen<table width="100%" summary="Navigation footer">
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<a accesskey="p" href="man.host.html">Prev</a>�</td>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<td width="40%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
5323bec1c24184863a13bc14a2dc9487093eea3dTimo Sirainen<td width="40%" align="left" valign="top">host�</td>
d74c7c6d900f7b38017403a0da9106b8a6c647b2Timo Sirainen<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
36689df65df7edb8b5d707d7c60abe67662605e7Timo Sirainen<td width="40%" align="right" valign="top">�<span class="application">dnssec-keyfromlabel</span>