Open the Console app, select your Mac and then enter any:mdnsresponder in the search bar.There’s no recommended time span, but you can do it as often as needed without causing any harm to your Mac. FAQs How often should I flush the DNS cache on Mac? With the detailed steps in this guide and cleaning/maintenance tools like MacKeeper, you can resolve the problem, get back to browsing the web and help your Mac run more smoothly. MacKeeper will clear all the browser caches and clean any junk files that prevent your Mac from working properly The bottom lineĬlearing your Mac’s DNS cache can help when you’re unable to access a website and you’re not sure what’s causing the problem. Click the blue Clean Junk Files button to confirm your action. These include user caches, system caches, mail caches and browser cachesĦ. Next, check the Caches box, and click to select all the caches you want to clear. Launch the tool and then go to the Cleaning section in the right paneĥ.
Download and install MacKeeper on your MacĢ. To get clear your browser caches with MacKeeper:ġ. MacKeeper can analyze any files that hog space on your Mac, while protecting you from accidentally deleting important system files. With a cache clearing tool like MacKeeper, you can clean all caches automatically and get the job done in a snap. Clearing browser caches with MacKeeperĬlearing browser caches regularly for all your browsers can be time consuming. Once you’ve flushed the DNS cache on your Mac, check the problematic website to see if the problem is fixed and you’re able to visit the site normally again.
Enter your Mac’s password and then press Enter to clear the DNS cache How to сlear the DNS in older macOS versions Once Terminal is open, enter this command: sudo dscacheutil -flushcache sudo killall -HUP mDNSResponderĤ. Note: If you’re unable to open Terminal through Spotlight, navigate to Go > Utilities > Terminal or click Applications, open the Utilities folder and then double-click Terminal.ģ. Type in Terminal, and double-click the Terminal application under Top Hit to open it Click the Spotlight search button or use Command+Space to do a searchĢ. How to flush DNS cache on Mac To flush your DNS cache on macOS Monterey and Big Sur:ġ. However, if you do find your browser redirecting to malicious sites, you should also run a malware scan on your Mac. It can also be affected by malware, causing your browser to take you to malicious sites or phishing schemes.įlushing your Mac’s DNS cache can eliminate these problems. Over time, the DNS cache can become outdated or corrupted, leading to connectivity problems. This enables your browser to resolve these lookups faster, thereby cutting down web page loading times. The DNS cache is a temporary database on your computer of all the recent DNS lookups it’s carried out. These IP addresses tell your web browser where to find the server that contains that website. This looks at the web address in your browser, and it then checks that against a database of IP addresses. When you load a website, you connect to a DNS (Domain Name System) server online. To understand what a DNS cache is, you first need to know what DNS is. How to flush the DNS cache in older macOS versions.How to flush the DNS cache in macOS Monterey and Big Sur.In this guide we’ll show you how to flush the DNS cache on your Mac and cover the following key areas: Thankfully, you can flush DNS cache on Macs in just a few short steps.
You can try out MacKeeper for free, and you get one free fix to see what it can do. Hopefully, your Mac is free of malware, but you should always make sure it’s protected.