dnssec-dsfromkey.8 revision 582f8b9a8d170a80ef67475bddb8ad5cf7cd7cad
Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

$Id: dnssec-dsfromkey.8,v 1.2 2008/11/07 02:28:49 marka Exp $

Title: dnssec-dsfromkey
Author:
Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
Date: november 29, 2008
Manual: BIND9
Source: BIND9

"DNSSEC-DSFROMKEY" "8" "november 29, 2008" "BIND9" "BIND9"
disable hyphenation
disable justification (adjust text to left margin only)
"NAME"
dnssec-dsfromkey - DNSSEC DS RR generation tool
"SYNOPSIS"

17 dnssec-dsfromkey [-v level] [-1] [-2] [-a alg] {keyfile}

17 dnssec-dsfromkey {-s} [-v level] [-1] [-2] [-a alg] [-c class] [-d dir] {dnsname}

"DESCRIPTION"

dnssec-dsfromkey outputs the DS RR for the given key(s) as defined in RFC 3658 and RFC 4509\.

"OPTIONS"

-1

Use SHA-1 as the digest algorithm (the default is to use both SHA-1 and SHA-256)\.

-2

Use SHA-256 as the digest algorithm\.

-a algorithm

Select the digest algorithm\. The value of algorithm must be one of SHA-1 (SHA1) or SHA-256 (SHA256)\. These values are case insensitive\.

-v level

Sets the debugging level\.

-s

Keyset mode: in place of the keyfile name, the argument is the DNS domain name of a keyset file\. Following options make sense only in this mode\.

-c class

Specifies the DNS class (default is IN), useful only in the keyset mode\.

-d directory

Look for keyset files in directory as the directory, ignored when not in the keyset mode\.

"EXAMPLE"

To build the SHA-256 DS RR from the Kexample\.com\.+003+26160 keyfile name, the following command would be issued:

dnssec-dsfromkey -2 Kexample\.com\.+003+26160

The command would print something like:

example\.com\. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94

"FILES"

The keyfile can be designed by the key identification Knnnn\.+aaa+iiiii or the full file name Knnnn\.+aaa+iiiii\.key\.

The keyset file name is built from the directory, the string keyset- and the dnsname with a trailing dot\.

"CAVEAT"

A keyfile error can give a "file not found" even the file exists\.

"SEE ALSO"

dnssec-keygen(8), dnssec-signzone(8), BIND 9 Administrator Reference Manual, RFC 3658, RFC 4509\.

"AUTHOR"

Internet Systems Consortium

"COPYRIGHT"
Copyright \(co 2008 Internet Systems Consortium, Inc. ("ISC")