
Keep in mind that you need to use the Run as administrator option when executing the command prompt to access all system security permissions:

With Windows, the process to flush your DNS cache will be the same for most versions.
#Macos flush dns windows
Microsoft Windows XP, 7, Vista, 8, 8.1 or 10
#Macos flush dns how to
The tutorial below will show you how to do it on Windows, Linux, and Mac OS X.


When searching for a specific address online, your web browser and operating system will cache the IP address and DNS records. If not, you'll have to try other troubleshooting steps.DNS cache is a temporary storage of previous DNS lookups in your operating system. You won't see a success message for either command, but you can check the problematic website and see if it fixed the problem. Sudo discoveryutil udnsflushcaches sudo discoveryutil If you're on OS X 10.10.1, 10.10.2, or 10.10.3, you'll need to run this command instead: Sudo dscacheutil -flushcache sudo killall -HUP mDNSResponder Type it into the Terminal and press Enter: Most modern versions of macOS-from OS X Lion through macOS Big Sur-use the following command. First, press Command+Space to open Spotlight and search for "Terminal." Press Enter to open it. Mac users need to run a quick Terminal command to flush the DNS cache, but the command differs depending on your version of macOS. If this is someone else's computer, you can always try troubleshooting remotely. If not, the site may be down, you could be having Wi-Fi problems, or you may have a more elusive network problem on your end that needs to be tracked down. If successful, the Command Prompt will report back with "Successfully flushed the DNS Resolver Cache." Try visiting the website in question again, and see if that solved the problem. Click the Start menu and type "cmd." Right-click on the Command Prompt option and choose "Run as Administrator." In the Command Prompt window that appears, type the following command: If you're on a Windows machine-any Windows machine, even going back to XP and older-flushing the DNS merely takes a simple command. (If you're using Linux, you'll need to look up instructions for your particular distribution.) Flush the DNS Cache on Windows Here's how to do it on Windows and macOS using the command line. If clearing your browser's cache has not solved the problem, clearing your DNS cache may be the next step. This process is, of course, different from clearing your web cache from a web browser. (If you suspect the problem might be malware, you might want to run a scan with one of these tools.) Whatever the case, you can "flush" your DNS cache to start from scratch, so your computer looks up web addresses on the DNS server again. Maybe the site you're visiting changed servers, and is no longer located at the cached address, or you have some malware that's trying to redirect common pages to malicious sites. Unfortunately, on rare occasions, this cache can cause problems. This allows your computer to navigate to sites you've already visited, without asking the DNS server every time. To continue with the previous metaphor, it's like writing down "Tom's Bistro - 123 Main Street" on a sticky note. In order to speed this process up, your computer saves some of these entries for easy access later on. However, it can take a long time to scan the phone book before you find the right address.
#Macos flush dns software
