System Administration Commands dnssec-dsfromkey(1M)
NAME
dnssec-dsfromkey - DNSSEC DS RR generation tool
SYNOPSIS
dnssec-dsfromkey [-v level] [-1] [-2] [-a alg] keyfile
dnssec-dsfromkey -s [-v level] [-1] [-2] [-a alg] [-c class]
[-d dir] keyfile
DESCRIPTION
dnssec-dsfromkey
OPTIONS The following options are supported:-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 mustbe 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 argumentis the DNS domain name of a keyset file. The -c and -d
options have meaning only in this mode.-c class
Specifies the DNS class (default is IN); useful only in the keyset mode.SunOS 5.11 Last change: 11 Jan 2010 1
System Administration Commands dnssec-dsfromkey(1M)
-d directory
Look for keyset files in directory as the directory; ignored when not in the keyset mode.EXAMPLES
To build the SHA-256 DS RR from the Kexample.com.+003+26160
keyfile name, use a command such as the following:# dnssec-dsfromkey -2 Kexample.com.+003+26160
This command would produce output similar to the following: example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0 C5EA0B94 FILES The keyfile can be designated by the key identification Knnnn.+aaa+iiiii, or the full file nameKnnnn.+aaa+iiiii.key, as generated by dnssec-keygen(1M).
The keyset file name is built from the directory, the stringkeyset- and the dnsname.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | service/network/dns/bind ||_____________________________|_____________________________|
| Interface Stability | Volatile ||_____________________________|_____________________________|
SEE ALSO
dnssec-keygen(1M), dnssec-signzone(1M), attributes(5)
SunOS 5.11 Last change: 11 Jan 2010 2
System Administration Commands dnssec-dsfromkey(1M)
RFC 3658, RFC 4509 See the BIND 9 Administrator's Reference Manual. As of the date of publication of this man page, this document is available at https://www.isc.org/software/bind/documentation. CAUTION A keyfile error can produce a "file not found" message, even if the file exists.SunOS 5.11 Last change: 11 Jan 2010 3