DNS or domain broken
Your domain stops resolving, or resolves wrong. Find whether it is a server, a DNS provider, DNSSEC, or the domain registration, and change nothing at the registrar in a panic.
What you are probably seeing
- The website, mail and sign-in for your domain fail at once, while other sites work.
- Some users can reach things and others cannot, depending on their network.
- Browsers say the server’s address could not be found.
- Mail and single sign-on fail too, because they depend on the same domain. Expect calls about all of them.
First 5 minutes
- Write the time and what fails in the log.
- Test from outside your network (a phone on mobile data): does the name resolve, and does the site answer?
- Ask each of your authoritative name servers directly (check below). That tells you whether one provider is failing.
- Check whether DNSSEC validation is the problem (check below).
- Check the domain’s expiry date and status at the registrar from a device that does not depend on that domain’s mail.
Do not touch yet
- Do not change name servers at the registrar.
- Do not remove the DS record “to switch DNSSEC off” until you know DNSSEC is the cause.
- Do not lower TTLs or edit records in a panic. Changes to a broken zone can make it worse.
Checks
Is it name resolution, or the server?
curl -I https://<www.yourdomain>
Source: curl manual
- “Could not resolve host”: it is DNS. Continue below.
- It resolves but the server does not answer, or answers with an error: DNS is fine. This is a server or hosting problem.
Which authoritative server is failing?
Ask each of your provider’s name servers directly, without recursion:
dig +norec SOA <yourdomain> @<ns1-of-provider-a>
dig +norec SOA <yourdomain> @<ns1-of-provider-b>
Source: dig manual, BIND 9 documentation
On Windows:
Resolve-DnsName -Name <yourdomain> -Type SOA -Server <ns1-of-provider-a>
Source: Resolve-DnsName, Microsoft Learn
- One provider answers, the other times out: that provider has an outage. If both are listed at the registrar, resolvers will use the one that answers. Wait and communicate.
- Both answer but with different serial numbers: zone transfer between them is broken. Escalate to whoever runs the secondary.
- Neither answers: check the provider status pages and the registrar.
Is it DNSSEC?
Query a validating public resolver (Quad9’s 9.9.9.9 validates DNSSEC, see Quad9 FAQ) normally, then with checking disabled:
dig <www.yourdomain> @9.9.9.9
dig +cd <www.yourdomain> @9.9.9.9
Source: dig manual, BIND 9 documentation
- SERVFAIL normally, but an answer with
+cd: DNSSEC validation fails. Usually the DS record at the registrar no longer matches the zone’s keys, for example after a provider change or a key rollover. Escalate (see below) before you change the DS record.
How-to: H8 Export a DNS zone and check DS records
Is the domain itself still registered?
Check the expiry date and the status at the registrar’s portal. If the registrar login sends its reset mail to an address on this broken domain, you cannot reset it now: use the registrar’s phone support with the account details from your printed pack.
Decision points
- +15 minutes: which of the four is it: server, one provider, DNSSEC, or registration?
- +1 hour, DNSSEC broken and the provider cannot republish matching keys: removing the DS record at the registrar is a decision for the business owner, because it turns off DNSSEC protection for the domain. Log who decided.
- Every 30 minutes: update management.
Alone?
You drive and you write the log. Registrar changes need the business owner’s written yes; if you cannot get it, wait and communicate.
Stop and escalate when
- The domain expired or shows a registrar hold.
- DNSSEC validation fails and you are not the person who manages the keys.
- Records changed that nobody on your team changed. Treat it as a security incident.
- You cannot reach the registrar account.
What to tell management
“Our domain name is not resolving since [time], so the website, mail and sign-in are affected. Cause: [provider outage / DNSSEC / registration]. Next update at [time + 30 min].”
Points of no return
- Changing name servers or the DS record at the registrar: resolvers cache the old answers for up to the record’s TTL, so changes take hours to settle and are slow to undo.
After it is back up
Export the zone and store it off the domain. Check that the registrar account’s recovery address is not on the same domain: P4 Documentation and asset list. Run the incident review: P6.