man.dnssec-dsfromkey.html revision b27ce68bae92006e2ad7a9b75602c6385e529c3b
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<!--
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User - Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - Permission to use, copy, modify, and/or distribute this software for any
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - purpose with or without fee is hereby granted, provided that the above
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - copyright notice and this permission notice appear in all copies.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews-->
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User<!-- $Id: man.dnssec-dsfromkey.html,v 1.5 2008/11/08 01:11:47 tbox Exp $ -->
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<html>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<head>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<title>dnssec-dsfromkey</title>
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont<link rel="prev" href="man.host.html" title="host">
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<link rel="next" href="man.dnssec-keyfromlabel.html" title="dnssec-keyfromlabel">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</head>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="navheader">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<table width="100%" summary="Navigation header">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr><th colspan="3" align="center"><span class="application">dnssec-dsfromkey</span></th></tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td width="20%" align="left">
28b3569d6248168e6c00caab951521cc8141a49dAutomatic Updater<a accesskey="p" href="man.host.html">Prev</a>�</td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<th width="60%" align="center">Manual pages</th>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</table>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<hr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="refentry" lang="en">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a name="man.dnssec-dsfromkey"></a><div class="titlepage"></div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="refnamediv">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<h2>Name</h2>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span class="application">dnssec-dsfromkey</span> &#8212; DNSSEC DS RR generation tool</p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="refsynopsisdiv">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<h2>Synopsis</h2>
6f1205897504b8f50b1785975482c995888dd630Tinderbox User<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>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark 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>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User<div class="refsect1" lang="en">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a name="id2602709"></a><h2>DESCRIPTION</h2>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p><span><strong class="command">dnssec-dsfromkey</strong></span>
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews outputs the Delegation Signer (DS) resource record (RR), as defined in
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater RFC 3658 and RFC 4509, for the given key(s).
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic Updater<div class="refsect1" lang="en">
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic Updater<a name="id2602723"></a><h2>OPTIONS</h2>
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic Updater<div class="variablelist"><dl>
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic Updater<dt><span class="term">-1</span></dt>
ad671240d635376dd8681550eebee799d2e3d1fdAutomatic Updater<dd><p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Use SHA-1 as the digest algorithm (the default is to use
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews both SHA-1 and SHA-256).
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-2</span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dd><p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Use SHA-256 as the digest algorithm.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dd><p>
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User Select the digest algorithm. The value of
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User <code class="option">algorithm</code> must be one of SHA-1 (SHA1) or
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater SHA-256 (SHA256). These values are case insensitive.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater </p></dd>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dd><p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater Sets the debugging level.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater </p></dd>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-s</span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dd><p>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater Keyset mode: in place of the keyfile name, the argument is
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater the DNS domain name of a keyset file. Following options make sense
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater only in this mode.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dd><p>
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater Specifies the DNS class (default is IN), useful only
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater in the keyset mode.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term">-d <em class="replaceable"><code>directory</code></em></span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dd><p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater Look for <code class="filename">keyset</code> files in
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="option">directory</code> as the directory, ignored when
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews not in the keyset mode.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater</dl></div>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater</div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="refsect1" lang="en">
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater<a name="id2602989"></a><h2>EXAMPLE</h2>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews To build the SHA-256 DS RR from the
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater <strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User keyfile name, the following command would be issued:
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User </p>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater </p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater The command would print something like:
6478b87fd23bcd3ab74c25b261021fe19a239c4fTinderbox User </p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<p><strong class="userinput"><code>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</code></strong>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater </p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater</div>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<div class="refsect1" lang="en">
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<a name="id2603026"></a><h2>FILES</h2>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The keyfile can be designed by the key identification
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="filename">Knnnn.+aaa+iiiii.key</code> as generated by
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span class="refentrytitle">dnssec-keygen</span>(8).
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The keyset file name is built from the <code class="option">directory</code>,
2f8d63983c297c62630044d28a6f66676b4d339dMark Andrews the string <code class="filename">keyset-</code> and the
2f8d63983c297c62630044d28a6f66676b4d339dMark Andrews <code class="option">dnsname</code>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater</div>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<div class="refsect1" lang="en">
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<a name="id2603067"></a><h2>CAVEAT</h2>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater A keyfile error can give a "file not found" even if the file exists.
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User </p>
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User</div>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater<div class="refsect1" lang="en">
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<a name="id2603418"></a><h2>SEE ALSO</h2>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <em class="citetitle">BIND 9 Administrator Reference Manual</em>,
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <em class="citetitle">RFC 3658</em>,
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <em class="citetitle">RFC 4509</em>.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater </p>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater</div>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<div class="refsect1" lang="en">
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<a name="id2603454"></a><h2>AUTHOR</h2>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<p><span class="corpauthor">Internet Systems Consortium</span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="navfooter">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<hr>
8ec3c085233cedb22b05da36e2773c8f357a7e45Automatic Updater<table width="100%" summary="Navigation footer">
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<tr>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<td width="40%" align="left">
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<a accesskey="p" href="man.host.html">Prev</a>�</td>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<td width="40%" align="right">�<a accesskey="n" href="man.dnssec-keyfromlabel.html">Next</a>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User</td>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User</tr>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<tr>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<td width="40%" align="left" valign="top">host�</td>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User<td width="40%" align="right" valign="top">�<span class="application">dnssec-keyfromlabel</span>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User</td>
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</table>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</body>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater</html>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews