How to Flush DNS cache on MAC

Опубликовано: 28 Июль 2024
на канале: vCloudBitsBytes
2,337
16

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 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь vCloudBitsBytes 28 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,337 раз и оно понравилось 16 людям.