What is DNSSEC?
DNSSEC (Domain Name System Security Extensions) is a set of specifications that provides cryptographic authentication of DNS data, ensuring the integrity and origin of DNS records to protect against cache poisoning.
The Domain Name System (DNS) was originally designed for resilience and speed, not security. When a resolver asks for an IP address, it blindly trusts the response it receives. This implicit trust makes the internet susceptible to devastating attacks like DNS spoofing, where attackers inject fraudulent records to redirect users to malicious servers.
DNSSEC solves this by adding cryptographic signatures to existing DNS records. These signatures allow recursive resolvers to verify that the information they receive is identical to the information published by the legitimate domain owner.
How DNSSEC works
DNSSEC operates on a strict hierarchical trust model, often referred to as a "chain of trust." It relies on public-key cryptography to validate the authenticity of DNS responses.
- Zone Signing: The authoritative nameserver for a domain uses a private key to mathematically sign all the records in its zone (e.g.,
A,MX,TXT). - Signature Delivery: When a resolver requests a record, the authoritative server returns the requested data along with its corresponding signature.
- Validation: The resolver retrieves the domain's public key to verify the signature.
- Parent Trust: To ensure the public key hasn't been spoofed, the resolver checks a cryptographic hash of that key stored in the parent zone (e.g., the
.comTLD). This continues all the way up to the DNS Root Zone, which has widely distributed, hardcoded trust anchors.
Here is what a raw RRSIG (Resource Record Signature) looks like in the wild:
example.com. 3600 IN RRSIG A 8 2 3600 20260701000000 20260601000000 12345 example.com.
( MIIB...[cryptographic signature]... )
If the signature matches the data and the chain of trust is unbroken, the resolver marks the data as authentic.
DNSSEC record types explained
Implementing DNSSEC introduces several specialized resource records to the DNS ecosystem. Understanding how they interact is essential for managing a secure zone.
DNSKEY
The DNSKEY record holds the public keys that resolvers use to verify signatures. Modern DNSSEC deployments split these into two roles:
- Zone Signing Key (ZSK): Used frequently to sign the everyday records in the zone (
A,AAAA,MX). It is rotated often. - Key Signing Key (KSK): Used exclusively to sign the
DNSKEYrecords themselves. It acts as the secure anchor for the zone and is rotated infrequently.
RRSIG
The RRSIG (Resource Record Signature) contains the actual cryptographic signature. Every time a resolver fetches a record from a signed zone, it receives a companion RRSIG record.
NSEC and NSEC3
DNSSEC must securely prove when a record does not exist (Authenticated Denial of Existence) to prevent attackers from synthesizing fake NXDOMAIN responses.
- NSEC: Points to the next existing record in alphabetical order, proving a gap.
- NSEC3: Hashes the record names before pointing to the next hash, mitigating zone walking enumeration attacks.
DS (Delegation Signer)
The DS record lives in the parent zone (e.g., .com or .org). It contains a hash of the child zone's KSK. This is the critical glue that links the trust of the parent zone to the child zone.
How to enable DNSSEC step-by-step
Enabling DNSSEC is a coordinated workflow between your authoritative DNS provider and your domain registrar.
- Enable Signing at DNS Provider: Configure your authoritative DNS provider (e.g., Cloudflare, Route53) to sign your zone. Most modern providers handle the cryptographic heavy lifting and key generation automatically.
- Extract the DS Record: Once the zone is signed, your DNS provider will output the
DSrecord details. - Publish DS at Registrar: Log into your domain registrar's portal (the entity you purchased the domain from) and input the
DSrecord data. - Wait for Propagation: The registrar pushes this record to the TLD registry. Wait for global propagation (typically 1-24 hours).
- Verify: Use DNS analysis tools to confirm that the chain of trust is fully established.
Common DNSSEC deployment mistakes
DNSSEC fails closed. If a signature is invalid, strict resolvers (like Google 8.8.8.8) will drop the request and return a SERVFAIL error. This makes misconfigurations highly disruptive.
- Wrong DS Record during Migration: If you change DNS providers, you must remove the old
DSrecord at the registrar first. If you point your nameservers to a new provider while the parent zone still holds the oldDSrecord, the cryptographic chain breaks, and your domain goes offline. - Expired RRSIG:
RRSIGrecords have hardcoded expiration dates (e.g., valid until July 1st). If your authoritative nameserver fails to periodically re-sign the zone, the signatures expire, and resolvers will reject your domain. - Missing NS Delegation: If the nameservers listed at the registrar do not match the nameservers authoritative for the zone, the DNSSEC validation path can become fragmented and fail intermittently.
Important
DNSSEC provides authenticity, not confidentiality. It does not encrypt DNS queries. Anyone on the network path can still read the plaintext queries. DNSSEC guarantees the answer is legitimate, but not private.
Testing DNSSEC
Testing your configuration from the command line is critical for identifying validation issues. The dig utility is the standard tool for this.
Use the +dnssec flag to request the signatures alongside the standard record:
dig example.com A +dnssec
Look for the ad (Authentic Data) flag in the response header. If ad is present, the recursive resolver successfully validated the cryptographic chain.
To trace the complete chain of trust from the root zone down to your domain, use the +trace flag:
dig example.com +dnssec +trace
DNSSEC vs DNS-over-HTTPS
A frequent point of confusion is whether DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) replaces the need for DNSSEC. They are complementary technologies serving entirely different purposes.
- DNSSEC guarantees integrity and authenticity. It cryptographically proves that the IP address returned is the exact IP address the domain owner published, protecting against cache poisoning.
- DoH/DoT guarantees privacy and confidentiality. It encrypts the transit pipe between the user and the resolver, preventing local ISPs or network eavesdroppers from seeing which domains a user is visiting.
DoH does not verify if the resolver is being handed a poisoned record from the authoritative side. To build a robust security architecture, mature teams implement both: DNSSEC to authenticate the data, and DoH/DoT to encrypt its transit.
How CyberFurl Helps
Automated monitoring. Zero manual work.
CyberFurl continuously monitors your DNSSEC chain of trust — automatically detecting broken DNSKEY records, expired RRSIG signatures, and DS record mismatches before they cause validation failures for end users. When a key rollover is misconfigured or a zone signing key expires, CyberFurl alerts you with the exact resolver error and affected record, so you can fix it before global DNS resolvers start returning SERVFAIL to your visitors.
