Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

ERR_NAME_NOT_RESOLVED: the hostname does not exist or has a different IP

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Chrome reports ERR_NAME_NOT_RESOLVED when it cannot turn the hostname into an address. Chrome Help states that the hostname (web address) doesn't exist or now has a different IP address. Chromium defines that fault as NET_ERROR(NAME_NOT_RESOLVED, -105) with the comment "The host name could not be resolved." Fix the name or the resolver; do not treat this as a TLS certificate problem.

What the symptom means

Chrome Help lists:

ERR_NAME_NOT_RESOLVED: The hostname (web address) doesn't exist or now has a different IP address.

Chromium's net_error_list.h at tag 131.0.6778.85 states:

// The host name could not be resolved.

NET_ERROR(NAME_NOT_RESOLVED, -105)

The browser never opened a TCP connection to the site. A refused connection is ERR_CONNECTION_REFUSED. A device with no link at all is ERR_INTERNET_DISCONNECTED.

Likely causes (our reading)

Cause What you see How to confirm
Typo or wrong hostname One URL fails; a corrected spelling works Compare the address bar with the known name
Name removed or never published Same failure (often NXDOMAIN) from every network dig or another device fails the same way
Stale or wrong local DNS One office or VPN fails; mobile data works Change network and retest
Captive portal before DNS works Guest Wi-Fi until you authenticate Chrome Help: open an http:// page and sign in

Prove the cause before changing anything

These steps only read.

1. Read the exact code. Confirm ERR_NAME_NOT_RESOLVED, not a certificate or connection-refused code.

2. Check the URL. Chrome's connection-error guide: make sure the website address doesn't have any mistakes in the URL. Tip on that page: if the issue affects multiple websites, check your internet connection. If only one site fails, the name is the first suspect (the article's own reading).

3. Try another network. Open the same hostname on a phone hotspot or another ISP. Failure everywhere points at the published DNS. Failure only on one LAN points at that LAN's resolver or filter.

4. Check for a captive portal. Chrome Help Step 1 under certificate and portal guidance:

Go to any website that starts with "http://," like http://example.com.

Sign in if a portal appears, then retry the HTTPS name.

Fix

Wrong or missing public name

If every network fails the same hostname, a missing or wrong published record at the authoritative DNS for that zone produces this code. The fix is on the DNS side: the published name for that zone. Chrome Help does not give registrar steps; the repair described next is our own advice for the case where the code proves a resolution failure. The comparison method with dig for an NXDOMAIN that should exist is in dig NXDOMAIN for a subdomain.

Export the current zone or the specific record first (copy from your DNS host's export, zone file, or API):

echo "zone=<name> record=<hostname> type=<A or CNAME> value=<current>" > dns-public-before.txt

Risk: the next step changes a live public DNS record. A wrong value sends the site's mail or web traffic elsewhere until the TTL expires and clients pick up the restored record.

Publish or correct the A/AAAA/CNAME (or related) record to the intended target, wait for the TTL you recorded, then reload the hostname in Chrome.

To undo it: restore the exported record from dns-public-before.txt at the authoritative DNS and wait for the TTL again.

Local resolver or DNS override

Save the current DNS configuration first (paths vary by OS; write what the adapter actually shows):

echo "adapter=<name> dns1=<value> dns2=<value>" > dns-before.txt

Risk: the next step replaces the DNS servers this device uses for name lookups. Wrong addresses leave every hostname unresolved on this device until you restore the previous servers.

Set the adapter to working resolvers your administrator names, or temporarily to a known public pair only while you prove the fault, then reload the page.

To undo it: restore the DNS servers recorded in dns-before.txt and reconnect or renew the interface lease.

Device offline or portal

If many sites fail, Chrome Help Step 2 for connection errors: make sure the device is connected on Wi-Fi or ethernet, and that the modem and router work; you may need to reboot both, or contact the ISP. Sign in on the captive portal if guest Wi-Fi is in use.

Save what you are about to reboot:

echo "modem_router_reboot_planned=$(date -u +%Y-%m-%dT%H:%M:%SZ) network=<wifi-or-ethernet name> lights=<note>" > path-before.txt

Disruptive step: the next step reboots the modem and/or router. Every device on that LAN loses connectivity until the equipment finishes restarting.

Power-cycle the modem and router in the order your ISP documents, wait until both show ready, reconnect to the network in path-before.txt, and reload the page.

To undo it: there is no configuration undo for a reboot; reconnect clients and confirm the previous SSID or ethernet link from path-before.txt is in use again.

Confirm the fix

  1. Reload the hostname; Chrome no longer shows ERR_NAME_NOT_RESOLVED.
  2. A second device on the same network resolves the same name.
  3. If you changed DNS, confirm dns-before.txt values are restored when the proof is finished.

What to watch afterwards

  • Split-horizon DNS that answers differently on VPN and off VPN.
  • A rename that leaves bookmarks and old emails pointing at a dead hostname.
  • Filters that return NXDOMAIN for categories of sites only on the office resolver.

Risks and limits

These steps have not been lab-tested.

Chrome Help's one-line meaning does not distinguish NXDOMAIN from SERVFAIL; use a DNS tool when you need the RCODE. Chromium's -105 is the browser mapping, not a DNS RCODE number. Changing DNS on a managed device may be overridden by policy.

Sources