RFC 4033: DNSSEC: Authenticated DNS data

Summary

In March 2005, Roy Arends, Rob Austein, Matt Larson, Dan Massey and Scott Rose introduced the DNS Security Extensions, DNSSEC for short, in RFC 4033. DNSSEC adds data origin authentication, data integrity and authenticated denial of existence to DNS but explicitly provides no confidentiality and no protection against denial of service. Together with RFC 4034 and RFC 4035, RFC 4033 forms the still valid foundation and replaced earlier designs such as RFC 2535.

A chain of keys

Every signed zone publishes its public keys as DNSKEY records and signs its data with RRSIG records. The parent zone confirms the child zone’s key through a DS record containing a hash of the key. This creates a chain from the trust anchor, in practice the root zone key, down to the record sought.

The absence of a name can also be proven: NSEC records chain together the existing names of a zone, so that a signed gap shows that nothing exists in between. This had a side effect, because anyone walking the chain can list the zone’s contents. RFC 5155 therefore introduced NSEC3 with hashed names in 2008.

What DNSSEC does not do

RFC 4033 is clear about its limits: DNSSEC encrypts nothing, and any eavesdropper still sees questions and answers. It does not protect against denial of service and even creates new forms of attack through the more expensive validation. And because signatures have validity periods, validation depends on a correct clock in the resolver.

In operation, the greatest risk lies not in the cryptography but in expired signatures and faulty key rollovers. A zone with an invalid chain can no longer be resolved by validating resolvers, which looks like a complete outage from the outside.

Ideas

  • Zones sign their data with private keys.
  • DS records chain keys across delegation boundaries.
  • Validating resolvers check the chain up to a trust anchor.
  • NSEC proves that a name does not exist.
  • DNSSEC protects authenticity and integrity, not confidentiality.
  • Signatures expire and must be renewed regularly.

Insights

  • DNSSEC shifts risk from forged answers to operational errors: anyone who does not automate signing will sooner or later take down their own zone.
  • A security mechanism that depends on time turns the clock into a security component.
  • Only confidentiality from DNS over TLS or HTTPS together with authenticity from DNSSEC protects DNS traffic comprehensively.

Facts

  • RFC 4033, 4034 and 4035 appeared together in March 2005.
  • The central new record types are DNSKEY, RRSIG, NSEC and DS.
  • NSEC3 with hashed names is described in RFC 5155 from March 2008.
  • The DNS root zone has been signed with DNSSEC since July 2010.

References

Remarks

  • RFC 4033 is an introductory document; the actual formats and processing rules are in RFC 4034 and RFC 4035.

Recommendations

  • Automate signing and key rollovers, for example with inline signing in BIND, Knot DNS or PowerDNS.
  • Monitor the expiry times of RRSIG records and have alerts raised in good time.
  • Enable validation on your own resolver and secure the system time with NTP.

Read the RFC at the RFC Editor

Search the Web Archive

Found a mistake or have something to add? Get in touch.