#QuoteOfDay 💡 ! Content is Not the King, It's the Kingdom  content is not king it is kingdom techyxpert

CybersecurityTechnology

How to Clear DNS Cache on Windows, Mac, Chrome, iPhone & Android

How to Clear DNS Cache – Windows, Mac, Chrome and phones (TechyXpert)

Last updated: November 28, 2026 · By Visal Vadayar

Quick answer: On Windows, open Command Prompt and run ipconfig /flushdns. On Mac, run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder in Terminal. In Chrome, go to chrome://net-internals/#dns and click Clear host cache. On phones, toggle Airplane mode on and off.

Clear DNS cache by device

DeviceHow
Windows 11/10Command Prompt (admin): ipconfig /flushdns
macOSTerminal: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Linux (systemd)resolvectl flush-caches
Chromechrome://net-internals/#dns > Clear host cache
Edgeedge://net-internals/#dns > Clear host cache
iPhone/iPadAirplane mode on for 10 s, then off (or restart)
AndroidAirplane mode on/off, or restart; clear Chrome’s host cache
RouterRestart it; see how to reset a router

Windows step-by-step

  1. Press Windows, type cmd, right-click Command Prompt > Run as administrator.
  2. Type ipconfig /flushdns and press Enter.
  3. You’ll see “Successfully flushed the DNS Resolver Cache.”
  4. Optional: ipconfig /release then ipconfig /renew to get a new IP address.

When to flush DNS

  • A website shows “server not found” but works on other devices.
  • A site you manage moved hosting and still shows the old version.
  • Errors like DNS_PROBE_FINISHED_NXDOMAIN or ERR_NAME_NOT_RESOLVED.
  • After changing DNS servers or removing malware.

Change to a faster DNS server

ProviderPrimarySecondary
Cloudflare1.1.1.11.0.0.1
Google8.8.8.88.8.4.4
Quad9 (blocks malware)9.9.9.9149.112.112.112

Still having problems? Read why is my Wi-Fi so slow or look up a domain’s records with Domain Dossier. Networking students: try our subnet calculator.

FAQ

What does clearing DNS cache do?

It deletes the saved list of website addresses on your device, forcing it to look them up again. This fixes errors when a site moved servers, shows an old version, or won’t load.

Is it safe to flush DNS?

Yes. It doesn’t delete files, passwords or browsing history. Websites may load a fraction of a second slower the first time while addresses are looked up again.

How do I clear DNS cache in Chrome?

Go to chrome://net-internals/#dns and click Clear host cache. Then go to chrome://net-internals/#sockets and click Flush socket pools.

Why do I get DNS_PROBE_FINISHED_NXDOMAIN?

Chrome couldn’t find the site’s address. Flush DNS, check the spelling, restart your router, or switch to a public DNS server such as 1.1.1.1 or 8.8.8.8.

About author

Visal Vadayar is a digital marketing strategist and serial entrepreneur from India with a decade of building high-growth, profitable online businesses. Founder of MyMidlist.com—a verified B2B directory spanning MENA—and TechyXpert.com. Expert in SEO, content strategy, and SaaS growth.
Related posts
CybersecurityTechnology

Subnet Calculator: IPv4 CIDR, Mask, Hosts & Ranges

GadgetsTechnology

Download Time Calculator: How Long Will It Take?

GadgetsTechnology

Wi-Fi 7 vs Wi-Fi 6 (and 6E): Is It Worth Upgrading?

GadgetsTechnology

Why Is My Wi-Fi So Slow? 12 Causes and Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.