dnsimple / erldns

DNS server, in Erlang.
MIT License
402 stars 98 forks source link

Example zone for CDS0 and CDNSKEY0 #88

Closed coreyhaines closed 5 years ago

coreyhaines commented 5 years ago

CDS0 and CDNSKEY0 are special forms of the CDS/CDNSKEY records that specify that DNSSEC is turned off. According to the RFC, they are

CDS 0 0 0 0
CDNSKEY 0 3 0 0

This adds these zones to the test.zones.json file to have examples for querying: dig -p 8053 @localhost example-dnssec0.com -t cds dig -p 8053 @localhost example-dnssec0.com -t cdnskey

Important to note that CDS digest is hex-encoded ("00") and CDNSKEY public key is base64 encoded ("AA==").