DNS Record Not Found
DownBad looked up the name your monitor checks, and found none of the entries it checks for. This page helps you find out why, put the missing entry in place, and see the incident close.
What you’re seeing
Section titled “What you’re seeing”DNS (the Domain Name System, the internet’s address book) keeps the details
of each domain, the part of a name you register, such as example.com, as
records. Each record has a type: an A record gives a name an IPv4
address (four numbers such as 203.0.113.10), an AAAA record gives it an
IPv6 address (the newer, longer kind), an MX record says which servers receive the domain’s email, and a TXT
record holds text that other services read, such as proof that you own the
domain. The records live on the domain’s nameservers, the servers that
answer for it, which your DNS host runs: the company where you manage your
records, such as Cloudflare or your registrar, the company you pay for the
domain.
A DNS monitor is DownBad’s check of a name’s records. Under DNS Records, each Record Type it watches has Expected Values. When those are empty, or an A or AAAA record has When the address changes set to Keep passing, the monitor checks only that the name has at least one record of that type. An incident is open for one of those record types, and it shows a reason like this:
No MX records found for example.com
The record type comes after No, and the name at the end is the monitor’s
Domain. This incident shows no failure type.
The reason means DNS answered, but with no record of that type for the name. Usually the name has other records and not this one. Some DNS hosts give the same answer for a name that has no records at all. Cloudflare does when DNSSEC is turned on (DNS Security Extensions, which sign a domain’s records so a DNS server, a computer that answers DNS lookups, can tell a forged answer from a real one), at least to DNS servers that ask for signed answers, as public ones such as 1.1.1.1, Cloudflare’s own, do. Its DNSSEC docs say it uses “Compact Denial of Existence (RFC 9824)”, and RFC 9824, the standard for it, describes answering for a name that doesn’t exist as if the name existed with no records of the type asked for. On such a domain, a name that was never created can give this reason too.
Two other reasons look similar and have their own pages:
- If the monitor expects particular values, a missing record reads
MX records for example.com changed: missing [...]: see DNS Records Changed. - If DNS answered that the name doesn’t exist, the reason starts
DNS name does not resolve: see Host Name Not Found.
Is it you or us?
Section titled “Is it you or us?”It is the domain’s DNS, not DownBad. DownBad didn’t open this incident on one check, either: it checked again from up to three other places in the United States, each of which looked the record up for itself, and opened the incident only when at least half of the places that answered found no record either.
To check without a terminal (the window where you type commands), ask Google Public DNS, a free public DNS server that Google runs:
-
Open Google Public DNS’s lookup page. Enter the name from the reason under DNS Name, and the record type from the reason under RR Type. Select Resolve.
-
Read what it shows:
- An
"Answer"list with your record type after"type", such as15 /* MX */: the record exists now. It may have been added since DownBad checked: go to step 5 of Check it yourself to see how long DownBad may take to notice. - No
"Answer"list, or one without your record type, with"Status": 0 /* NOERROR */(no error): the name has no record of that type, as DownBad found. Carry on with Check it yourself, or go straight to Fix it.
- An
Check it yourself
Section titled “Check it yourself”These commands use nslookup, a lookup tool that comes with macOS and
Windows. On Ubuntu or Debian, install the dnsutils package if it’s missing.
Run them in a terminal: Terminal on a Mac, PowerShell (the command window that
comes with Windows) on Windows. Every command only reads, and changes nothing.
1. Find the record type and the name. Both are in the reason:
No MX records found for example.com is the MX record of example.com. Put
your record type in place of MX, and your name in place of example.com, in
the commands below.
2. Look the record up in public DNS. This asks 1.1.1.1, Cloudflare’s public DNS server, rather than your own network’s, so it sees what the rest of the internet sees:
nslookup -type=MX example.com 1.1.1.1example.com has no usable MX record, so the first example is for
wikipedia.org, and the second asked for www.example.com, a name with
an address but no MX record:
Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:wikipedia.org mail exchanger = 10 mx-in1001.wikimedia.org.wikipedia.org mail exchanger = 10 mx-in2001.wikimedia.org.
Authoritative answers can be found from:Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:*** Can't find www.example.com: No answer
Authoritative answers can be found from:example.com origin = elliott.ns.cloudflare.com mail addr = dns.cloudflare.com serial = 2416374680 refresh = 10000 retry = 2400 expire = 604800 minimum = 1800nslookup -type=MX example.com 1.1.1.1example.com has no usable MX record, so the first example is for
wikipedia.org, and the second asked for www.example.com, a name with
an address but no MX record:
Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:wikipedia.org mail exchanger = 10 mx-in1001.wikimedia.org.wikipedia.org mail exchanger = 10 mx-in2001.wikimedia.org.
Authoritative answers can be found from:Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:*** Can't find www.example.com: No answer
Authoritative answers can be found from:example.com origin = elliott.ns.cloudflare.com mail addr = dns.cloudflare.com serial = 2416374680 refresh = 10000 retry = 2400 expire = 604800 minimum = 1800nslookup -type=MX example.com 1.1.1.1Microsoft’s
nslookup reference
documents the -type= option but doesn’t publish what this prints. When it
works, it lists the records. When the record is missing, it prints the
error the reference calls No records.
How to read it:
- Records of that type listed: the record exists now. If it was added recently, step 5 says how long DownBad may take to see it.
No answer, orNo recordson Windows: the name has no record of that type, as DownBad found. The lines afterAuthoritative answers can be found from:are the domain’s SOA record (the record that holds the domain’s DNS settings), which step 5 explains.NXDOMAIN(non-existent domain): the name doesn’t exist at all. See Host Name Not Found.
3. Find which DNS host answers for the domain. A record only counts at the
DNS host whose nameservers the domain uses. Look up the domain itself, such as
example.com, even when the reason names a name under it:
nslookup -type=NS example.com 1.1.1.1Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:example.com nameserver = hera.ns.cloudflare.com.example.com nameserver = elliott.ns.cloudflare.com.
Authoritative answers can be found from:Server: 1.1.1.1Address: 1.1.1.1#53
** server can't find downbad-docs-unregistered-7q2x.com: NXDOMAINnslookup -type=NS example.com 1.1.1.1Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:example.com nameserver = hera.ns.cloudflare.com.example.com nameserver = elliott.ns.cloudflare.com.
Authoritative answers can be found from:Server: 1.1.1.1Address: 1.1.1.1#53
** server can't find downbad-docs-unregistered-7q2x.com: NXDOMAINnslookup -type=NS example.com 1.1.1.1Microsoft’s
nslookup reference
documents the -type= option but doesn’t publish what this prints. When it
works, it lists the domain’s nameservers. When the domain doesn’t exist, it
prints the error the reference calls Nonexistent domain.
The nameservers’ names usually say which company runs them. Names ending in
ns.cloudflare.com are
Cloudflare’s,
names like ns-2048.awsdns-64.com are
Amazon Route 53’s,
names with domaincontrol.com are
usually GoDaddy’s,
dns1.registrar-servers.com and dns2.registrar-servers.com are
Namecheap’s,
and ns1.digitalocean.com to ns3.digitalocean.com are
DigitalOcean’s.
Records added at any other company don’t count.
4. Ask the domain’s own nameserver. It answers straight from your DNS
host’s records, before any public DNS server has caught up, so it shows a
change at once. Put your name in place of example.com, your record type in
place of MX, and a nameserver from step 3 in place of
hera.ns.cloudflare.com:
nslookup -type=MX example.com hera.ns.cloudflare.comThe first example asked ns0.wikimedia.org, one of wikipedia.org’s
nameservers, and the others asked hera.ns.cloudflare.com, one of
example.com’s, for the MX record of www.example.com and then for
the TXT record of _dnbtest.example.com, a name example.com doesn’t
have:
Server: ns0.wikimedia.orgAddress: 208.80.154.238#53
wikipedia.org mail exchanger = 10 mx-in1001.wikimedia.org.wikipedia.org mail exchanger = 10 mx-in2001.wikimedia.org.Server: hera.ns.cloudflare.comAddress: 108.162.192.162#53
*** Can't find www.example.com: No answerServer: hera.ns.cloudflare.comAddress: 108.162.192.162#53
** server can't find _dnbtest.example.com: NXDOMAINnslookup -type=MX example.com hera.ns.cloudflare.comThe first example asked ns0.wikimedia.org, one of wikipedia.org’s
nameservers, and the others asked hera.ns.cloudflare.com, one of
example.com’s, for the MX record of www.example.com and then for
the TXT record of _dnbtest.example.com, a name example.com doesn’t
have:
Server: ns0.wikimedia.orgAddress: 208.80.154.238#53
wikipedia.org mail exchanger = 10 mx-in1001.wikimedia.org.wikipedia.org mail exchanger = 10 mx-in2001.wikimedia.org.Server: hera.ns.cloudflare.comAddress: 108.162.192.162#53
*** Can't find www.example.com: No answerServer: hera.ns.cloudflare.comAddress: 108.162.192.162#53
** server can't find _dnbtest.example.com: NXDOMAINnslookup -type=MX example.com hera.ns.cloudflare.comMicrosoft’s
nslookup reference
gives this command but doesn’t publish what this prints. When it works, it
lists the records. When the record is missing, it prints the error the
reference calls No records.
If step 4 says NXDOMAIN, or Nonexistent domain on Windows, while step 2
said No answer (No records on Windows), the name has no records at all.
Asked directly, Cloudflare’s nameserver said this for _dnbtest.example.com, as
the last macOS and Linux example shows, though 1.1.1.1 answers that name with
No answer. Treat it the same as No answer.
5. Find how long public DNS may remember the record as missing. A DNS
server that looked the record up while it was missing may keep answering that
it isn’t there for a while, and DownBad’s checks ask servers like that. The
longest it may wait is the minimum in the domain’s SOA record, in seconds,
which Windows calls
default TTL (TTL, short for time to live, is how long a DNS answer may be
kept).
RFC 2308, the standard for
this, sets that limit:
nslookup -type=SOA example.com 1.1.1.1Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:example.com origin = elliott.ns.cloudflare.com mail addr = dns.cloudflare.com serial = 2416374680 refresh = 10000 retry = 2400 expire = 604800 minimum = 1800
Authoritative answers can be found from:Server: 1.1.1.1Address: 1.1.1.1#53
** server can't find downbad-docs-unregistered-7q2x.com: NXDOMAINnslookup -type=SOA example.com 1.1.1.1Server: 1.1.1.1Address: 1.1.1.1#53
Non-authoritative answer:example.com origin = elliott.ns.cloudflare.com mail addr = dns.cloudflare.com serial = 2416374680 refresh = 10000 retry = 2400 expire = 604800 minimum = 1800
Authoritative answers can be found from:Server: 1.1.1.1Address: 1.1.1.1#53
** server can't find downbad-docs-unregistered-7q2x.com: NXDOMAINnslookup -type=SOA example.com 1.1.1.1Microsoft’s
nslookup reference
documents the -type= option but doesn’t publish what this prints.
When it works, Windows labels the number default TTL rather than
minimum, as
a real run posted on Microsoft’s Q&A site
shows, so look for the line that starts with default TTL. When the domain
doesn’t exist, it prints the error the reference calls Nonexistent domain.
For example.com, minimum = 1800 means up to 30 minutes.
Without a terminal: Google Public DNS’s lookup page
runs the lookups in steps 2, 3 and 5: choose your record type under
RR Type for step 2, NS (the record type that lists a domain’s
nameservers) for step 3, and SOA for step 5, where the
last number in the answer’s "data" is the minimum. For step 4,
DigWebInterface, a free lookup page, asks a
domain’s own nameservers: enter your name under Hostnames or IP addresses,
choose your record type under Type, choose Authoritative under
Nameservers, and select Dig.
Fix it
Section titled “Fix it”The causes below run from most to least likely, so start with the first. If this monitor used to pass, a record that was deleted is more likely than one that was never there.
If someone else manages your domain for you, such as a web agency or your IT team, send them the reason the incident shows and a link to this page. The fix is theirs to make.
The record was deleted or never created
Section titled “The record was deleted or never created”This is the likely cause when step 4 of Check it yourself
also says No answer for the name (or NXDOMAIN, as step 4 explains), and
your DNS host’s records page has no
record of this type for it.
-
Find what the record should hold. The service that needs it says: your email provider gives the MX and TXT records for your mail, and your hosting provider the A or AAAA record for your site.
-
Log in to the DNS host that step 3 of Check it yourself named, open your domain’s DNS records, and look for a record of this type for the name. A record may have been deleted by mistake, or lost when the domain moved to a new DNS host.
-
Add the record, as your DNS host’s own guide shows: Cloudflare, Amazon Route 53, GoDaddy, Namecheap, DigitalOcean and Squarespace, for email records or website records.
-
Check the record is live with step 4 of Check it yourself, which asks your DNS host’s own nameserver.
-
Before you press Test Now, wait up to the time step 5 of Check it yourself shows: public DNS servers that looked the record up while it was missing may still remember it that way. Then run step 2 of Check it yourself again, and once it lists the record, follow Confirm DownBad sees the fix.
The record is under a different name
Section titled “The record is under a different name”This is the likely cause when your DNS host shows a record of this type, but
step 4 of Check it yourself still says No answer (or
NXDOMAIN) for the name in the reason. The record is there, but for another name.
DNS hosts name records by the part before your domain. For the domain itself,
most use @:
Cloudflare,
GoDaddy,
Namecheap,
DigitalOcean
and
Squarespace.
Amazon Route 53
leaves the name empty instead. A record named www belongs to
www.example.com, not to example.com. At a DNS host that adds your domain to
the name, typing the full name gives a record for
www.example.com.example.com, as
Cloudflare warns
for a similar name.
-
At your DNS host, compare the record’s name with the name in the reason. The domain itself is
@, or an empty name at Amazon Route 53, and any other name is the part before the domain. -
If the record is under the wrong name, change its name, or add the record again under the right one, as your DNS host’s own guide shows: Cloudflare, Amazon Route 53, GoDaddy, Namecheap, DigitalOcean and Squarespace, for email records or website records.
-
If the record is right and the monitor checks the wrong name, change the monitor instead: open it from Monitors in DownBad’s sidebar, select Edit on its Configuration card, correct its Domain, and select Save Monitor.
-
Check with step 4 of Check it yourself. Before you press Test Now, wait up to the time step 5 shows, then follow Confirm DownBad sees the fix.
The record was added at a DNS host the domain doesn’t use
Section titled “The record was added at a DNS host the domain doesn’t use”This is the likely cause when you added the record and can see it at your DNS
host, but step 4 of Check it yourself says No answer
(or NXDOMAIN),
and the nameservers that step 3 lists belong to a different company from the
one where you added it.
It happens after a domain moves to a new DNS host, or when a registrar offers a DNS records page while the domain uses another company’s nameservers. Only the DNS host whose nameservers the domain uses answers for it.
-
Find the nameservers of the DNS host where you added the record, in its own guide, and compare them with step 3’s: Cloudflare, Amazon Route 53 and DigitalOcean, for example.
-
Add the record at the DNS host that step 3 named, as its own guide shows: Cloudflare, Amazon Route 53, GoDaddy, Namecheap, DigitalOcean and Squarespace, for email records or website records.
-
Check with step 4 of Check it yourself. Before you press Test Now, wait up to the time step 5 shows, then follow Confirm DownBad sees the fix.
The monitor checks a record type the name doesn’t need
Section titled “The monitor checks a record type the name doesn’t need”This is the likely cause when the name works without this record. Not every
name needs every type: a site that has only an IPv4 address needs no AAAA
record. A
name that receives no email, such as www.example.com, needs no MX record.
-
Decide whether the name needs the record. If it does, go back to The record was deleted or never created.
-
If it doesn’t, change the monitor: open it from Monitors in DownBad’s sidebar, select Edit on its Configuration card, and under DNS Records change the Record Type to one the name has, which step 2 of Check it yourself can show. If the monitor watches more than one record type, you can remove this one with the × at the top of its box instead. Then select Save Monitor.
-
Follow Confirm DownBad sees the fix.
Confirm DownBad sees the fix
Section titled “Confirm DownBad sees the fix”-
Fix the cause first. A check that still fails while you work only adds to the time the incident takes to close.
-
Open the incident and press Test Now. DownBad checks again within a few seconds instead of waiting for the next scheduled check.
-
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 every | After 1 or 2 failed checks | After 3 | After 6 | After 14 or more |
|---|---|---|---|---|
| 1 minute | 1 minute | 6 minutes | 21 minutes | 61 minutes |
| 5 minutes | 5 minutes | 10 minutes | 25 minutes | 65 minutes |
| 1 hour | 1 hour | 1 hour 5 minutes | 1 hour 20 minutes | 2 hours |
| 1 day | 1 day | 1 day 5 minutes | 1 day 20 minutes | 1 day 1 hour |
Still stuck
Section titled “Still stuck”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
- the name of the company where you manage the domain’s DNS records, and any change you made to them recently
Then send all of it to us through Contact Us.