In this video, I'll show you how to clear the DNS cache on your Mac.
If you're experiencing Internet issues, flushing the DNS cache might be the solution you need. I'll guide you step-by-step through opening Terminal, entering the correct commands for different macOS versions, and understanding why it's important to clear the DNS cache.
Type the below commands to flush the DNS cache: (works for macOS 10.12 and above)
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder
If you're using an older version of macOS, don’t worry, here are the commands you need:
- For El Capitan - sudo killall -HUP mDNSResponder
- For Yosemite - sudo discoveryutil udnsflushcaches
- For Lion, Mountain Lion, and Mavericks - sudo killall -HUP mDNSResponder
- For Snow Leopard: sudo dscacheutil -flushcache
- For Leopard - sudo lookupd -flushcache
- For Tiger - lookupd -flushcache
If you’re curious about what’s in your DNS cache, you can open the Console app on your Mac. You can open up Finder app, go to Applications, select Utilities and you can find the Console app in here. Open it and type any:mdnsresponder in the search bar. Then, in Terminal, type: sudo killall –INFO mDNSResponder. Press Enter and head back to the Console app. You’ll see a list of cached DNS records.
Don’t forget to like, comment, and subscribe for more tech tips!
How to Flush DNS cache on MAC
Теги
flush dns cachemacbook prohow to flush macos mojave dns cacheMacDNS CacheClear DNS CachemacOSTerminalTech TipsInternet IssuesDNS FlushmDNSRespondermacOS SierramacOS High SierramacOS MojavemacOS CatalinamacOS Big SurmacOS MontereymacOS VenturamacOS SonomaHow toTutorialMac TroubleshootingConsole AppDNS RecordsComputer FixesTech Support