DNSSEC Signs the Answer
How a signed DNS answer is checked, on published vectors: the key tag and the DS digest of a DNSKEY, the fields of an RRSIG, the canonical bytes that are signed and one Ed25519 verification, and what a valid signature does not say. The records are published or constructed; no DNS message is parsed and nothing is sent.
Keys and Digests
A DNSKEY has a key tag, and the parent's DS holds a digest of it, and an RRSIG says which key to try.
- A DNSKEY Has a Key Tag
a 16-bit checksum of the RDATA
- A DS Digests the DNSKEY
digest of owner name and DNSKEY RDATA
- An RRSIG Names Its Signer
the fields of an RRSIG, read by position
The Signature
The signed data is built in canonical form, the signature is verified, and a valid signature has limits.
- The Signed Data Is Canonical
the 74 bytes that the published signature covers
- Verify the RRSIG
rebuild, check the time, verify
- What a Valid Signature Does Not Say
the limits of one valid signature