Repository navigation
DNSSEC
digg supports requesting and validating DNSSEC records.
Use +dnssec to set the DO (DNSSEC OK) bit on the query. This asks the
resolver to include DNSSEC-related records in the response — RRSIG, DNSKEY,
DS, NSEC, and NSEC3 records alongside the normal answer.
$ digg cloudflare.com +dnssec
ANSWER
TYPE NAME TTL VALUE
A cloudflare.com. 2m 3s 104.16.132.229
A cloudflare.com. 2m 3s 104.16.133.229
RRSIG cloudflare.com. 2m 3s A 13 2 300 20260902084952 20260831064952 34505 cloudflare.com. PcsmJ6GtuS...You can also request specific DNSSEC record types directly:
$ digg cloudflare.com DNSKEY
$ digg cloudflare.com DS
$ digg cloudflare.com RRSIG
$ digg cloudflare.com NSEC
$ digg cloudflare.com NSEC3Use +validate to perform local DNSSEC validation. digg follows the
chain of trust from the answer back to a root trust anchor and reports
the result.
$ digg cloudflare.com +validate
VALIDATION
✓ cloudflare.com. A RRSIG verified (key 34505)
✓ cloudflare.com. DNSKEY RRset verified (KSK 2371)
✓ cloudflare.com. DS→DNSKEY digest verified (key 2371)
✓ cloudflare.com. DS RRSIG verified by com. (key 41446)
✓ com. DNSKEY RRset verified (KSK 19718)
✓ com. DS→DNSKEY digest verified (key 19718)
✓ com. DS RRSIG verified by . (key 57780)
✓ . DNSKEY RRset verified (KSK 20326)
✓ . root KSK matches IANA trust anchor
STATUS: SECUREA failing validation shows a red ✗ and a STATUS: BOGUS line.
To query a resolver that ignores its own validation (e.g. to see what it
would return without DNSSEC), use +cd (checking-disabled):
$ digg example.com +cdRRSIG records display expiration and inception timestamps in the
YYYYMMDDHHmmSS UTC format defined by RFC 4034 §3.2. This matches the
format dig uses:
RRSIG example.com. 5m A 13 2 3600 20260906010019 20260829235019 41446 com. ...
^^^^^^^^^^^^ ^^^^^^^^^^^^
expiration inception
(UTC) (UTC)
| Type | Description |
|---|---|
| RRSIG | Signature covering an RRset. Contains the algorithm, key tag, signer name, and the signature itself (base64). |
| DNSKEY | Public key used to verify RRSIG records. Flags indicate KSK (257) vs ZSK (256). |
| DS | Delegation signer — a digest of the child zone's DNSKEY, published in the parent. |
| NSEC | authenticated denial of existence — proves a name or type does not exist. |
| NSEC3 | hashed denial of existence — like NSEC but with hashed owner names to prevent zone walking. |
-
diggqueries for the answer and collects RRSIG/DNSKEY/DS records. - It verifies the answer's RRSIG against the zone's DNSKEY.
- It walks up the delegation chain: DS in the parent verifies the child's DNSKEY.
- At the root, the IANA trust anchor (KSK 20326) is checked directly.
Each step is shown in the VALIDATION section with ✓ (pass) or ✗ (fail).