Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
  • SQL
  • Web Development
  • System Design
  • Aptitude
  • GfG Premium
Open In App
Next Article:
How to Clear DNS Cache in Chrome using chrome://net-internals/#dns Command
Next article icon

How to Clear DNS Cache in Chrome using chrome://net-internals/#dns Command

Last Updated : 09 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

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

  1. Launch Google Chrome on your laptop or Desktop.
  2. Now, in the URL bar, type or copy and paste chrome://net-internals/#dns and press Enter.
  3. 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-dns
Clear DNS Cache in Google Chrome using "net internals dns

Step 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.
Screenshot-2025-03-15-072013
Clear Chrome’s DNS Cache

Step 3: Flush Socket Pools (Recommended)

  1. 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.
  2. 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.
  3. Now Click on Flush socket pools button.
  4. This will close all active network connections, ensuring that no remaining connections hold onto old DNS info before new lookups occur.
Screenshot-2025-03-15-073947
Flush socket pools

Step 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.

FeatureChrome DNS CacheSystem DNS Cache
Where it is stored?Inside Chrome’s browser memoryIn the operating system (Windows, macOS, Linux)
How to clear it?Via chrome://net-internals/#dnsUsing system commands
Affects other applications?No, only affects ChromeYes, affects all applications using the internet
When to clear?When Chrome is showing incorrect DNS resolutionWhen 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.


Next Article
How to Clear DNS Cache in Chrome using chrome://net-internals/#dns Command

A

anushkadaym
Improve
Article Tags :
  • TechTips
  • Chrome

Similar Reads

    How to Check DNS Records Using Basic NsLookup CMD?
    The NsLoookup command is a utility that can be used when trying to troubleshoot problems with networking or test DNS configurations. It allows querying the DNS server for domain information, such as which IP addresses are associated with it, mail server information, and other DNS records DNS, or Dom
    5 min read
    How to Check and Delete Incognito History in Google Chrome
    According to Kaspersky research, 40% of users use browser incognito mode, and an estimated 68.08% of users are using Chrome as their daily browser for browsing the internet. Now, users think that their browsing history is completely private. While it's true, but there is some catch in it. The catch
    10 min read
    How to Use Chrome Developer Tools for API Testing?
    If you want to perform API testing with Chrome Developer Tools, you're in the right place. The Chrome Developer Tools offer a built-in way to test API responses and analyze network activity. Using the Chrome DevTools network tab, you can inspect API requests, view responses, and monitor the data bei
    4 min read
    How to Change Chrome Search Engine in MacOS?
    If you're looking to change your Chrome search engine on macOS, you've come to the right place. Updating the default search engine in Chrome on your Mac can help tailor your browsing experience to better fit your preferences. Whether you want to switch to a different search engine or simply adjust y
    4 min read
    How to Enable and Disable Sync in Chrome in Windows?
    Turning sync on and off in Chrome on Windows is an important function for the users who prefer an uninterrupted experience on various devices. Thanks to Chrome sync, all your bookmarks, passwords, history, and other settings are available on any device you sign in to Chrome. This article will offer
    5 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences