How To Clear Your Local DNS Cache
Your DNS cache stores the locations (IP addresses) of web servers that contain web pages which you have recently viewed. If the location of the web server/site changes before the entry in your DNS cache updates, your site will still load from the old location. Some clues for this could be 404 errors or changes that you make not appearing. Those can indicate that your DNS cache needs to be updated to redirect towards the new location.
To check what DNS information your site is currently resolving to, please use our DNS tool located here: HostDime DNS Tool
You can also use a proxy tool such as HostDime Proxy Test in order to test a connection from your location to a website without using your local DNS Cache
The following methods allow you to remove old and inaccurate DNS information.
Windows 8
To clear your DNS cache if you use Windows 8, perform the following steps:
-
On your keyboard, press Win+X to open the WinX Menu.
-
Right-click Command Prompt and select Run as Administrator.
-
Run the following command: ipconfig /flushdns
✅ If the command runs successfully, you should see the following output:
Windows 7
To clear your DNS cache if you use Windows 7, perform the following steps:
-
Click Start.
-
Enter cmd in the Start menu search text box.
-
Right-click Command Prompt and select Run as Administrator.
-
Run the following command: ipconfig /flushdns
✅ If the command runs successfully, you should see the following output:
MacOS 10.10
To clear your DNS cache if you use MacOS X version 10.10, perform the following steps:
-
Click Applications.
-
Click Utilities.
-
Click Terminal.
-
Run the following command: sudo discoveryutil mdnsflushcache
-
If the command succeeds, the system does not return any output.
ℹ️ To run this command, you must know the computer's Admin account password.
ℹ️ If you are using an operating system not specified on this page, please consult cPanel's documentation for more information: cPanel DNS Cache