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