Skip to content

Host Name Not Found

DownBad tried to look up the name your monitor checks, and got no address back. For a URL, port or SSL monitor, that means there was nothing to connect to, so the check failed before it started. This page helps you find out why the name has no address, 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. An incident is open for a URL, port, SSL or DNS monitor, and each reason below means the lookup for your monitor’s name came back without an address. The incident shows one of them:

  • DNS resolution failed: getaddrinfo ENOTFOUND example.com, on a URL monitor, with the failure type dns.
  • Host not found: Cannot resolve example.com, on a port monitor, with the failure type network.
  • SSL domain not found: Operation failed after 4 attempts. Last error: getaddrinfo ENOTFOUND example.com, on an SSL monitor, with the failure type network. An SSL monitor tries more than once before it gives up, and the reason says how many times.
  • SSL domain not found: Operation failed after 4 attempts. Last error: getaddrinfo EAI_AGAIN example.com, on an SSL monitor, with the failure type network. This one is different: see Is it you or us?
  • DNS name does not resolve: no A records exist for example.com, on a DNS monitor, with the failure type nxdomain. Your incident may name another kind of DNS record (one entry in a name’s DNS details) in place of A, the kind that holds a name’s address.

Resolving a name means looking up its 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: an A record gives a name an IPv4 address (four numbers such as 203.0.113.10), and an AAAA record gives it an IPv6 address, the newer, longer kind. The records are held on the domain’s nameservers, the servers that answer for it, which your DNS host runs: the company where you manage those records, such as Cloudflare or the company you registered the domain with. The reasons above mean the lookup came back empty:

  • ENOTFOUND is the error code for a name with no address. The name either doesn’t exist at all, or exists without an A or AAAA record. DownBad’s URL, port and SSL checks can’t tell those two apart, and the fixes below cover both.
  • On a DNS monitor, nxdomain (short for “non-existent domain”) means the name doesn’t exist at all.

It is almost always the name’s DNS, not DownBad. DownBad itself keeps no copy of earlier answers: every check looks the name up again.

DownBad didn’t open this incident on one check, either. When a check fails, DownBad first checks again from up to three other places in the United States, each of which looks the name up for itself, and opens the incident only when at least half of the places that answered failed too.

The one exception is the SSL reason that ends in EAI_AGAIN, the code for a lookup by DownBad’s own servers that didn’t get a usable answer, rather than an answer saying the name has no address. If the checks below find your name from everywhere, the problem is probably on DownBad’s side, not yours: skip to Still stuck and tell us. If they fail with SERVFAIL instead, your domain’s nameservers aren’t answering properly, and your DNS host is the one to ask: DNS Server Failure shows how to find out why.

The trap is checking from a computer that knows the name when the rest of the internet doesn’t. A company network, a VPN (a private connection into a company’s network), or a line in your computer’s hosts file (a list of names and addresses that only that computer reads) can all answer for a name that public DNS has never heard of. So ask public DNS:

  1. Open Google’s DNS lookup tool in a browser, enter the name from your monitor, such as shop.example.com, and look it up. It asks a DNS server (a computer that answers DNS lookups) that Google runs, not your own network.

  2. Run a free DNS check from other countries at check-host.net. Enter the same name. Every location should list your server’s address.

  3. Read the results:

    • No address, from anywhere: the name really doesn’t resolve. Carry on below.
    • The address shows everywhere: the problem has gone, perhaps because a change you made has now spread. Skip to Confirm DownBad sees the fix.
    • The address shows in some places and not others: a recent change is still spreading. See the nameservers cause.

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. Steps 2, 3, 5 and 6 look things up the way the rest of the internet does: each asks 1.1.1.1, Cloudflare’s public DNS server, rather than your own network, so a name only your network knows doesn’t fool it. Step 4 asks your domain’s own nameserver instead, to see a change before the rest of the internet does. Every command only reads, and changes nothing.

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

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

The commands below use example.com. Put your name in its place.

2. Look up the name:

Terminal window
nslookup 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: 172.66.147.243
Name: example.com
Address: 104.20.23.154

example.com itself resolves, so the two failures below are for other names. This one asked for downbad-unregistered-7f3k2q.com, a domain nobody has registered:

If the name doesn't exist
Server: 1.1.1.1
Address: 1.1.1.1#53
** server can't find downbad-unregistered-7f3k2q.com: NXDOMAIN

This one asked for no-such-host.example.com, a name under example.com with no address record:

If the name has no address
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
*** Can't find no-such-host.example.com: No answer

NXDOMAIN means the name doesn’t exist at all. No answer means the name’s domain exists, but nothing gives this name an address. DownBad’s checks report both the same way: as ENOTFOUND on a URL or SSL monitor, and as Cannot resolve on a port monitor.

3. If the name didn’t resolve, look up its domain. The domain is the part you registered, such as example.com in shop.example.com. This asks for the domain’s nameservers, the servers that hold its DNS records:

Terminal window
nslookup -type=NS example.com 1.1.1.1
If it works
Server: 1.1.1.1
Address: 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:
If the domain doesn't exist
Server: 1.1.1.1
Address: 1.1.1.1#53
** server can't find downbad-unregistered-7f3k2q.com: NXDOMAIN

How to read the two lookups together:

  • Step 3 fails too: the domain itself isn’t in DNS. It has expired, was never registered, or is spelled differently from the one you own. Go to the typo cause and then the expired domain cause.
  • Step 3 works, step 2 doesn’t: the domain is fine, and only this name has no address. Go to the typo cause, then the alias cause if step 6 shows your name is an alias, and then the missing record cause. The nameservers step 3 lists tell you who hosts your DNS: names ending in ns.cloudflare.com, as above, mean Cloudflare, and names such as ns-2048.awsdns-64.com mean Amazon Route 53.

4. After you add or change a record, ask the domain’s own nameserver. One of the nameservers step 3 listed answers straight from your DNS host’s records, before any public DNS server has caught up. Put your name in place of example.com, and your nameserver in place of hera.ns.cloudflare.com:

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

This one asked for no-such-host.example.com, a name under example.com with no record:

If the record isn't there
Server: hera.ns.cloudflare.com
Address: 108.162.192.162#53
** server can't find no-such-host.example.com: NXDOMAIN

5. Find how long public DNS may remember the name as missing. A DNS server that looked the name up while it was missing may keep answering “not found” for a while, and DownBad’s checks ask servers like that. The longest it may wait is the minimum in your domain’s SOA record (the record that holds the domain’s DNS settings), 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:

Terminal window
nslookup -type=SOA example.com 1.1.1.1
If it works
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
example.com
origin = elliott.ns.cloudflare.com
mail addr = dns.cloudflare.com
serial = 2415949263
refresh = 10000
retry = 2400
expire = 604800
minimum = 1800
Authoritative answers can be found from:
If the domain doesn't exist
Server: 1.1.1.1
Address: 1.1.1.1#53
** server can't find downbad-unregistered-7f3k2q.com: NXDOMAIN

For example.com, minimum = 1800 means up to 30 minutes.

6. If the name didn’t resolve, see whether it is an alias. A CNAME record makes a name an alias of another name: looking up the alias gives the other name’s address, so when the other name stops existing, the alias stops resolving too. Step 2 can’t show this, because for such an alias it says only that your name can’t be found. This asks for the name’s CNAME record instead:

Terminal window
nslookup -type=CNAME example.com 1.1.1.1

example.com isn’t an alias, so this one asked for www.github.com, an alias of github.com:

If it works
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
www.github.com canonical name = github.com.
Authoritative answers can be found from:

This one asked for example.com, which isn’t an alias:

If the name isn't an alias
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
*** Can't find example.com: No answer
Authoritative answers can be found from:
example.com
origin = elliott.ns.cloudflare.com
mail addr = dns.cloudflare.com
serial = 2420077714
refresh = 10000
retry = 2400
expire = 604800
minimum = 1800

If the answer has a canonical name = line, the name after it is the one your alias points to. Run step 2 again with that name in place of example.com. If it says NXDOMAIN, or Nonexistent domain on Windows, your alias points at a name that’s gone: see the alias cause.

Without a terminal: Google’s DNS lookup tool runs the lookups in steps 2, 3, 5 and 6: choose A for step 2, NS for step 3, SOA for step 5, where the last number in the answer is the minimum, and CNAME for step 6. For step 4, DigWebInterface asks a domain’s own nameservers: enter your name, choose A as the Type, and choose Authoritative under Nameservers. ICANN Lookup, run by the organization that oversees domain names, shows whether a domain is registered, when its registration expires, and its status.

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 or a domain that expired is more likely than a typo.

Most fixes happen where you manage your domain: at your registrar (the company you registered the domain with, such as GoDaddy, Namecheap or Squarespace), or at your DNS host (the company whose nameservers step 3 of Check it yourself listed). Often they are the same company.

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.

This is the likely cause when the monitor has never passed since you added it, or when the name in the incident’s reason isn’t quite the one you use. A missing or extra www, the wrong ending, such as .co for .com, and a doubled or swapped letter are the usual slips.

  1. Open the site or service the way you normally reach it, and copy its name from the browser’s address bar or your own settings.

  2. Compare it, letter by letter, with the name in the incident’s reason, or in the monitor’s URL, Domain or Hostname setting.

  3. If they differ, correct the monitor’s setting and save the monitor.

  4. Run step 2 of Check it yourself with the corrected name. It should now list an address.

The domain has expired or was never registered

Section titled “The domain has expired or was never registered”

This is the likely cause when step 3 of Check it yourself says NXDOMAIN for your domain too, or Nonexistent domain on Windows. When a registration lapses, the domain can be taken out of DNS, and then every name under it stops resolving at once.

  1. Look the domain up at ICANN Lookup. The registration is the problem if it shows an expiry date in the past, no record at all, or one of these statuses, which ICANN explains: clientHold or serverHold, which keep the domain out of DNS, or redemptionPeriod, which means the registrar has asked for the domain to be deleted.

  2. Log in to your registrar and renew the domain. If you can’t remember which registrar you used, ICANN Lookup names it. Your registrar’s guide to renewing an expired domain shows how: GoDaddy, Namecheap and Squarespace, for example. More on renewing, and on the grace period after a domain expires, is in Domain Registration Expiring or Expired.

  3. If ICANN Lookup has no record of the domain at all, nobody holds it now: it was never registered, or it lapsed and was deleted. Register it at a registrar, whose own guide shows how: GoDaddy, Namecheap and Squarespace, for example. If you meant another domain, correct the monitor instead.

  4. Run step 3 of Check it yourself again. It should list the domain’s nameservers once the renewal or registration takes effect. Namecheap says to allow 24 to 48 hours after renewing an expired domain, and Squarespace says it may take up to 48 hours.

This is the likely cause when step 3 of Check it yourself lists your domain’s nameservers and step 5 shows its SOA record, but step 2 finds no address for the name, and step 6 shows no canonical name = line for it. The domain is fine: nothing at your DNS host gives this name an address. On a URL, port or SSL monitor, DownBad looks for this itself when the incident opens, and when it finds it, the incident names your name and your domain.

A name gets its address from a record at your DNS host: an A record points a name at an IPv4 address (four numbers such as 203.0.113.10), an AAAA record points it at an IPv6 address, and a CNAME record makes it an alias of another name.

  1. Find your server’s address, or the name your hosting provider told you to point at. It is in your hosting provider’s dashboard, often on the page for the server or site.

  2. Log in to your DNS host, the company step 3 of Check it yourself named, open your domain’s DNS records, and look for the name. A record may have been deleted by mistake, or lost when the domain moved to a new DNS host.

  3. Add the record: an A record for the name, pointing at your server’s address, or a CNAME if your hosting provider asked for one. DNS hosts name records by the part before your domain: at Namecheap, for example, the record for shop.example.com is named shop, and the one for example.com itself is named @. Your DNS host’s own guide shows where to add one: Cloudflare, Amazon Route 53, GoDaddy, Namecheap, Squarespace and DigitalOcean.

  4. Check the record is live with step 4 of Check it yourself, which asks your DNS host’s own nameserver.

  5. Before you press Test Now, wait up to the time step 5 of Check it yourself shows: public DNS servers that looked the name 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 address, follow Confirm DownBad sees the fix.

The name is an alias for a name that’s gone

Section titled “The name is an alias for a name that’s gone”

This is the likely cause when step 6 of Check it yourself shows a canonical name = line for your name, and step 2 says NXDOMAIN for the name after it, or Nonexistent domain on Windows. On a URL, port or SSL monitor, DownBad looks for this itself when the incident opens, and when it finds it, the incident names your name and the name it points to.

A CNAME record makes your name an alias of another name, so looking up your name gives that other name’s address. A hosting platform (a service that runs your site or app for you) often gives you a name of its own to point an alias at. When that name stops existing, because the site, app or service behind it was deleted, renamed or moved, your alias points at nothing, and your name stops resolving too.

  1. Work out what the alias was for. The name after canonical name = usually ends in the platform’s own domain, which tells you where to look. Log in to that platform and find the site, app or service.

  2. If it was deleted by mistake and you still need it, set it up again on the platform under the name your alias points to, if the platform still offers that name. Your alias then works again with no change at your DNS host.

  3. If the site, app or service now has another name, point your alias at it. Log in to your DNS host, the company step 3 of Check it yourself named, open your domain’s DNS records, find the CNAME record for your name, and change the name it points to. Your DNS host’s own guide shows how to edit a record: Cloudflare, Amazon Route 53, GoDaddy and DigitalOcean.

  4. If you no longer need the name, delete its CNAME record at your DNS host, whose own guide shows how: Cloudflare, Amazon Route 53, GoDaddy and DigitalOcean. The name will then never resolve, so change the monitor’s URL, Domain or Hostname to a name you still use, or delete the monitor.

  5. If you kept the alias, run step 2 of Check it yourself again for your name. It should now list an address after the canonical name = line instead of saying NXDOMAIN. Your DNS host’s own nameserver, which step 4 asks, only knows the alias, so it can’t show whether the name it points to exists again.

  6. Before you press Test Now, wait up to the time step 5 of Check it yourself shows: public DNS servers that looked the name 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 address, follow Confirm DownBad sees the fix.

The domain recently moved to new nameservers

Section titled “The domain recently moved to new nameservers”

This is the likely cause when you changed your domain’s nameservers in the last day or two, such as to move your DNS to Cloudflare, and the name resolves in some places and not in others, or only at the old DNS host.

Nameservers are set at your registrar. After a change, DNS servers around the world keep using the old nameservers until their saved copy runs out. 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.

  1. Check that the new DNS host has every record the old one had, this name’s included. A record that was never copied over stops resolving as soon as the new nameservers take over. If one is missing, add it at the new DNS host, which its own guide shows how to do: Cloudflare, Amazon Route 53, GoDaddy, Namecheap, Squarespace and DigitalOcean.

  2. Check that the nameservers at your registrar are exactly the ones the new DNS host gave you, with no old ones left in the list. Your registrar’s guide shows where they are set: GoDaddy and Namecheap, for example.

  3. Wait, then run step 3 of Check it yourself again. It should list only the new nameservers.

  4. Run the check-host.net DNS check again. Once every location lists your server’s address, the change has spread.

The name only exists inside a private network

Section titled “The name only exists inside a private network”

This is the likely cause when the name works from your office, over your VPN, or on the server itself, but step 2 of Check it yourself finds no address. Company networks often have their own DNS, which answers for names that public DNS has never heard of.

DownBad checks from the public internet, so it can only check a name that public DNS answers for, at an address anyone on the internet can reach.

  1. Decide whether the service is meant to be reached from the internet. If it is only for your own network, DownBad can’t monitor it directly: monitor a public address that depends on it instead, such as the website that uses it. This monitor’s incident stays open while its checks keep failing. The steps below are for a service that should be public.

  2. Give it a public DNS record at your DNS host: an A record for the name, pointing at the service’s public address. Your DNS host’s own guide shows where: Cloudflare, Amazon Route 53, GoDaddy, Namecheap, Squarespace and DigitalOcean.

  3. Check the record is live with step 4 of Check it yourself, which asks your DNS host’s own nameserver.

  4. Before you press Test Now, wait up to the time step 5 of Check it yourself shows: public DNS servers that looked the name 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 address, follow Confirm DownBad sees the fix.

  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
  • the link to your check-host.net results
  • what ICANN Lookup shows for your domain, and any change you made to its DNS records or nameservers recently

Then send all of it to us through Contact Us.