Find cheap domain names for your website - namesilo.com
Namesilo Blog
Blog

How to Clear Your Browser DNS Cache (Chrome/Safari)

NS
NameSilo Staff

5/21/2026
Share
Modern web browsers maintain their own internal DNS cache, separate from your computer's operating system. If a website loads the old version after a DNS change, you must clear the browser's DNS cache. In Chrome or Edge, type chrome://net-internals/#dns into the address bar and click 'Clear host cache' to force the browser to fetch the new IP address.

OS DNS Cache vs Browser DNS Cache

Your computer has two separate DNS caches:
Cache Type
Location
Cleared By
OS DNS cache
Operating system
Terminal/Command Prompt
Browser DNS cache
Inside browser
Browser-specific method
The problem: You flushed your OS cache with ipconfig /flushdns (Windows) or sudo dscacheutil -flushcache (Mac), but your browser still loads the old site.
Why: Browsers maintain their own DNS cache for faster lookups. This cache persists even after clearing the system cache.
The fix: Clear the browser's internal DNS cache using browser-specific methods.

Why It Matters: Bypass Stubborn Redirects

When you need this:
  • Changed your site's IP address but still see the old version
  • Migrated to a new host but browser loads the previous server
  • DNS propagation complete globally, but your browser disagrees
What won't work:
  • Clearing browsing history
  • Clearing cookies
  • Refreshing the page
The browser's DNS cache operates independently. You need the specific DNS flush command.

Decision Framework: Clear History vs Clear DNS

Action
What It Clears
Fixes DNS Issues?
Clear history/cookies
Saved files, logins
No
Hard refresh (Ctrl+F5)
Page cache
No
Clear host cache
DNS routing table
Yes
Standard cache clearing deletes files, images, CSS, cookies.
DNS cache clearing deletes routing information, the IP address your browser associated with the domain.
Different problems require different solutions.

Implementation Steps: Clear DNS by Browser

Google Chrome

chrome://net-internals/#dns
  1. Open new tab
  1. Paste URL above into address bar
  1. Press Enter
  1. Click "Clear host cache"
  1. Also visit chrome://net-internals/#sockets and click "Flush socket pools"
  1. Restart Chrome

Microsoft Edge

edge://net-internals/#dns
  1. Open new tab
  1. Paste URL above
  1. Click "Clear host cache"
  1. Restart Edge

Mozilla Firefox

about:networking#dns
  1. Open new tab
  1. Paste URL above
  1. Click "Clear DNS Cache"
  1. Restart Firefox

Safari (macOS)

  1. Go to Safari → Settings → Advanced
  1. Check "Show features for web developers"
  1. Close Settings
  1. Click Develop menu → Empty Caches
  1. Restart Safari
Note: Safari doesn't have a dedicated DNS-only flush. Empty Caches clears all cached data including DNS.

Common Mistakes

Clearing cookies expecting DNS fix: Cookies store login data and preferences, not IP addresses. They won't affect routing.
Only clearing OS cache: System DNS flush doesn't touch browser DNS. Do both.
Not restarting the browser: Some browsers require full restart for DNS changes to take effect.
Skipping socket pools (Chrome): For stubborn issues, also flush socket pools at chrome://net-internals/#sockets.

What This Means for You

Before troubleshooting browser caches, verify your DNS records are correct. Use NameSilo's DNS Manager to confirm your A records point to the right IP.
If records are correct but your browser disagrees, clear the browser DNS cache using the methods above.
Need a domain? Search available names at NameSilo.

Frequently Asked Questions

What is a browser DNS cache? 
Internal storage mapping domain names to IP addresses.
How do I clear DNS cache in Chrome? 
Visit chrome://net-internals/#dns → Clear host cache.
Does clearing cookies clear DNS cache? 
No. Cookies and DNS are separate systems.
How do I clear DNS cache in Safari? 
Enable Develop menu → Develop → Empty Caches.
Why is my browser showing an old version of a website? 
Browser DNS cache holds outdated IP addresses.
What does net-internals/#dns do? 
Opens Chrome's internal DNS management page.
How do I clear DNS cache on a Mac? 
Terminal: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
How long does a browser cache DNS? 
Varies by browser, typically minutes to hours.
ns
NameSilo StaffThe NameSilo staff of writers worked together on this post. It was a combination of efforts from our passionate writers that produce content to educate and provide insights for all our readers.
More articleswritten by NameSilo
Jump to
Smiling person asking you to sign up for newsletter
Namesilo Blog
Crafted with Care by Professionals

Millions of customers rely on our domains and web hosting to get their ideas online. We know what we do and like to share them with you.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.