How to Clear DNS Cache on Mac
What Is DNS Cache
DNS cache stores domain-to-IP mappings so your Mac doesn't look up the same website address repeatedly. When DNS cache becomes stale or corrupted, you may experience: websites not loading, wrong pages appearing, or slow browsing.
How to Flush DNS Cache
Open Terminal and run:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Enter your admin password when prompted. The DNS cache is instantly cleared.
Reclaim Mac finds and removes junk files automatically.
When to Flush DNS
Flush DNS when: a website changed servers but you still see the old version, you're getting "server not found" errors for sites that work on other devices, or after changing DNS settings (like switching to 1.1.1.1 or 8.8.8.8).
Does DNS Cache Affect Storage?
DNS cache is tiny — usually under 1MB. Flushing it won't free meaningful storage. This is about fixing network issues, not storage cleanup. For storage, focus on app caches, system caches, and junk files instead.
Clean your Mac in 60 seconds
Lifetime license. Offline. No subscription.