What is DNSSEC and how does it work?
DNSSEC adds digital signatures to DNS data so that a resolver can tell a genuine answer from a forged one. It protects the origin and integrity of records. It does not encrypt your DNS queries, and it does not make a website trustworthy by itself.
How a resolver verifies a signed answer
The operator of a zone signs its records with a private key. The matching public key is published in a DNSKEY record and the signatures in RRSIG records. The parent zone, for example the zone of the top-level domain, holds a DS record that points to the child zone’s key. A validating resolver follows this chain from the root, which it trusts in advance, down to the answer. It accepts data that is correctly signed and returns an error when the chain is broken. RFC 4033 describes the purpose and limits of DNSSEC.
The statement that a record does not exist can be signed as well, so an attacker cannot simply substitute a false “no such name” answer.
Most visitors never see a signature. Whether they are protected depends on whether the resolver they use validates. Likewise, a DNSSEC switch turned on in a control panel does not prove that the parent’s DS record, the published keys and the signatures match on every authoritative server.
What DNSSEC protects, and what it leaves alone
With validation, an altered DNS answer is much harder to pass off as real. The name you look up is still visible to the resolver, and the traffic to it is not encrypted. DNS over HTTPS (DoH) and DNS over TLS (DoT) address that separate problem of transport privacy. DNSSEC also does not replace a TLS certificate, honest website content, protection of the registrar account or careful zone administration.
It cannot correct your own mistakes either. If the domain owner publishes a wrong address, DNSSEC faithfully authenticates that wrong address. Keep A, AAAA, MX and other records correct whether or not the zone is signed.
Why a signed domain suddenly stops resolving
When validation fails, a validating resolver refuses to return the answer, and users see the domain as unreachable. A common cause is a stale DS record left at the parent after a change of DNS provider or keys. Expired signatures, authoritative servers that disagree with each other and a failed key rollover break validation too.
Inspect the delegation, the current DNSKEY and DS values, the validity period of the RRSIG records and the answer from each authoritative server. Compare the responses of an ordinary resolver and a validating one: if only the validating one fails, look at the signatures. The 2ip dig-style DNS lookup can send a query to a DNS server you choose, and the 2ip NSLookup shows the address and mail records the domain currently returns. Record the exact error and the time of the test before you change settings.
Do not switch off validation for everybody just to make one broken domain appear to work.
Moving a signed zone without breaking it
Before you migrate a signed zone, coordinate the DS update with the new operator and verify its keys. After a repair, cached answers, both positive and negative, need time to expire. For a domain that carries mail or an API, plan a change window and a way back. Signing automation and monitoring that you can rely on are worth more than an unchecked “enabled” status in a dashboard.