Fix 'Name Not Resolved' Error in Chrome
In this article
Yes, the "Name Not Resolved" error in Chrome usually means your browser can't find the IP address for the website you're trying to visit. This is typically a DNS (Domain Name System) issue, not a problem with your computer or the site itself. You can fix it by clearing your DNS cache, switching to a public DNS server like Google's (8.8.8.8), or restarting your router. Below are the exact steps to resolve it.
What You'll Need
- Access to your router's admin page (usually via a web browser at an address like 192.168.1.1 or 192.168.0.1 – check your router's label or manual).
- Administrator rights on your computer (to run commands or change network settings).
- Your Wi-Fi password (if you need to reconnect after a router reset).
Step-by-Step
- Check the website on another device. Try opening the same URL on your phone or another computer. If it works there, the problem is likely with your current device's DNS cache or network settings. If it fails everywhere, the site might be down or your entire network has a DNS issue.
- Clear Chrome's DNS cache. In Chrome's address bar, type
chrome://net-internals/#dnsand press Enter. Click the "Clear host cache" button. Then go tochrome://net-internals/#socketsand click "Flush socket pools." Restart Chrome and try the site again. - Flush your computer's DNS cache.
- Windows: Press
Win + R, typecmd, and press Enter. In the Command Prompt, typeipconfig /flushdnsand press Enter. - Mac: Open Terminal (Finder > Applications > Utilities > Terminal) and type
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderthen press Enter. You'll need your admin password. - Linux: Open a terminal and type
sudo systemd-resolve --flush-caches(orsudo service network-manager restartfor older systems).
- Windows: Press
- Restart your router and modem. Unplug both devices, wait 30 seconds, then plug the modem back in first, wait for it to fully boot (lights stabilize), then plug in the router. Once both are back online, restart Chrome and try again.
- Switch to a public DNS server. This is the most reliable fix if the issue persists.
- Windows: Go to Control Panel > Network and Sharing Center > Change adapter settings. Right-click your active connection (Wi-Fi or Ethernet) and select Properties. Select "Internet Protocol Version 4 (TCP/IPv4)" and click Properties. Choose "Use the following DNS server addresses" and enter
8.8.8.8for Preferred and8.8.4.4for Alternate. Click OK. - Mac: Go to System Preferences > Network. Select your connection and click Advanced > DNS. Click the + button under DNS Servers and add
8.8.8.8and8.8.4.4. Click OK and Apply. - Router (affects all devices): Log into your router's admin page, find the DNS settings (usually under WAN or Internet settings), and change the DNS servers to
8.8.8.8and8.8.4.4. Save and reboot the router.
- Windows: Go to Control Panel > Network and Sharing Center > Change adapter settings. Right-click your active connection (Wi-Fi or Ethernet) and select Properties. Select "Internet Protocol Version 4 (TCP/IPv4)" and click Properties. Choose "Use the following DNS server addresses" and enter
- Disable Chrome's built-in DNS (if using Chrome 92+). In Chrome, go to Settings > Privacy and security > Security. Scroll to "Use secure DNS" and toggle it off. This forces Chrome to use your system's DNS settings. If the error goes away, your ISP's DNS may be blocking or failing; consider keeping it off or switching to a different provider like Cloudflare (1.1.1.1) in the "With" dropdown.
- Check your hosts file. A corrupted hosts file can cause this error. On Windows, open Notepad as administrator and open
C:\Windows\System32\drivers\etc\hosts. On Mac/Linux, open/etc/hostsin a text editor. Look for any lines that mention the website you're trying to visit. If you see a line like127.0.0.1 example.com, delete it (or comment it out with #). Save and restart Chrome. - Reset Chrome's network settings. In Chrome, go to Settings > Advanced > Reset and clean up > Restore settings to their original defaults. This will disable extensions and clear temporary data, but not your bookmarks or passwords. After resetting, restart Chrome and try again.
Common Mistakes
- Typing the URL wrong: Double-check for typos, extra spaces, or missing dots. A single wrong letter can trigger this error.
- Using a VPN or proxy that's misconfigured: If you have a VPN or proxy enabled, turn it off temporarily. A broken VPN can cause DNS resolution to fail.
- Clearing the wrong cache: Only clearing Chrome's cache (browsing data) doesn't affect DNS. You must use the methods above.
- Changing DNS on the router but not restarting it: DNS changes often require a router reboot to take effect.
- Forgetting to restart Chrome after changes: Always fully quit and reopen Chrome after any network change.
Tips
- Use Google's DNS (8.8.8.8) as a first test: It's reliable and easy to remember. If that fixes it, your ISP's DNS is likely the culprit.
- Try a different browser: If the error only appears in Chrome, the issue is with Chrome's settings or extensions. Try Edge, Firefox, or Safari.
- Disable extensions: Some extensions (like ad-blockers or VPNs) can interfere with DNS. Go to Chrome's extension manager (chrome://extensions) and disable them one by one to test.
- Check for malware: Rarely, malware can modify DNS settings. Run a scan with Windows Defender or Malwarebytes.
- Use a different device to confirm the site is up: If the site is down for everyone, you'll see the same error on your phone's data connection. In that case, wait and try later.
Troubleshooting
If the error persists after trying the steps above:
- Restart your computer. A full reboot clears many temporary network glitches.
- Check if the site works over a different network. Use your phone's mobile hotspot to connect your computer. If it works, the problem is with your home network's DNS or router settings.
- Try the site's IP address directly. Open a command prompt and type
ping example.com(replace with the actual domain). If you get a response with an IP address, the DNS is working. If you get "Ping request could not find host," DNS is failing. You can then try typinghttp://[IP address]in Chrome (if the site supports it) to confirm the site is reachable. - Reset your router to factory defaults. This is a last resort. Use a paperclip to press the reset button on the router for 10 seconds. You'll lose all custom settings (Wi-Fi name/password, port forwards), so only do this if you're comfortable reconfiguring it.
- Contact your ISP. If the error happens on all devices and all sites, your ISP's DNS servers may be down. Call them and ask if there's a known DNS outage.
Frequently Asked Questions
Why does this error happen only in Chrome and not other browsers?
Chrome has its own DNS cache and secure DNS feature. If those are corrupted or misconfigured, Chrome can fail while other browsers (which use system DNS) work fine. Clearing Chrome's DNS cache or disabling secure DNS usually fixes it.
Will changing my DNS server slow down my internet?
No, in most cases it will be the same or faster. Public DNS servers like Google's are highly optimized and often respond quicker than your ISP's default servers. You may notice a slight improvement in page load times.
What does "Name Not Resolved" mean exactly?
It means your computer couldn't translate the website's name (like example.com) into an IP address (like 93.184.216.34). Without that translation, your browser doesn't know where to send your request.
Can this error be caused by the website being down?
Yes, but rarely. If the site's DNS records are deleted or the site's servers are offline, you'll see this error. However, it's more common for the error to be on your end. Check the site on another device or use a service like downforeveryoneorjustme.com to confirm.
Is it safe to use Google's DNS (8.8.8.8)?
Yes, it's safe and widely used. Google's DNS is a public service that respects your privacy and doesn't log your browsing history. It's a standard troubleshooting step recommended by many tech support sites.
Will resetting Chrome delete my bookmarks and passwords?
No, resetting Chrome only restores default settings, disables extensions, and clears temporary data like cookies and cache. Your bookmarks, saved passwords, and history are kept. However, you'll need to re-enable your extensions manually.