Contents
Without DNSSEC, a resolver believes any answer that looks right. That opens the door to cache poisoning, where an attacker injects a fake address and sends visitors to their own server. DNSSEC fixes this with a chain of trust that starts at the DNS root and ends at your domain’s records.
How DNSSEC works
| Record | Where it lives | What it does |
|---|---|---|
DNSKEY |
Your zone | The public key used to verify signatures |
RRSIG |
Your zone | The signature on each set of records |
DS |
At the registrar, published in the extension’s servers | A fingerprint of your key that links the domain to the chain of trust |
When a validating resolver looks up your site, it checks the answer’s signature against the key, then checks that the key’s fingerprint matches the DS record published by the extension, and so on up to the root. If any link breaks, it rejects the answer.
Practical example: checking DNSSEC
dig DS example.com +short
dig example.com A +dnssec
The first command shows the DS record, if any. In the second, an RRSIG record means the zone is signed, and an ad flag in the header means the resolver validated it.
The classic failure: changing DNS providers
Most DNSSEC outages happen like this:
- The domain is signed by the old provider, and its DS record is published at the registrar.
- You switch nameservers to a new provider that doesn’t have the same key.
- Resolvers find a DS record that matches no key, treat every answer as forged, and return
SERVFAIL.
The safe order: remove the DS record at your registrar first, wait a day or two for caches to expire, then change the nameservers. Once things are stable, enable DNSSEC with the new provider if it supports it.
Misconceptions
- DNSSEC doesn’t replace SSL: it protects the address lookup, not the connection to the site.
- It doesn’t stop hacks or DDoS attacks on the server.
On ArabyHost
Before pointing a domain to ns1.arabicode.com and ns2.arabicode.com, check at your registrar that no old DS record is left from a previous DNS provider; that prevents most cases of nameservers not updating. If you want DNSSEC after the move, ask support about the right steps for your domain.
FAQ
Should I enable DNSSEC?
It's useful for sensitive domains such as banks and shops, but it needs care when you change DNS providers. Most small sites can safely postpone it.
Why did my domain stop working after changing nameservers?
If the old DS record is still at the registrar while the new provider doesn't sign with the same key, validating resolvers fail and return SERVFAIL. Remove the DS record and wait.
Does DNSSEC encrypt DNS queries?
No. Signatures only prove an answer is genuine; encrypting queries is done by other technologies such as DNS over HTTPS.