Skip to content
Log In Sign Up info@muvcloud.com

What the Error Means

Chromium-based browsers show ERR_NAME_NOT_RESOLVED when a DNS lookup produced no address. It is broader than DNS_PROBE_FINISHED_NXDOMAIN: besides a name that does not exist, it covers a resolver that did not answer and a lookup that failed. It also appears in the browser's developer console when one resource on a page, such as an image host or an API address, cannot be resolved while the page itself loads.

If You See It on Someone Else's Site

  • Check the address: look for typos and the right domain ending.
  • Try another network or device: this tells you whether your resolver is the problem.
  • Restart the browser and your router: both cache DNS answers, including failures.

Typos and Wrong Names in Configuration

On your own site, a misspelled host name often hides in configuration: an asset or CDN address, an API endpoint, or a mail host. Search the site's files for the name the console reports:

grep -rn 'cdn.example.com' /var/www/example.com --include='*.php' | head

Correct the name, clear the application's cache, and reload the page.

An Expired or Suspended Domain

whois example.com | grep -iE 'expir|status'

Check the expiry date and the status lines. A domain past its expiry date stops resolving, and the statuses clientHold and serverHold keep a domain out of DNS even before that, for example over non-payment, a legal dispute, or a pending deletion. Renew the domain or resolve the hold with the registrar; DNS returns once the hold is lifted.

A Subdomain Without a Record

Every subdomain needs its own record unless the zone has a wildcard. A record for example.com does not cover api.example.com:

dig api.example.com +short

No output means there is no address. If dig prints a CNAME target and nothing after it, the record points to a name that no longer resolves, a common leftover after a service is removed. Add an A record, or correct the CNAME target.

Resolver Problems on the Server

When your own application on the server fails to reach a name, the server's resolver is the place to look:

getent hosts example.com
resolvectl status
cat /etc/resolv.conf

getent resolves the name the way applications do, including the hosts file. On Ubuntu, /etc/resolv.conf points to the local systemd-resolved stub, and resolvectl status shows the real upstream servers. On AlmaLinux and Rocky Linux, NetworkManager writes the file; nmcli dev show lists the DNS servers. Set resolvers in netplan on Ubuntu or with nmcli on the Red Hat family, not by editing a generated file.

The Hosts File

/etc/hosts overrides DNS on Linux and macOS. A test entry left behind after a migration can send a name to an old address or, if it is malformed, break it. Remove lines for names that should come from DNS.

Compare with a Public Resolver

dig example.com A +short
nslookup example.com resolver_ip
dig +cd example.com A +short

Put the address of any public DNS resolver in place of resolver_ip. If the public resolver answers and yours does not, fix or replace your resolver. If neither answers, the zone is at fault. If a normal query fails with SERVFAIL but the +cd query, which asks the resolver to skip DNSSEC validation, returns an address, the problem is DNSSEC, often a DS record at the registrar that no longer matches the zone.

Confirm the Fix

curl -I https://api.example.com/

A status line means the name resolves and the server answered. If the browser now shows a CDN timeout page, see Cloudflare error 522; every code is listed in HTTP status codes explained.

Updated:

Linux VPS with Full Root Access

MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.

Cloud VPS Plans Starting at2.99 $/mo Cheap Linux VPS

No Limits on Service or Support

You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

Support specialist
  • 100% customer satisfaction goal
  • Our own hardware
  • 24/7 ticket and email support
  • 4 countries with locations