ldns-key2ds − transform a DNSKEY RR to a DS RR
ldns-key2ds file
ldns-key2ds is used to transform a public DNSKEY RR to a DS RR. When run it will read file with a DNSKEY RR in it and it will create a .ds file with the DS RR in it.
It prints out the basename for this file (K<name>+<alg>+<id>).
-n |
Write the result DS Resource Record to stdout instead of a file |
||
-1 |
Use SHA1 as the hash function (default) |
||
-2 |
Use SHA256 as the hash function |
Written by the ldns team as an example for ldns usage.
Report bugs to <ldns-team AT nlnetlabs DOT nl>.
Copyright (C) 2005 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.