man.dnssec-dsfromkey.html revision 14a656f94b1fd0ababd84a772228dfa52276ba15
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User - Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
6a42ab64276ff832a47e009be1208f7c7d4da22dAutomatic Updater - Copyright (C) 2000-2003 Internet Software Consortium.
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - purpose with or without fee is hereby granted, provided that the above
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - copyright notice and this permission notice appear in all copies.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
6a42ab64276ff832a47e009be1208f7c7d4da22dAutomatic Updater - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews - PERFORMANCE OF THIS SOFTWARE.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User<link rel="prev" href="man.dnssec-coverage.html" title="dnssec-coverage">
50066670817cdf9e86c832066d73715232b29680Tinderbox User<link rel="next" href="man.dnssec-importkey.html" title="dnssec-importkey">
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<table width="100%" summary="Navigation header">
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<tr><th colspan="3" align="center"><span class="application">dnssec-dsfromkey</span></th></tr>
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User<a accesskey="p" href="man.dnssec-coverage.html">Prev</a>�</td>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<th width="60%" align="center">Manual pages</th>
50066670817cdf9e86c832066d73715232b29680Tinderbox User<td width="20%" align="right">�<a accesskey="n" href="man.dnssec-importkey.html">Next</a>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<a name="man.dnssec-dsfromkey"></a><div class="titlepage"></div>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt — DNSSEC DS RR generation tool
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-v <em class="replaceable"><code>level</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-T <em class="replaceable"><code>TTL</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-c <em class="replaceable"><code>class</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-T <em class="replaceable"><code>TTL</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-f <em class="replaceable"><code>file</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt [<code class="option">-v <em class="replaceable"><code>level</code></em></code>]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <p><span class="command"><strong>dnssec-dsfromkey</strong></span>
b27ce68bae92006e2ad7a9b75602c6385e529c3bAutomatic Updater outputs the Delegation Signer (DS) resource record (RR), as defined in
922312472e2e05ebc64993d465999c5351b83036Automatic Updater RFC 3658 and RFC 4509, for the given key(s).
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <div class="variablelist"><dl class="variablelist">
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Use SHA-1 as the digest algorithm (the default is to use
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews both SHA-1 and SHA-256).
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Use SHA-256 as the digest algorithm.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Select the digest algorithm. The value of
0e9e255d1643375056aa9ed7fe2a279713ffae78Automatic Updater <code class="option">algorithm</code> must be one of SHA-1 (SHA1),
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User SHA-256 (SHA256), GOST or SHA-384 (SHA384).
cd791043c8a6edbcacc2392575a9816d19b8157cTinderbox User These values are case insensitive.
481870b95fee976541f4fe455c0ef2dbeab3ec7aTinderbox User Generate CDS records rather than DS records. This is mutually
481870b95fee976541f4fe455c0ef2dbeab3ec7aTinderbox User exclusive with generating lookaside records.
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater<dt><span class="term">-T <em class="replaceable"><code>TTL</code></em></span></dt>
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater Specifies the TTL of the DS records.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater Look for key files (or, in keyset mode,
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <code class="filename">keyset-</code> files) in
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-f <em class="replaceable"><code>file</code></em></span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater Zone file mode: in place of the keyfile name, the argument is
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater the DNS domain name of a zone master file, which can be read
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater from <code class="option">file</code>. If the zone name is the same as
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater <code class="option">file</code>, then it may be omitted.
795a316ec568b2470aab18b9481443966047652eAutomatic Updater If <code class="option">file</code> is set to <code class="literal">"-"</code>, then
795a316ec568b2470aab18b9481443966047652eAutomatic Updater the zone data is read from the standard input. This makes it
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt possible to use the output of the <span class="command"><strong>dig</strong></span>
795a316ec568b2470aab18b9481443966047652eAutomatic Updater command as input, as in:
795a316ec568b2470aab18b9481443966047652eAutomatic Updater <strong class="userinput"><code>dig dnskey example.com | dnssec-dsfromkey -f - example.com</code></strong>
6478b87fd23bcd3ab74c25b261021fe19a239c4fTinderbox User Include ZSKs when generating DS records. Without this option,
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater only keys which have the KSK flag set will be converted to DS
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater records and printed. Useful only in zone file mode.
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater<dt><span class="term">-l <em class="replaceable"><code>domain</code></em></span></dt>
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater Generate a DLV set instead of a DS set. The specified
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater <code class="option">domain</code> is appended to the name for each
ca67ebfe9eef0b8f04179f7e511a19e0337a5422Automatic Updater record in the set.
163af735c2082a024167be111d27bd5b5ff4f462Automatic Updater The DNSSEC Lookaside Validation (DLV) RR is described
481870b95fee976541f4fe455c0ef2dbeab3ec7aTinderbox User in RFC 4431. This is mutually exclusive with generating
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews Keyset mode: in place of the keyfile name, the argument is
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater the DNS domain name of a keyset file.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater Specifies the DNS class (default is IN). Useful only
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater in keyset or zone file mode.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater Sets the debugging level.
6f1205897504b8f50b1785975482c995888dd630Tinderbox User Prints usage information.
6f1205897504b8f50b1785975482c995888dd630Tinderbox User Prints version information.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews To build the SHA-256 DS RR from the
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <strong class="userinput"><code>Kexample.com.+003+26160</code></strong>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews keyfile name, the following command would be issued:
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The command would print something like:
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <p><strong class="userinput"><code>example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94</code></strong>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The keyfile can be designed by the key identification
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <code class="filename">Knnnn.+aaa+iiiii</code> or the full file name
b27ce68bae92006e2ad7a9b75602c6385e529c3bAutomatic Updater <code class="filename">Knnnn.+aaa+iiiii.key</code> as generated by
922312472e2e05ebc64993d465999c5351b83036Automatic Updater <span class="refentrytitle">dnssec-keygen</span>(8).
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The keyset file name is built from the <code class="option">directory</code>,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews the string <code class="filename">keyset-</code> and the
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews A keyfile error can give a "file not found" even if the file exists.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <span class="refentrytitle">dnssec-keygen</span>(8)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt <span class="refentrytitle">dnssec-signzone</span>(8)
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews <em class="citetitle">BIND 9 Administrator Reference Manual</em>,
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<table width="100%" summary="Navigation footer">
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User<a accesskey="p" href="man.dnssec-coverage.html">Prev</a>�</td>
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch13.html">Up</a></td>
50066670817cdf9e86c832066d73715232b29680Tinderbox User<td width="40%" align="right">�<a accesskey="n" href="man.dnssec-importkey.html">Next</a>
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User<span class="application">dnssec-coverage</span>�</td>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
50066670817cdf9e86c832066d73715232b29680Tinderbox User<td width="40%" align="right" valign="top">�<span class="application">dnssec-importkey</span>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.0pre-alpha</p>