Sudo dscacheutil -flushcache sudo killall -HUP mDNSResponder Enter the following syntax at the command line:.Open the LaunchPad in the Dock and type in Terminal in the search bar.All you’ll need to do is launch the Terminal app and paste in a couple of commands.
How to flush the DNS cache on macOS in TerminalĪre you familiar with Terminal? If not, no problem. Your Mac has forgotten them and is trying to access them from scratch.īefore we get started, note that resetting the DNS cache will interrupt active web browsing activity, so it’s worth closing your browser before performing a flush. After you’ve cleaned the DNS cache, you may notice that some websites load slower - that’s perfectly normal. So, DNS cache is a logbook that translates this numerical information into human-readable website names. Naturally, it becomes unreachable as your still Mac relies on the outdated DNS record. Domain name information is coded in numbers, for example, 174.142.192.113.įor example, when a website migrates to a new domain, its DNS address changes. It’s not the same as recent online history. So what’s DNS cache? It’s a list of domain names attributed to your last-visited websites. We’ll walk you through the steps needed to reset your DNS on the latest macOS versions manually. Your DNS cache acts like a memory that your Mac refers to when trying to figure out how to load a website.įlushing the DNS isn’t a difficult task but the process changes with every new operating system.
In this article, we cover the best ways to clear your DNS cache on a Mac, including the different ways you can do that depending on the macOS you are running. But to help you do it all by yourself, we’ve gathered our best ideas and solutions below. So here's a tip for you: Download CleanMyMac to quickly solve some of the issues mentioned in this article.