/usr/share/doc/bind
NameSizeModeActions
sample/-0755rm
Bv9ARM.ch01.html271680644editdlrm
Bv9ARM.ch02.html71600644editdlrm
Bv9ARM.ch03.html286990644editdlrm
Bv9ARM.ch04.html1293840644editdlrm
Bv9ARM.ch05.html61650644editdlrm
Bv9ARM.ch06.html6676440644editdlrm
Bv9ARM.ch07.html194930644editdlrm
Bv9ARM.ch08.html61400644editdlrm
Bv9ARM.ch09.html1198350644editdlrm
Bv9ARM.ch10.html71510644editdlrm
Bv9ARM.ch11.html452770644editdlrm
Bv9ARM.ch12.html201360644editdlrm
Bv9ARM.ch13.html98990644editdlrm
Bv9ARM.html338550644editdlrm
Bv9ARM.pdf11278330644editdlrm
CHANGES5737570644editdlrm
isc-logo.pdf171890644editdlrm
man.arpaname.html29540644editdlrm
man.ddns-confgen.html93640644editdlrm
man.delv.html238080644editdlrm
man.dig.html422780644editdlrm
man.dnssec-checkds.html51590644editdlrm
man.dnssec-coverage.html111420644editdlrm
man.dnssec-dsfromkey.html120910644editdlrm
man.dnssec-importkey.html94460644editdlrm
man.dnssec-keyfromlabel.html188600644editdlrm
man.dnssec-keygen.html224630644editdlrm
man.dnssec-keymgr.html164680644editdlrm
man.dnssec-revoke.html54490644editdlrm
man.dnssec-settime.html142440644editdlrm
man.dnssec-signzone.html298780644editdlrm
man.dnssec-verify.html73020644editdlrm
man.dnstap-read.html43160644editdlrm
man.genrandom.html39530644editdlrm
man.host.html130520644editdlrm
man.isc-hmac-fixup.html45310644editdlrm
man.lwresd.html120500644editdlrm
man.mdig.html227890644editdlrm
man.named-checkconf.html65860644editdlrm
man.named-checkzone.html197100644editdlrm
man.named-journalprint.html41750644editdlrm
man.named-nzd2nzf.html38180644editdlrm
man.named-rrchecker.html41610644editdlrm
man.named.conf.html748020644editdlrm
man.named.html184450644editdlrm
man.nsec3hash.html39740644editdlrm
man.nslookup.html148920644editdlrm
man.nsupdate.html280580644editdlrm
man.pkcs11-destroy.html53920644editdlrm
man.pkcs11-keygen.html68840644editdlrm
man.pkcs11-list.html52950644editdlrm
man.pkcs11-tokens.html38510644editdlrm
man.rndc-confgen.html112860644editdlrm
man.rndc.conf.html101980644editdlrm
man.rndc.html404090644editdlrm
named.conf.default17050644editdlrm
notes.html1133130644editdlrm
notes.pdf1623470644editdlrm
README284950644editdlrm
Edit: /usr/share/doc/bind/man.dnssec-dsfromkey.html (12091B)
dnssec-dsfromkey

Name

dnssec-dsfromkey — DNSSEC DS RR generation tool

Synopsis

dnssec-dsfromkey [ -1 | -2 | -a alg ] [ -C | -l domain ] [-T TTL] [-v level] [-K directory] {keyfile}

dnssec-dsfromkey [ -1 | -2 | -a alg ] [ -C | -l domain ] [-T TTL] [-v level] [-c class] [-A] {-f file} [dnsname]

dnssec-dsfromkey [ -1 | -2 | -a alg ] [ -C | -l domain ] [-T TTL] [-v level] [-c class] [-K directory] {-s} {dnsname}

dnssec-dsfromkey [ -h | -V ]

DESCRIPTION

The dnssec-dsfromkey command outputs DS (Delegation Signer) resource records (RRs) and other similarly-constructed RRs: with the -l option it outputs DLV (DNSSEC Lookaside Validation) RRs; or with the -C it outputs CDS (Child DS) RRs.

The input keys can be specified in a number of ways:

By default, dnssec-dsfromkey reads a key file named like Knnnn.+aaa+iiiii.key, as generated by dnssec-keygen.

With the -f file option, dnssec-dsfromkey reads keys from a zone file or partial zone file (which can contain just the DNSKEY records).

With the -s option, dnssec-dsfromkey reads a keyset- file, as generated by dnssec-keygen -C.

OPTIONS

-1

An abbreviation for -a SHA1

-2

An abbreviation for -a SHA-256

-a algorithm

Specify a digest algorithm to use when converting DNSKEY records to DS records. This option can be repeated, so that multiple DS records are created for each DNSKEY record.

The algorithm must be one of SHA-1, SHA-256, or SHA-384. These values are case insensitive, and the hyphen may be omitted. If no algorithm is specified, the default is to use both SHA-1 and SHA-256.

-A

Include ZSKs when generating DS records. Without this option, only keys which have the KSK flag set will be converted to DS records and printed. Useful only in -f zone file mode.

-c class

Specifies the DNS class (default is IN). Useful only in -s keyset or -f zone file mode.

-C

Generate CDS records rather than DS records. This is mutually exclusive with the -l option for generating DLV records.

-f file

Zone file mode: dnssec-dsfromkey's final dnsname argument is the DNS domain name of a zone whose master file can be read from file. If the zone name is the same as file, then it may be omitted.

If file is "-", then the zone data is read from the standard input. This makes it possible to use the output of the dig command as input, as in:

dig dnskey example.com | dnssec-dsfromkey -f - example.com

-h

Prints usage information.

-K directory

Look for key files or keyset- files in directory.

-l domain

Generate a DLV set instead of a DS set. The specified domain is appended to the name for each record in the set. This is mutually exclusive with the -C option for generating CDS records.

-s

Keyset mode: dnssec-dsfromkey's final dnsname argument is the DNS domain name used to locate a keyset- file.

-T TTL

Specifies the TTL of the DS records. By default the TTL is omitted.

-v level

Sets the debugging level.

-V

Prints version information.

EXAMPLE

To build the SHA-256 DS RR from the Kexample.com.+003+26160 keyfile name, you can issue the following command:

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

The command would print something like:

example.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0C5EA0B94

FILES

The keyfile can be designated by the key identification Knnnn.+aaa+iiiii or the full file name Knnnn.+aaa+iiiii.key as generated by dnssec-keygen(8).

The keyset file name is built from the directory, the string keyset- and the dnsname.

CAVEAT

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

SEE ALSO

dnssec-keygen(8), dnssec-signzone(8), BIND 9 Administrator Reference Manual, RFC 3658 (DS RRs), RFC 4431 (DLV RRs), RFC 4509 (SHA-256 for DS RRs), RFC 6605 (SHA-384 for DS RRs), RFC 7344 (CDS and CDNSKEY RRs).

BIND 9.11.36 (Extended Support Version)