Skip to content

DNS Server Failure

DownBad tried to look up the name your monitor checks, and the lookup failed without an answer: not even an answer saying the name doesn’t exist. This page helps you find where the lookup broke, fix it, and see the incident close.

DNS (the Domain Name System, the internet’s address book) turns a name such as shop.example.com into a numbered address. A domain is the part of a name you register, such as example.com in shop.example.com, and DNS keeps each domain’s details as records on its nameservers, the servers that answer for the domain. Your DNS host runs those nameservers: it is the company where you manage your records, such as Cloudflare or your registrar, the company you pay for the domain.

DownBad doesn’t ask your nameservers itself. It asks a resolver (a DNS server that looks names up for others, by asking each domain’s nameservers and passing their answer on), the one DownBad’s own servers are set to use. A DNS monitor’s Nameserver setting doesn’t change that: DownBad doesn’t use it. Each reason below means the lookup came back with no answer at all.

An incident is open for one of these monitors: a DNS monitor, DownBad’s check that a name’s records hold the values you expect; a URL monitor, which checks that a web page loads (a URL is a web address); or a port monitor, which checks that a server accepts connections on a port, the numbered door a server offers a service behind. The incident shows one of these reasons.

On a DNS monitor, with the failure type servfail (short for server failure):

  • DNS server failure: A record lookup failed. A is the kind of record that was looked up: an A record gives a name its address. Your incident may name another kind, such as MX, the record that says where a domain’s email goes.

On a DNS monitor, with the failure type timeout:

  • DNS lookup failed: Operation failed after 4 attempts. Last error: queryA ETIMEOUT example.com. A DNS monitor tries again while its time allows, so the number of attempts can differ, and queryA names the kind of record it asked for.
  • DNS lookup timeout: A record lookup timed out.

On a DNS monitor, with the failure type network:

  • DNS lookup failed: Operation failed after 4 attempts. Last error: queryA EREFUSED example.com, or with ECONNREFUSED in place of EREFUSED.

On a URL monitor, with the failure type network:

  • DNS resolution unavailable: getaddrinfo EAI_AGAIN example.com.
  • DNS resolution unavailable: getaddrinfo EAI_FAIL example.com.
  • DNS resolution unavailable: no answer for example.com within 4446ms, when the check ran out of time before the lookup gave up.

On a port monitor, with the failure type unknown:

  • Port connection failed: getaddrinfo EAI_AGAIN example.com.
  • Port connection failed: getaddrinfo EAI_FAIL example.com.
  • DNS resolution unavailable: no answer for example.com within 4446ms, when the check ran out of time before the lookup gave up.

Each code near the end of a reason says how the lookup failed:

Words in the reasonWhat they mean
DNS server failureThe resolver got no answer it could use from your nameservers, or failed by itself
ETIMEOUT or timed outThe resolver didn’t answer DownBad in time, which also happens while it is still waiting for your nameservers
EREFUSED or ECONNREFUSEDThe resolver DownBad uses turned the lookup away, or wasn’t running. That is DownBad’s to fix
EAI_AGAIN or EAI_FAILThe operating system’s lookup got no usable answer, from a resolver that failed for a while or for good
no answer forThe lookup had not answered when the check ran out of time, which a resolver that never answers causes

getaddrinfo is the name of the operating system’s lookup. Its manual page says EAI_AGAIN means “The name server returned a temporary failure indication” and EAI_FAIL that “The name server returned a permanent failure indication”.

A resolver gets no answer it can use from your nameservers when they don’t answer, when they refuse to answer for your domain, or when the answer fails its DNSSEC check (DNS Security Extensions, which sign a domain’s records so a resolver can tell a forged answer from a real one). The domain’s registry, the organization that runs its ending (such as .com), keeps a DS record for it, a short fingerprint of the key the DNS host signs with. When the key the DNS host signs with doesn’t match that fingerprint, or the signatures have expired, a resolver that checks DNSSEC turns down every answer for the domain.

If a lookup came back saying the name doesn’t exist, the incident says so differently: see Host Name Not Found.

It can be either, and public DNS tells which. These reasons mean the resolver DownBad uses came back with nothing, which happens both when your nameservers or your DNSSEC are broken and when that resolver fails by itself. If public resolvers can’t answer for your name either, the fault is with your domain.

Before it opens an incident, DownBad usually checks again from up to three other places in the United States, each of which looks the name up for itself. Those places don’t count a lookup that gets no answer, either way. Among the places that do count, if more pass than fail, the failure is overturned. If as many or more fail in a way they recognize, such as finding records that don’t match the DNS monitor’s, the failure stands. So an incident shows one of these reasons in two cases: those places found something else wrong, or an earlier failure opened the incident and this reason is from the newest check that failed.

To check without a terminal (the window where you type commands), ask Google Public DNS, a free public resolver that Google runs:

  1. Open Google Public DNS’s lookup page. Enter the name from your monitor under DNS Name, and under RR Type the record type that step 1 of Check it yourself finds. Select Resolve. The page shows the resolver’s answer.

  2. Read the line that starts with "Status":

    • 0 /* NOERROR */ (no error), followed by an "Answer" list: public DNS answers for your name. Run steps 4 and 5 of Check it yourself to ask each of your nameservers, because one that fails can make lookups fail some of the time. If every one of them answers, see DownBad’s own lookup failed.
    • 2 /* SERVFAIL */ (server failure): public DNS can’t answer for your name either, so the fault is with your domain. The "Comment" line says why: DNSSEC validation failure means the DNSSEC check failed, and Name servers refused query (lame delegation?) means your nameservers turned the question away, where a lame delegation is a nameserver listed for a domain that doesn’t answer for it.
  3. If it says SERVFAIL, switch on Disable DNSSEC validation and select Resolve again. If "Status" is now 0 /* NOERROR */ with an "Answer", only the DNSSEC check is failing: go to A DS record is left from an old DNS host, or, if you haven’t moved DNS hosts, The DNSSEC signatures have expired. If it is still 2 /* SERVFAIL */, your nameservers aren’t answering, and steps 4 and 5 of Check it yourself find which ones, each with a way that needs no terminal.

These commands do the same from a terminal: Terminal on a Mac, PowerShell (the command window that comes with Windows) on Windows. They use nslookup, a lookup tool that comes with macOS and Windows, and dig, another lookup tool that comes with macOS and prints the whole answer. On Ubuntu or Debian, install the dnsutils package if they’re missing. Every command only reads, and changes nothing.

Steps 2 and 3 ask 1.1.1.1, Cloudflare’s public resolver, rather than your own network’s, so they see what the rest of the internet sees. Step 5 asks your nameservers themselves.

The examples below use example.com, which works, and names that are broken on purpose: dnssec-failed.org, whose DNSSEC Comcast, a large US internet provider, broke on purpose for testing, and names from extended-dns-errors.com, a public set of names that each show a DNS mistake or an unusual setup.

1. Find the name DownBad looks up. It is in the monitor’s settings:

  • DNS monitor: its Domain.
  • URL monitor: the name in its URL, between // and the next / or :. For https://shop.example.com/cart that is shop.example.com.
  • Port monitor: its Hostname.

You also need the record type to ask for. On a DNS monitor, it is the one the reason names, such as A in DNS server failure: A record lookup failed. On a URL or port monitor, it is A, the record that gives a name its address. Put your name in place of example.com, and your record type in place of A, in the commands below.

2. Ask a public resolver:

Terminal window
nslookup -type=A example.com 1.1.1.1
If it works
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
Name: example.com
Address: 104.20.23.154
Name: example.com
Address: 172.66.147.243
If it fails
Server: 1.1.1.1
Address: 1.1.1.1#53
** server can't find dnssec-failed.org: SERVFAIL

How to read it:

  • SERVFAIL, or Server failure on Windows: public DNS can’t answer for your name either, so the fault is with your domain. Carry on with step 3.
  • Records listed: public DNS answers for your name. Run steps 4 and 5 to ask each of your nameservers, because one that fails can make lookups fail some of the time. If every one answers, see DownBad’s own lookup failed.
  • No answer: public DNS answers, but the name has no record of the type you asked for. On a URL or port monitor, that means the name has no address: see Host Name Not Found. On a DNS monitor, run steps 4 and 5 to ask each of your nameservers.

3. If step 2 said SERVFAIL, ask again with DNSSEC checking turned off. This tells a DNSSEC fault apart from nameservers that don’t answer:

Terminal window
dig +cd example.com A @1.1.1.1

+cd (checking disabled) asks the resolver to skip its DNSSEC check.

If it answers, so DNSSEC is the fault
; <<>> DiG 9.10.6 <<>> +cd dnssec-failed.org A @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31536
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; OPT=15: 00 09 6e 6f 20 53 45 50 20 6d 61 74 63 68 69 6e 67 20 74 68 65 20 44 53 20 66 6f 75 6e 64 20 66 6f 72 20 64 6e 73 73 65 63 2d 66 61 69 6c 65 64 2e 6f 72 67 2e ("..no SEP matching the DS found for dnssec-failed.org.")
;; QUESTION SECTION:
;dnssec-failed.org. IN A
;; ANSWER SECTION:
dnssec-failed.org. 300 IN A 96.99.227.255
;; Query time: 113 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Fri Oct 02 12:13:15 EDT 2026
;; MSG SIZE rcvd: 119
If it fails too, so the nameservers are the fault
; <<>> DiG 9.10.6 <<>> +cd allow-query-none.extended-dns-errors.com A @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 7454
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; OPT=15: 00 12 ("..")
; OPT=15: 00 16 61 74 20 64 65 6c 65 67 61 74 69 6f 6e 20 61 6c 6c 6f 77 2d 71 75 65 72 79 2d 6e 6f 6e 65 2e 65 78 74 65 6e 64 65 64 2d 64 6e 73 2d 65 72 72 6f 72 73 2e 63 6f 6d 2e ("..at delegation allow-query-none.extended-dns-errors.com.")
;; QUESTION SECTION:
;allow-query-none.extended-dns-errors.com. IN A
;; Query time: 510 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Fri Oct 02 12:13:16 EDT 2026
;; MSG SIZE rcvd: 136

The OPT=15 lines are a note from 1.1.1.1 on what went wrong, in code and then in words, between the brackets.

How to read it:

  • status: NOERROR with an ANSWER SECTION (or, on Windows, the name’s records), after step 2 said SERVFAIL: your nameservers answer, but the answer fails the DNSSEC check. Go to A DS record is left from an old DNS host, or, if you haven’t moved DNS hosts, The DNSSEC signatures have expired.
  • status: SERVFAIL again: the nameservers aren’t answering at all, so DNSSEC isn’t the problem. Carry on with step 4.

4. Find the nameservers your registrar lists. Your registrar tells the registry which nameservers answer for your domain. Look these up for the domain itself, such as example.com, not a name under it:

Terminal window
whois example.com | grep -i -E "name server|no match"

whois asks the registry for the domain’s record, and then your registrar’s own record too, when the registry names one. grep keeps only the lines that matter here. The examples below are for wikipedia.org, and for downbad-docs-unregistered-7q2x.com, a name nobody has registered.

If it works
Name Server: ns0.wikimedia.org
Name Server: ns1.wikimedia.org
Name Server: ns2.wikimedia.org
Name Server: ns2.wikimedia.org
Name Server: ns1.wikimedia.org
Name Server: ns0.wikimedia.org
If nobody holds the name
No match for domain "DOWNBAD-DOCS-UNREGISTERED-7Q2X.COM".

The list appears twice when the registrar’s record repeats the registry’s.

No match, or 404 (Not Found) on Windows, means the registry holds no registration under that name: check its spelling. If the command prints nothing, it couldn’t read your registry’s answer, so look at your registrar’s dashboard instead.

To see the same without a terminal, sign in to your registrar: its dashboard lists the domain’s nameservers. Or use DigWebInterface, a free lookup page: enter your domain under Hostnames or IP addresses, choose NS (the kind of record that lists a domain’s nameservers) under Type and NIC (which asks the registry’s own servers) under Nameservers, and select Dig. Each line it prints ends with one of your nameservers.

These should be exactly the nameservers your DNS host gave you, no more and no fewer.

5. Ask each nameserver directly. Put each nameserver from step 4 in place of hera.ns.cloudflare.com, one at a time:

Terminal window
nslookup -type=A example.com hera.ns.cloudflare.com
If it works
Server: hera.ns.cloudflare.com
Address: 108.162.192.162#53
Name: example.com
Address: 104.20.23.154
Name: example.com
Address: 172.66.147.243

This one asked ns1.google.com, one of Google’s nameservers, which doesn’t hold example.com:

If the nameserver refuses
Server: ns1.google.com
Address: 216.239.32.10#53
** server can't find example.com: REFUSED

This one asked ns1.digitalocean.com, one of DigitalOcean’s nameservers. DigitalOcean holds an example.com with no address in it:

If the nameserver has no record for the name
Server: ns1.digitalocean.com
Address: 172.64.52.210#53
*** Can't find example.com: No answer

This one asked 192.0.2.1, an address set aside for examples, where nothing answers:

If nothing answers
;; connection timed out; no servers could be reached

How to read it, for each nameserver:

  • Records listed, with no Non-authoritative answer line (the line nslookup prints when the answer didn’t come from a nameserver that holds the domain): this nameserver answers for your domain.
  • REFUSED: this nameserver doesn’t hold your domain. Go to Your registrar lists nameservers that don’t answer for your domain.
  • No answer: this nameserver holds your domain, but has no record of that type for the name. It may be an old DNS host’s leftover copy, or your DNS host may be missing the record. Check at your DNS host that the record exists, then go to the same cause.
  • Timed out, or no servers could be reached: nothing answered. If every nameserver belongs to one company, go to Your DNS host is having an outage. If they are servers you run, go to Your own nameserver is down or blocked.

To ask a nameserver without a terminal, use DigWebInterface: enter your name under Hostnames or IP addresses and your record type under Type, choose Specify myself under Nameservers and enter the nameserver beside it, and select Dig. A nameserver that answers prints the name’s records under its own name. One that refuses prints nothing there, and one that doesn’t answer prints ;; connection timed out; no servers could be reached.

The causes below run from most to least likely, so start with the first.

This is the likely cause when step 3 of Check it yourself answers with DNSSEC checking off, or Google Public DNS’s "Comment" says DNSSEC validation failure, and you recently moved your domain to a new DNS host or turned DNSSEC off at your DNS host.

The registry still holds the DS record, the fingerprint of the key your old DNS host signed with. Your new DNS host doesn’t sign with that key, or doesn’t sign at all, so resolvers that check DNSSEC turn down every answer for your domain. Visitors whose resolvers check DNSSEC can’t reach your site either. Some DNS hosts can’t sign at all: DigitalOcean’s DNS limits say its “name servers do not support domains with DNSSEC enabled”.

  1. Confirm it with Verisign’s DNSSEC Debugger, a free checker from the company that runs the .com registry. Enter your domain. A red mark means its DNSSEC is broken, and the line beside it says where. For dnssec-failed.org, whose DS record doesn’t match the keys it signs with, one reads None of the 2 DNSKEY records could be validated by any of the 1 DS records: a DNSKEY record holds one of the keys a domain is signed with.

  2. Decide whether to keep DNSSEC. Turning it off is the quickest fix: your domain works again without it, but answers for it are no longer signed.

  3. To turn it off, remove the DS record at your registrar. To keep it, turn DNSSEC on at your new DNS host first, then replace the DS record at your registrar with the one the new host gives you. Your registrar’s own guide shows where: Cloudflare, GoDaddy, Namecheap, Squarespace, Porkbun and Amazon Route 53.

  4. Wait. Resolvers may keep the old DS record for as long as its TTL (time to live, the number of seconds an answer may be kept), which the registry sets. Cloudflare’s DNSSEC guide puts that at “commonly 24–48 hours for most TLDs”, where a TLD is a domain ending such as .com. Then run step 2 of Check it yourself again until it lists your records, and follow Confirm DownBad sees the fix.

This is the likely cause when step 3 of Check it yourself answers with DNSSEC checking off, but you haven’t moved DNS hosts, and Google Public DNS’s answer for your name says Expired RRSIG found, where an RRSIG record is a signature. Each signature has an end date, and the DNS host must sign the records again before it passes. When signing stops, resolvers that check DNSSEC turn down every answer once the signatures run out.

  1. Confirm it on Google Public DNS’s lookup page: enter your name under DNS Name and select Resolve. Below "Status": 2 /* SERVFAIL */, a line that starts "extra_text" reads Expired RRSIG found and names the signature that ran out.

  2. If your DNS host signs your domain for you, such as Cloudflare, ask its support to sign it again, and show them the result. To get your domain working before they fix it, turn DNSSEC off by removing the DS record at your registrar, as its own guide shows: Cloudflare, GoDaddy, Namecheap, Squarespace, Porkbun and Amazon Route 53.

  3. If you sign the domain yourself, sign it again, and check that whatever signs it keeps running. BIND’s DNSSEC guide says that when you sign by hand, “you will need to re-sign periodically, as well as every time the zone data changes”, where the zone is the domain’s records as BIND, the DNS server software from ISC (the Internet Systems Consortium), holds them.

  4. If you removed the DS record, resolvers may keep it for as long as its TTL, which Cloudflare’s DNSSEC guide puts at “commonly 24–48 hours for most TLDs”. Whichever fix you made, run step 2 of Check it yourself again until it lists your records, and follow Confirm DownBad sees the fix.

Your registrar lists nameservers that don’t answer for your domain

Section titled “Your registrar lists nameservers that don’t answer for your domain”

This is the likely cause when step 3 of Check it yourself still says SERVFAIL with DNSSEC checking off, and step 5 gets REFUSED or No answer from one or more of the nameservers that step 4 lists. Google Public DNS’s "Comment" may say Name servers refused query (lame delegation?).

It usually happens after a move: the registrar still lists the old DNS host’s nameservers, the old host has deleted the domain, or a nameserver was typed wrong.

  1. Find the nameservers your DNS host gives you for the domain, in its own guide: Cloudflare, Amazon Route 53 and DigitalOcean, for example.

  2. Set exactly those nameservers at your registrar, with no old ones left in the list. Your registrar’s guide shows where they are set: GoDaddy and Namecheap, for example.

  3. Check that the DNS host has every record your domain needs, this name’s included. Its own guide shows how to add one: Cloudflare, Amazon Route 53, GoDaddy, Namecheap, Squarespace and DigitalOcean.

  4. Wait. Cloudflare says to wait up to 24 hours while your registrar updates your nameservers, and GoDaddy says DNS changes can take up to 48 hours to update globally. Then run steps 4 and 5 of Check it yourself again until every nameserver answers, run step 2, and follow Confirm DownBad sees the fix.

This is the likely cause when step 5 of Check it yourself times out for every nameserver, they all belong to one company, and you haven’t changed anything.

  1. Check your DNS host’s status page: Cloudflare, Amazon Web Services, which runs Route 53, DigitalOcean, GoDaddy, Namecheap and Squarespace, for example.

  2. If it reports a problem, there is nothing to change on your side. Wait for the DNS host to fix it, or ask its support for news.

  3. Once the status page says it is fixed, run step 5 of Check it yourself again. When every nameserver answers, follow Confirm DownBad sees the fix.

This is the likely cause when the nameservers that step 4 of Check it yourself lists are servers you or your company run, and step 5 times out for them.

  1. On that server, check that the DNS software is running, and start it if it isn’t, as its own documentation shows. For BIND on Ubuntu, Ubuntu’s DNS guide restarts it with a command that needs sudo (a command that runs another as the computer’s administrator, and asks for your password).

  2. Check that the server’s firewall (software that decides which connections get through) lets DNS in on port 53, over both UDP and TCP, the two ways computers send each other data. The internet standard for DNS over TCP says most DNS lookups travel over UDP, and that “All general-purpose DNS implementations MUST support both UDP and TCP transport.” Changing a firewall needs sudo. On Ubuntu’s firewall, ufw, its manual gives a rule for port 53 that “will allow tcp and udp port 53 to any address on this host”. On firewalld, another common Linux firewall, its guide shows how to open a port or a service.

  3. Run step 5 of Check it yourself again from a computer outside that server’s network, because a question from inside can pass by a firewall that turns away the rest of the internet. When every nameserver answers, follow Confirm DownBad sees the fix.

This is the likely cause when step 2 of Check it yourself lists your records and step 5 gets an answer from every nameserver, but DownBad’s checks still fail. It is also the cause when the reason has EREFUSED or ECONNREFUSED just before the name, which come from the resolver DownBad uses, not from your domain.

That is DownBad’s to fix, not yours.

  1. Press Test Now on the incident once. If the lookup failed only for a moment, the check passes, and Confirm DownBad sees the fix says how the incident closes.

  2. If it fails again, collect what Still stuck lists, and email us.

  1. Fix the cause first. A check that still fails while you work only adds to the time the incident takes to close.

  2. Open the incident and press Test Now. DownBad checks again within a few seconds instead of waiting for the next scheduled check.

  3. Wait a minute, then reload the incident page, which doesn’t update by itself. The incident closes by itself once enough checks in a row pass. You can’t close an incident by hand.

How many passing checks it takes. While an incident is open, DownBad checks less often after repeated failures. This is called back-off. Each failed check adds one step of back-off, up to 14. Each passing check takes one step away and asks for the next check straight away. When no steps are left, one more passing check closes the incident. So after a steady outage it takes one more passing check than there were failed checks while the incident was open, counting the one that opened it, and never more than 15.

These are the defaults. The monitor’s notification profile can change them for each monitor type under Backoff Config, and its settings are the ones that count: Recovery is how many passing checks in a row, with no back-off left, close the incident (2 by default, counting the check that takes the last step away), and Start after, Rate and Max interval decide when back-off starts and how far it goes. If the profile changes them, the step counts above and the waits below change with them.

How long that takes. After you press Test Now, those passing checks run back to back, a few seconds apart, so the incident usually closes within a minute. It takes longer when checks are slow to finish, such as a page that takes several seconds to load.

If you don’t press Test Now, the first passing check waits for the next scheduled one. With the default settings, from the third failed check on, DownBad waits 5 more minutes for each failure, up to an hour more than the monitor’s usual interval:

Monitor checks everyAfter 1 or 2 failed checksAfter 3After 6After 14 or more
1 minute1 minute6 minutes21 minutes61 minutes
5 minutes5 minutes10 minutes25 minutes65 minutes
1 hour1 hour1 hour 5 minutes1 hour 20 minutes2 hours
1 day1 day1 day 5 minutes1 day 20 minutes1 day 1 hour

Before you ask for help, collect:

  • the link to the incident, and the reason it shows, word for word
  • the output of the commands in Check it yourself, with the time you ran them and your time zone
  • what Google Public DNS’s lookup page showed for your name, with and without DNSSEC validation
  • the nameservers your registrar lists and those your DNS host gave you, and any change you made to them or to DNSSEC recently

Then send all of it to us through Contact Us.