Last Updated on
Run the Command line on Mac Terminal to Reset and Flush DNS Cache on macOS Catalina or Earlier and Mac Model. The DNS cache of Mac stored the IP address of the site that you have visited and visit. This information helps the browser to load pages faster on the web. In short, it is useful to establish quick and faster connections over the websites that you have visited earlier. But why people flush DNS cache on Mac? And why should you clear DNS Cache on Mac? The very first reason is, when you change the DNS settings of Mac, at that time if the browser didn’t work correctly, you need to flush DNS cache.
we are happy to help you, submit this Form, if your solution is not covered in this article.
Even though I’ve seen many people clearing DNS cache when Wi-Fi stops working on Mac, and it really supports. Moreover, there are few more reasons to flush DNS cache on macOS Catalina, like securing browsing history, clear bad connections, fixing other network-related issues and much more.
How to Flush DNS Cache on macOS on Any Mac, MacBook
It will only take a minute to perform this action on your Mac, but it is essential to follow the perfect steps, as with new updates the process changes. We’ll show you how to flush DNS cache on macOS Catalina. Fix any Network glitch like me, I use this command when my Mac WiFi Stopped working or Yellow triangle on Network icon like on a Window.
Besides, if Safari is currently open, then you should close it because clearing DNS Cache on macOS could interrupt the browser. That’s why it is recommended to close the browser before flushing DNS cache.
Step #1: Launch the “Terminal” app. Using Spotlight Search, you can open the Terminal app on macOS.
Step #2: Type or copy the following command in the Terminal app and press Return [Enter Key],
sudo killall -HUP mDNSResponder; sleep 2;
Step #3: You have to enter the Mac password. [Password is not visible when typing in terminal]
Step #4: Close the Terminal app, to do so, press Command+Q.
These are the major reasons why and when to Flush DNS Cache on Mac?
To Improve Security of Mac
You might be thinking how could flushing a DNS Cache improve the security of my Mac. It does! Safari stores the information like your browsing history, downloading history and more on Mac. So, anyone with your Mac’s password can access that information. But if you clear DNS cache, all that data will be removed from the Mac.
To Speed Up Mac
DNS Cache creates extra load on your Mac, no doubt it also boosts up site loading speed while browsing. However, flushing DNS cache regularly is beneficial when Mac slows down or faces hiccups in performance.
To fix Bad Network Connections.
As you know, network connections and DNS cache depend on each other and if any of them starts misbehaving, it should be fixed. Therefore, if Wi-Fi stops working or Mac showing bad network connections, then DNS Cache Flush should be done.
Extra Knowledge for Windows PC!
Run command on windows’ command prompt, Use Windows + R key to open the run window. and type below command and hit the enter button to run.
Thanks for visiting us, Hope you guys successfully run the command on your Mac that Clear or Flush DNS Cache on Mac and Network as well. More help and related queries
, kindly Sumit your problem on Our Apple Device Support Forum.