Your company here — click to reach over 10,000 unique daily visitors

getds - Man Page

Create a DS record from DNSKEYing information


  getds <domain>


getds will create a DS record from DNSKEYs for the specified DNS domain.  It does this by converting DNSKEYs to DS records using the specified hashing algorithm.  The results can then be passed to upstream DNSSEC-supporting parents or to DLV registries.

getds will also pull the parent's published DS records and compare them against the existing keys.  It will then list any DS records not published in the parent, as well as any DS records that are published in the parent but which don't match an existing key.


getds takes the following options:

--hash-algorithm algorithm ALGORITHMS

This option specifies the hash algorithm to use when converting DNSKEYs to DS records.  It may be a comma-separated list if multiple algorithms are desired.  The algorithms to choose from may be either SHA256 or SHA1.

The default is SHA256,SHA1

--read-key-file KEYFILE

This option specifies a file with a DNSKEY stored in it (such as created by bind's dnssec-keygen program).  This is helpful for comparing a known good key file against something that is actually published.


This option causes getds to print ZSK DS records, as well as KSK records.


Instructs getds to not check the records in the parent for their published DS records.


Produces quiet output with no explanatory headers.  In other words, it only prints the DS records generated from the DNSKEYs.

Note: Running with -q implies -p.

Security Considerations

By default, getds pulls data from the live DNS.  If your DNS resolver isn't configured so that this is pulled securely, then the results can't be trusted.


Wes Hardaker, hardaker AT AT AT users.sourceforge.net


2024-06-10 perl v5.40.0 User Contributed Perl Documentation