Network Fixes
How to Flush DNS Cache on Mac
Step-by-step guide to flush DNS cache on macOS to fix network connectivity issues.
Solution Steps
- Open Terminal app (Applications → Utilities → Terminal).
- For macOS Ventura or later, run: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
- For older macOS versions, run: sudo killall -HUP mDNSResponder
- Enter your Mac password when prompted (password won't show as you type).
- Press Enter to execute the command.
- DNS cache is now flushed. Restart your Mac if issues persist.
Related Keywords
flush dns macmac dns cacheclear dns mac