How to Fix ‘ERR_NAME_NOT_RESOLVED’ Error: 7 Proven Solutions

🗓️ Last Updated: October 2026
⏱️ 8 Min Read
🛡️ Peer-Reviewed & Production-Tested
⚡ Quick Answer: How to Fix ERR_NAME_NOT_RESOLVED

The ERR_NAME_NOT_RESOLVED error indicates that your browser or operating system cannot translate a requested domain name into a corresponding IP address via the Domain Name System (DNS). To resolve it as an end user: flush your local DNS cache using ipconfig /flushdns (Windows) or sudo systemd-resolve --flush-caches (Linux), switch your network DNS to high-performance public resolvers (Google Public DNS: 8.8.8.8 or Cloudflare DNS: 1.1.1.1), and clear Chrome’s internal host cache at chrome://net-internals/#dns. If you are the website owner or server administrator: verify that your domain’s authoritative nameservers, public A records, and DNSSEC signatures are correctly configured and fully propagated globally.

The Domain Name System (DNS) is often described as the internet’s phonebook. Every time a user types a human-readable domain name (such as example.com) into a web browser, a distributed global network of recursive and authoritative nameservers must resolve that string into a machine-routable IPv4 or IPv6 address. When this lookup pipeline breaks down, Google Chrome halts page rendering and displays the ERR_NAME_NOT_RESOLVED alert.

Encountering this error blocks visitors from reaching your web application entirely, tracing back to three distinct failure points:

  1. 1. Local Resolver & Socket Stalls: Corrupted operating system DNS cache entries or browser socket pools prevent clean lookups.
  2. 2. Upstream Recursive DNS Failures: ISP resolver outages or DNS over HTTPS (DoH) connection drops halt domain name translation.
  3. 3. Authoritative Nameserver Inconsistencies: Missing A/AAAA records, broken NS delegations, or DNSSEC signing errors cause NXDOMAIN responses.

This technical troubleshooting manual analyzes the architectural stages of DNS resolution, provides a diagnostic flowchart for isolating client vs. server DNS failures, delivers concrete command-line repair procedures for Windows, macOS, and Linux, and details authoritative DNS zone management for systems administrators. For modern production environments, provisioning workloads on reliable virtual private server hosting with high-availability DNS provides dedicated vCPU allocations, ultra-fast NVMe storage, and complete root administrative access.

How DNS Resolution Works & Why Lookups Fail

To understand why ERR_NAME_NOT_RESOLVED occurs, engineers must trace the hierarchical path a DNS query travels across the network:

  • 1. Browser & OS Cache Inspection: Chrome first checks its internal DNS cache (stored in memory). If empty, it queries the local operating system resolver cache. If stale or corrupted records exist, the query terminates with an immediate resolution failure.
  • 2. Local Router & ISP Recursive Resolvers: If no local cache exists, the query travels over UDP port 53 to your local router and Internet Service Provider (ISP) recursive resolver. Slow or congested ISP DNS servers frequently drop queries during peak traffic, triggering client-side timeouts.
  • 3. Root, TLD, and Authoritative Nameservers: The recursive resolver queries the Root servers, the Top-Level Domain (TLD) registry nameservers (e.g., Verisign for .com), and finally the domain’s Authoritative Nameservers. If authoritative nameservers fail to respond or return an NXDOMAIN (Non-Existent Domain) status code, Chrome flags ERR_NAME_NOT_RESOLVED.

For mission-critical digital business operations, hosting your web infrastructure on a dedicated reliable virtual private server hosting with high-availability DNS with premium Tier-1 network connectivity ensures low-latency authoritative DNS responses across global routing nodes.

DNS Troubleshooting Matrix: Client vs. Server Failures

Determining whether ERR_NAME_NOT_RESOLVED is a localized user issue or a server-side domain misconfiguration requires systematic diagnosis. Below is a root-cause comparison matrix:

Diagnostic Scope Primary Indicator Testing Tool Resolution Strategy
Client Local Cache Error occurs on one PC; site loads on mobile cellular Browser Incognito / Ping command Flush OS DNS cache; clear Chrome host cache
ISP Recursive Resolver Multiple devices on same Wi-Fi fail; mobile data works nslookup example.com 8.8.8.8 Configure router/PC DNS to 1.1.1.1 and 8.8.8.8
Authoritative DNS Misconfig Site fails globally across all networks and regions dig example.com +trace Verify A records, nameserver glue records, and DNSSEC
DNS Propagation Delay Recent domain transfer or hosting IP change Global DNS propagation checker Lower TTL values prior to migration; wait for TTL expiry

If you also encounter form submission and caching anomalies on your browser, review our technical guide on diagnosing Chrome browser cache and form submission errors to resolve complementary HTTP header conflicts.

Step-by-Step Runbook: 5 Proven Fixes for End Users

Follow this troubleshooting workflow sequentially to clear corrupted resolver states on your client machine:

1. Flush Chrome’s Internal Host Resolver Cache

Google Chrome maintains an independent DNS cache separate from the operating system to accelerate browsing speed. If an IP address changes while Chrome remains open, its internal cache retains the defunct record. Open a new tab in Chrome, paste chrome://net-internals/#dns into the address bar, and click Clear host cache. Next, navigate to chrome://net-internals/#sockets and click Flush socket pools.

2. Flush Operating System DNS Cache via Command Line

Purge stale OS-level DNS mapping tables by executing the appropriate terminal commands for your platform:

💻 Terminal: Multi-Platform DNS Cache Purge Commands bash
# Windows Command Prompt (Run as Administrator)
ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew
netsh winsock reset

# macOS Terminal
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

# Linux (Ubuntu / Debian systemd-resolved)
sudo resolvectl flush-caches
# Verify resolution statistics
resolvectl statistics

3. Switch to High-Performance Public DNS Resolvers

Default ISP DNS servers often suffer from routing misconfigurations, restrictive filtering, and sluggish response times. Switching your network adapter to enterprise Anycast public DNS resolvers eliminates ISP lookup failures:

  • Cloudflare DNS: Primary IPv4: 1.1.1.1 | Secondary IPv4: 1.0.0.1 (IPv6: 2606:4700:4700::1111)
  • Google Public DNS: Primary IPv4: 8.8.8.8 | Secondary IPv4: 8.8.4.4 (IPv6: 2001:4860:4860::8888)
  • Quad9 (Security Focused): Primary IPv4: 9.9.9.9 | Secondary IPv4: 149.112.112.112

4. Disable DNS over HTTPS (DoH) or VPN Interceptors

Chrome includes a feature called Secure DNS (DNS-over-HTTPS). While DoH encrypts queries to prevent eavesdropping, faulty proxy servers or enterprise anti-malware suites (such as Norton or Kaspersky) can intercept DoH packets, causing resolution failures. Go to Chrome Settings → Privacy and security → Security → Use secure DNS, and toggle it temporarily to test connectivity. For comprehensive implementation details and operational workflows, review our guide on diagnosing Chrome browser cache and form submission errors.

Server Administrator Guide: Auditing Authoritative DNS Records

If global users report ERR_NAME_NOT_RESOLVED when accessing your website, the breakdown exists within your domain’s authoritative DNS zone. Execute these diagnostic steps:

1. Verify Public A and AAAA Records

Verify that your root domain (@) and www subdomain point to valid, reachable public IP addresses using the Linux dig utility:

💻 Terminal: Comprehensive Authoritative DNS Inspection bash
# Query the root A record directly against Google Public DNS
dig example.com A @8.8.8.8 +short

# Perform a full hierarchical DNS trace from root servers to authoritative zone
dig example.com +trace

# Check authoritative nameservers registered at the TLD level
dig example.com NS +short

Ensure that both authoritative nameservers return matching IP records and that no orphaned CNAME records point to deleted endpoints. Additionally, check whether DNSSEC (DNS Security Extensions) is misconfigured: if your domain registrar has invalid DS (Delegation Signer) records that do not match the public key in your DNS zone, modern validating resolvers will reject the domain completely with an ERR_NAME_NOT_RESOLVED error.

To protect your server infrastructure from DDoS floods and unauthorized port exposure, follow our comprehensive guide on configuring secure Apache virtual host directives and DNS zones.

Authoritative DNS Zone TTL Optimization & Anycast Routing

For high-traffic web applications, the Time-to-Live (TTL) configured on your DNS records determines how long recursive resolvers cache your server IP. Setting an excessively high TTL (e.g., 86400 seconds / 24 hours) causes visitors to be stranded on dead IP addresses if a server migration occurs. Conversely, an ultra-low TTL (e.g., 60 seconds) forces resolvers to query your authoritative nameservers constantly, increasing latency on mobile devices. To strengthen overall system reliability and security, explore our technical tutorial on configuring secure Apache virtual host directives and DNS zones.

The optimal enterprise recommendation is setting standard A and CNAME records to 300 to 1800 seconds (5 to 30 minutes). Furthermore, utilizing Anycast DNS routing distributes authoritative zone records across dozens of geographically dispersed data centers globally. Anycast routes incoming DNS queries to the nearest physical point of presence, reducing DNS resolution latency from 150ms down to sub-15ms and virtually eliminating packet dropouts that trigger ERR_NAME_NOT_RESOLVED warnings.

Frequently Asked Questions

What is the difference between ERR_NAME_NOT_RESOLVED and ERR_CONNECTION_REFUSED?

ERR_NAME_NOT_RESOLVED means the browser could not find the IP address for the domain name (the DNS lookup failed). ERR_CONNECTION_REFUSED means the IP address was found successfully, but the physical server actively rejected the connection (usually because the web server software Nginx/Apache is stopped or port 80/443 is blocked by a firewall).

How long does global DNS propagation take after updating A records?

Standard DNS propagation typically completes within 15 minutes to 4 hours. However, depending on the previous Time-To-Live (TTL) setting of the record, some recursive ISP resolvers may cache old IP addresses for up to 24 to 48 hours.

Can a firewall or antivirus software trigger ERR_NAME_NOT_RESOLVED?

Yes. Third-party security suites often monitor and filter outbound UDP/TCP port 53 traffic. If their filtering engine encounters a socket conflict, it can silently block DNS responses, causing Chrome to display resolution errors.

Why does a website load with ‘www’ but show ERR_NAME_NOT_RESOLVED without it?

This occurs when the DNS zone contains an A record for the ‘www’ host but lacks a corresponding apex/root A record (‘@’) pointing to the server IP. Ensure both records are explicitly created in your DNS management console.

How do I check if my domain has an invalid DNSSEC configuration?

Use web-based tools like DNSViz or run dig +dnssec example.com. If the validation chain is broken (RRSIG verification fails), validating DNS resolvers (including Google and Cloudflare) will refuse to resolve the domain.

🎯
Executive Summary & Final Verdict

Conclusion: Diagnosing & Resolving DNS Resolution Failures

Best Practices

The ERR_NAME_NOT_RESOLVED error indicates a breakdown in the domain name resolution chain, preventing browsers from converting domain names into routable IP addresses. By following a structured diagnostic sequence—from flushing local DNS to auditing authoritative nameservers—this error can be rapidly eliminated.

⚡ Client-Side DNS Reset
Flush your local DNS resolver cache (ipconfig /flushdns) and switch your network adapter to reliable public resolvers like Google DNS or Cloudflare.
🛡️ Webmaster DNS Hygiene
Audit registrar glue records, ensure all authoritative nameservers respond authoritatively, and verify DNSSEC signatures to prevent lookup timeouts.
Ensure lightning-fast DNS resolution and 100% network uptime for your global audience on our high-performance VPS hosting infrastructure. Enterprise 24/7 Hosting Support ✓
Naveen Rajput
✓ Verified Technical Author 16+ Years Experience in Enterprise Server Infrastructure & Bare-Metal Systems

Naveen Rajput (CEO & Infrastructure Architect)

Naveen Rajput is the CEO and Director of Onlive Server Private Limited. With over 16 years of hands-on expertise across global datacenters, high-throughput hypervisors, and disaster-recovery architectures, he provides production-tested server engineering insights to enterprise CTOs and system administrators worldwide.