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!
Watch video How to Flush DNS cache on MAC online without registration, duration hours minute second in high quality. This video was added by user vCloudBitsBytes 28 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,337 once and liked it 16 people.