What Is DNSSEC?

DNSSEC stands for DNS Security Extensions. It is a set of protocols that add cryptographic signatures to DNS records. When a DNS resolver supports DNSSEC validation, it can verify that a DNS response is authentic and has not been tampered with between the authoritative server and the resolver.

Standard DNS was designed without built-in security. Responses are accepted at face value, which makes DNS vulnerable to attacks like cache poisoning, where a malicious actor injects forged records into a resolver's cache. DNSSEC was created to address this gap by allowing responses to be cryptographically verified.

How DNSSEC works

DNSSEC works by adding new record types to DNS zones:

The chain of trust

DNSSEC relies on a hierarchical chain of trust that starts at the DNS root zone. The root zone is signed, and it contains DS records for each top-level domain (TLD). Each TLD zone is signed and contains DS records for second-level domains, and so on.

For example, to validate example.com:

  1. The root zone's DNSKEY is trusted (the trust anchor).
  2. The root zone has a DS record for .com, linking to the .com zone's DNSKEY.
  3. The .com zone has a DS record for example.com, linking to example.com's DNSKEY.
  4. The example.com zone signs its records with its private key, and the resolver can verify using the public DNSKEY.

If any link in this chain is missing or invalid, the validation fails.

What DNSSEC does and does not do

DNSSEC doesDNSSEC does not
Verify DNS responses are authenticEncrypt DNS queries or responses
Prevent cache poisoning attacksHide which domains you are querying
Prove a domain name does not existProtect against DDoS attacks on DNS
Build a verifiable chain of trustReplace TLS/SSL for website security

Limitations and challenges

How to check DNSSEC

You can check whether a domain has DNSSEC enabled using several methods:

Frequently asked questions

What is DNSSEC?

DNSSEC (DNS Security Extensions) is a set of extensions to DNS that adds cryptographic signatures to DNS records. It allows resolvers to verify that DNS responses are authentic and have not been modified.

Does DNSSEC encrypt DNS queries?

No. DNSSEC signs DNS data to prove authenticity, but it does not encrypt queries or responses. DNS traffic is still visible unless encrypted by a separate mechanism like DNS-over-HTTPS or DNS-over-TLS.

What attacks does DNSSEC prevent?

DNSSEC helps prevent cache poisoning and man-in-the-middle attacks that inject forged DNS responses. It ensures the response came from the authoritative source and was not altered in transit.

Do all domains use DNSSEC?

No. DNSSEC adoption varies widely. Many large organizations and government domains use it, but a significant number of domains have not deployed DNSSEC because it adds operational complexity.

How do I check if a domain has DNSSEC?

You can use IPLookupHub's DNSSEC Checker tool, query for DNSKEY or DS records using dig, or check the domain's registrar settings for DNSSEC status.