Home/Glossary/DNSSEC (DNS Security Extensions)

DNSSEC (DNS Security Extensions)

A suite of specifications that add cryptographic authentication to DNS responses, preventing DNS spoofing and cache poisoning attacks.

NetworkingAlso called: "dns security extensions", "dns signing", "dns authentication"

DNSSEC adds a layer of trust to the Domain Name System by digitally signing DNS records, allowing resolvers to verify that responses haven't been tampered with.

Why it matters

  • DNS was designed without security—responses can be forged.
  • DNS spoofing can redirect users to malicious sites without detection.
  • Cache poisoning attacks can affect thousands of users.
  • DNSSEC is increasingly required for government and financial sectors.

How DNSSEC works

  1. Zone owner generates cryptographic key pairs.
  2. DNS records are signed with the private key.
  3. Public key is published in DNS as DNSKEY record.
  4. Resolvers verify signatures using the public key.
  5. Chain of trust extends from root zone to individual domains.

Key record types

  • DNSKEY: Contains the public key for signature verification.
  • RRSIG: The signature for a set of DNS records.
  • DS (Delegation Signer): Links child zone's key to parent zone.
  • NSEC/NSEC3: Proves a record doesn't exist (authenticated denial).

Chain of trust

  • Root zone signs TLD keys (e.g., .com, .org).
  • TLD signs domain keys (e.g., example.com).
  • Domain signs its own records.
  • Resolvers validate the entire chain.

Implementation challenges

  • Key management complexity (key rotation, rollovers).
  • Increased DNS response sizes (may cause issues with UDP).
  • Not all resolvers validate DNSSEC (though adoption is growing).
  • Operational overhead of signing and maintaining zones.

Best practices

  • Use automated key management tools.
  • Monitor for DNSSEC validation failures.
  • Plan key rollovers carefully to avoid outages.
  • Test validation with tools like dig +dnssec or online validators.
  • Consider using managed DNS providers with DNSSEC support.