DEV Community

orage technologies
orage technologies

Posted on

Easy Steps to Clear Chrome Net Internals DNS Error on Windows, macOS, and Linux

** What Are Chrome Net Internals?**

Chrome's Net Internals is a collection of diagnostic tools provided by the browser. It enables users to examine and control network-related information, such as DNS cache, sockets, proxy settings, etc.

To launch:

Enter chrome://net-internals/#dns in the Chrome address bar and hit Enter.

Chrome, over time, caches DNS records to make websites load faster. Stale or damaged DNS records, however, may cause the following errors:

  • DNS_PROBE_FINISHED_NXDOMAIN
  • ERR_NAME_NOT_RESOLVED
  • Weblinks failing to load

Flush the DNS cache deletes these cached records so that Chrome can retrieve new DNS information from the network.

How to Clear Chrome DNS Error on Windows

  1. Clear DNS using Chrome Net Internals
  • Launch Chrome and go to: chrome://net-internals/#dns
  • Click on “Clear host cache”
  • Optionally, go to chrome://net-internals/#sockets and click:

This often fixes Chrome-specific DNS issues.

  1. Flush DNS from Windows Command Prompt
  • Press Win + R, type cmd, and hit Enter
  • In the Command Prompt, type:
    ipconfig /flushdns

  • Press Enter. You’ll see a message: “Successfully flushed the DNS Resolver Cache.”

  1. Restart DNS Client Service
  • Press Win + R, type services.msc
  • Find DNS Client, right-click, and select Restart

Steps to Fix Chrome DNS Error on macOS

  1. Clear Chrome's Internal DNS
  • Go to: chrome://net-internals/#dns
  • Click Clear host cache
  1. Flush macOS System DNS
  • Open Terminal from Applications > Utilities
  • Enter the following command (slightly different per macOS version):

Resolving Chrome DNS Errors on Linux (Ubuntu/Debian)

  1. Empty Chrome DNS Cache
  • In Chrome, go to: chrome://net-internals/#dns
  • Click Clear host cache
  1. Flush System DNS

Open Terminal and execute:

sudo systemd-resolve --flush-caches
Enter fullscreen mode Exit fullscreen mode

Or for older systems:

sudo /etc/init.d/networking restart
Enter fullscreen mode Exit fullscreen mode
  1. Check /etc/resolv.conf

Make sure your DNS resolver file is properly configured. Use public DNS such as Google:

nameserver 8.8.8.8  
nameserver 8.8.4.4
Enter fullscreen mode Exit fullscreen mode

In case DNS errors continue, change your DNS provider:

Preferred DNS Settings:

Google: 8.8.8.8, 8.8.4.4
Cloudflare:1.1.1.1, 1.0.0.1

How to Change DNS:

On Windows:

  • Navigate to Network & Internet Settings > Change Adapter Options
  • Right-click on your network > Properties
  • Choose Internet Protocol Version 4 (TCP/IPv4)
  • Use custom DNS as above.

On macOS:

  • Navigate to System Settings > Network > Advanced > DNS
  • Add the IPs mentioned above.

On Linux:

  • Alter /etc/resolv.conf or utilize Network Manager GUI.

*Final Tips
*

  • Always restart Chrome after flushing DNS.
  • Attempt Incognito Mode to eliminate extensions.
  • Try resetting Chrome flags if problems persist: chrome://flags

Conclusion

Clearing Chrome Net Internals DNS errors is an instant solution to most connectivity problems. Whether you are on Windows, macOS, or Linux. The procedure is simple and serves to restore normal browsing capabilities.

Save this guide for the next time your Chrome browser hangs at a DNS-related error. For smoother web surfing, it's a good practice to clear your DNS cache periodically.

Also Read: https://oragetechnologies.com/snap-specs/

Top comments (0)