Knowledgebase

Find frequently asked questions and setup guides by searching or by browsing the categories.

What the Code Means

After a failed lookup, Chrome can test DNS on its own. This result means the test got no answers at all, which Chrome takes as a sign that the device has no working connection. Usually the device is offline, connected to a network without internet access, or blocked by a VPN or filter. A site owner cannot cause this code and cannot fix it.

Quick Checks for Visitors

  1. Open another site or app. If nothing works, the connection is down.
  2. On a hotel or public Wi-Fi network, open any plain page to reach the login page.
  3. Restart the router and modem, wait until they are back, then restart the device.
  4. Try another network, for example a mobile connection.
  5. Disconnect a VPN or proxy, and pause security software that filters web traffic.
  6. Set another DNS resolver in the router or device settings.

Check the Interface and Route on Linux

On a Linux machine, work from the bottom up. First the interface and the default route:

ip a
ip route

The interface should be UP with an address, and ip route should show a line beginning with default via. No default route means no path out of the local network; see what is a default gateway and the ip command.

Ping an Address, Then a Name

ping -c 3 GATEWAY_IP
ping -c 3 RESOLVER_IP
ping -c 3 example.com

Replace GATEWAY_IP with the address after default via, and RESOLVER_IP with the address of a public resolver you trust.

First step that failsWhere to look
GatewayCable, Wi-Fi, local network
Outside addressRouter or upstream line
Name onlyDNS settings

Some networks block ping, so a failed ping to an outside address is a hint, not proof. The ping command guide has more options.

Check the Resolver

resolvectl status
resolvectl query example.com
cat /etc/resolv.conf

On systems with systemd-resolved, /etc/resolv.conf usually points to a local stub address, and resolvectl status shows the real resolvers behind it. If the name lookup fails while pings to addresses work, the problem is DNS alone; the steps in temporary failure in name resolution apply.

Fixes on Linux

  • Clear the resolver cache: sudo resolvectl flush-caches.
  • Set resolvers permanently: through Netplan or NetworkManager, not by editing a generated file; see Netplan static IP and nmcli static IP.
  • Restart networking with care: on a remote server, a restart of the network service can cut your SSH session. Do it from the console in your provider's control panel.

The Same Checks on a Server

Servers do not run Chrome, but the same failure shows up when apt update or dnf cannot reach its mirrors, or when an application cannot resolve an API host. The order is the same: interface, route, ping an address, ping a name, then the resolver.

Related Codes

If the probe has not finished yet, Chrome shows DNS_PROBE_STARTED. If the network works but the DNS settings are wrong, it shows DNS_PROBE_FINISHED_BAD_CONFIG.

Was this answer helpful?
Loading...