d6fa26d0adaec6c910115be34fe7a5a5f402c14fMark Andrews<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
71cef386fae61275b03e203825680b39fedaa8c6Tinderbox User - Copyright (C) 2000-2018 Internet Systems Consortium, Inc. ("ISC")
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - This Source Code Form is subject to the terms of the Mozilla Public
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - License, v. 2.0. If a copy of the MPL was not distributed with this
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User - file, You can obtain one at http://mozilla.org/MPL/2.0/.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<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>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span class="application">dnssec-dsfromkey</span>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User — DNSSEC DS RR generation tool
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="command">dnssec-dsfromkey</code>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-v <em class="replaceable"><code>level</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-T <em class="replaceable"><code>TTL</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="command">dnssec-dsfromkey</code>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-a <em class="replaceable"><code>alg</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-K <em class="replaceable"><code>directory</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-c <em class="replaceable"><code>class</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-T <em class="replaceable"><code>TTL</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-f <em class="replaceable"><code>file</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User [<code class="option">-v <em class="replaceable"><code>level</code></em></code>]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <code class="command">dnssec-dsfromkey</code>
7e71f05d8643aca84914437c900cb716444507e4Tinderbox User<a name="id-1.14.9.7"></a><h2>DESCRIPTION</h2>
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <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).
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <div class="variablelist"><dl class="variablelist">
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Use SHA-1 as the digest algorithm (the default is to use
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User both SHA-1 and SHA-256).
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Use SHA-256 as the digest algorithm.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Select the digest algorithm. The value of
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User <code class="option">algorithm</code> must be one of SHA-1 (SHA1),
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User SHA-256 (SHA256), GOST or SHA-384 (SHA384).
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User These values are case insensitive.
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox 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>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Specifies the TTL of the DS records.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-K <em class="replaceable"><code>directory</code></em></span></dt>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Look for key files (or, in keyset mode,
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User <code class="filename">keyset-</code> files) in
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-f <em class="replaceable"><code>file</code></em></span></dt>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Zone file mode: in place of the keyfile name, the argument is
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User the DNS domain name of a zone master file, which can be read
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User from <code class="option">file</code>. If the zone name is the same as
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User <code class="option">file</code>, then it may be omitted.
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User If <code class="option">file</code> is set to <code class="literal">"-"</code>, then
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User the zone data is read from the standard input. This makes it
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User possible to use the output of the <span class="command"><strong>dig</strong></span>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User command as input, as in:
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User <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
9d557856c2a19ec95ee73245f60a92f8675cf5baTinderbox User 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>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Generate a DLV set instead of a DS set. The specified
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User <code class="option">domain</code> is appended to the name for each
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User record in the set.
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User The DNSSEC Lookaside Validation (DLV) RR is described
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User in RFC 4431. This is mutually exclusive with generating
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Keyset mode: in place of the keyfile name, the argument is
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User the DNS domain name of a keyset file.
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Specifies the DNS class (default is IN). Useful only
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User in keyset or zone file mode.
0a7ed88633a680bb881868b75ded4d09a7bbbc50Automatic Updater<dt><span class="term">-v <em class="replaceable"><code>level</code></em></span></dt>
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Sets the debugging level.
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User Prints usage information.
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox 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:
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <p><strong class="userinput"><code>dnssec-dsfromkey -2 Kexample.com.+003+26160</code></strong>
582f8b9a8d170a80ef67475bddb8ad5cf7cd7cadMark Andrews The command would print something like:
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <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.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <span class="refentrytitle">dnssec-keygen</span>(8)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User <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>
c313914d0e66b20969215e519bbf2ab4ecf39512Tinderbox User<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.3 (Extended Support Version)</p>