How to Clear DNS Cache in Chrome using chrome://net-internals/#dns Command
Last Updated :
09 Apr, 2025
If you're experiencing website loading issues, seeing outdated pages, or encountering network errors in Google Chrome, clearing your DNS cache (also known as host cache) might be the solution. This method is useful if you are facing problems like slow browsing speeds, site access errors, or incorrect cached website data.
In this guide, we’ll learn through the step-by-step process to clear your DNS cache in Chrome using the chrome://net-internals/#dns command.
Note: This method works properly on Windows 10, Windows 11, macOS, Linux operating systems and Android devices. The interface may look slightly different on mobile, but the steps and process mentioned below will remain the same.
How to Clear DNS Cache in Google Chrome using "net internals dns"
Follow the below steps to clear hosting cache from your Google Chrome browser easily:
Step 1: Open Google Chrome and Paste Net Internal Command
- Launch Google Chrome on your laptop or Desktop.
- Now, in the URL bar, type or copy and paste chrome://net-internals/#dns and press Enter.
- This will take you to Chrome internal network diagnostics page, where you can manage various network-related settings, including the DNS cache.
Clear DNS Cache in Google Chrome using "net internals dnsStep 2: Clear the Host Cache
- Tap on Clear host cache button available next to Host resolve cache text.
- This action ensures that Chrome will perform fresh DNS lookups the next time you visit any website.
Clear Chrome’s DNS CacheStep 3: Flush Socket Pools (Recommended)
- After clearing the DNS cache, it is recommended to flush the socket pools to ensure that Chrome do not reuse the existing connections with outdated DNS records.
- Now, to go the sockets option from the left-side bar or simply type of copy and past the command
chrome://net-internals/#sockets
in the top URL box. - Now Click on Flush socket pools button.
- This will close all active network connections, ensuring that no remaining connections hold onto old DNS info before new lookups occur.
Flush socket poolsStep 4: Restart Chrome
- Now, Restart the Chrome
- Restarting ensures that all changes take effect and clears any remaining temporary data.
- After completing these steps, Chrome will perform fresh DNS lookups for any website you visit, which can resolve issues caused by outdated or corrupt DNS cache entries.
Note: Chrome’s cache is separate from your OS’s DNS cache. If problems still persist, you might need to flush the OS-level cache and to do this refer the guide how to clear DNS cache in Opreating System
Pro-Tips
Disable Browser Extensions
- Some extensions, especially those related to security or VPNs, can interfere with DNS resolution. Try disabling extensions or running Chrome in Incognito mode (which disables most extensions by default).
Reset Chrome Settings
- If issues continue, you can reset Chrome to its default settings. Go to chrome://settings/reset and click “Restore settings to their original defaults.” Note that this will disable extensions and clear some preferences, so consider this to be your last option.
Google Chrome vs System DNS Cache
Google Chrome maintains its own internal DNS cache separate from the operating system’s DNS cache. This distinction is important because clearing Chrome’s cache alone does not flush the system-wide DNS cache and vice versa.
Feature | Chrome DNS Cache | System DNS Cache |
---|
Where it is stored? | Inside Chrome’s browser memory | In the operating system (Windows, macOS, Linux) |
---|
How to clear it? | Via chrome://net-internals/#dns | Using system commands |
---|
Affects other applications? | No, only affects Chrome | Yes, affects all applications using the internet |
---|
When to clear? | When Chrome is showing incorrect DNS resolution | When all browsers and apps face DNS issues |
---|
When Should You Clear Google Chrome DNS Cache?
Consider clearing the DNS cache if you encounter any of the following:
- A website you know is live isn’t loading in Chrome.
- You’re seeing an outdated version of a website despite knowing it has been updated.
- You’re experiencing DNS-related errors, such as “DNS_PROBE_FINISHED_NXDOMAIN.”
- You’ve recently changed DNS settings or switched networks and are having trouble accessing sites.
Clearing the cache is a safe troubleshooting step with minimal issues, though you might notice slightly slower load times for websites on your first visit after clearing, as Chrome performs fresh DNS lookups.
Conclusion
Clearing the DNS cache in Google Chrome is a quick and effective way to resolve many common browsing issues, from inaccessible websites to outdated content. By following the above steps of net internal commands, clearing the host cache, and flushing socket pools, you can ensure that Chrome will now use the latest DNS information.
Similar Reads
Sed Command in Linux/Unix With Examples
The SED command is one of the most powerful commands used during the process of text processing in Linux/Unix operating systems. The SED command is typically invoked for executing operations such as replace and search, text manipulation, and stream editing.With SED, you can manipulate text files wit
9 min read
How to Find the Wi-Fi Password Using CMD in Windows
Forgotten your Wi-Fi password? Need to connect a new device but canât recall the complex string of characters? You donât have to scramble for that sticky note or reset your router just yet! Hidden within Windows is a powerful, built-in tool that lets you retrieve your Wi-Fi password quickly and secu
8 min read
How to Securely Copy Files in Linux | scp Command
Secure file transfer is a crucial part of Linux systems administration. Whether moving sensitive files between local machines or transferring data between servers, SCP (Secure Copy Protocol) provides a fast, secure, and efficient way to copy files over a network. By utilizing SSH (Secure Shell), SCP
11 min read
How to Clear DNS Cache in Chrome using chrome://net-internals/#dns Command
If you're experiencing website loading issues, seeing outdated pages, or encountering network errors in Google Chrome, clearing your DNS cache (also known as host cache) might be the solution. This method is useful if you are facing problems like slow browsing speeds, site access errors, or incorrec
5 min read
How to Download and Install the Google Play Store
The Google Play Store is the heartbeat of your Android experienceâhome to millions of apps, games, and updates that keep your device functional, fun, and secure. But what if your phone or tablet doesnât have it pre-installed?In this step-by-step guide, youâll learn how to safely download and install
6 min read
How to Change Directories in Command Prompt (CMD)
In this article, let's learn how to navigate through directories in Command Prompt - The Command Prompt (CMD) in Windows is a powerful tool for executing commands, managing files, and navigating your system. One of the most common tasks youâll perform in CMD is changing directories, which allows you
12 min read
Create virtual environment in Python
A virtual environment is a self-contained directory that contains a Python installation for a particular version of Python, plus a number of additional packages. Using virtual environments is a common practice in Python development as it helps to manage dependencies for different projects, avoiding
3 min read
'crontab' in Linux with Examples
If you do manually backups , update logs, or restart services on your Linux machine? Imagine that running repetitive tasks overnight so your machine works for you while you rest. Here crontab, the native job scheduler in Linux, which enables users to easily automate commands, scripts, and system tas
9 min read
ls Command in Linux
The ls command is one of the most used commands in the Linux terminal to display the files and directories or path in the terminal. So, using the ls command is a basic skill for navigating the Linux file system, handling files, and managing directories.What is the ls Command in LinuxThe ls command i
10 min read
How to List all Files in a Directory using CMD in Windows
Struggling to find or organize files buried in folders on your Windows PC? While File Explorer offers a visual way to browse, the Command Prompt (CMD) provides a faster, more powerful method to list, sort, and manage files, especially when dealing with large directories or automating tasks. In this
5 min read