How to clear the DNS cache on your computer

Overview

This article describes how to clear the DNS cache on your computer. Many computer operating systems use caching to store DNS lookup results. Normally this is not a problem and accelerates network performance. However, when you are developing a web site or configuring domain settings, your computer's DNS cache can get in the way, preventing you from accessing the correct site. To clear the DNS cache, follow the appropriate procedure below for your computer's operating system or web browser.

Note

Premium DNS Cloud Hosting is a paid service that needs subscription. DNS Manager is available as a Client Area feature only if you have ordered the service.

Windows Vista / Windows 7 operating system

To clear the DNS cache on your computer on

  1. Click the Start button and go to Command Prompt Start > All Programs > Accessories > Command Prompt.
  2. Make sure to right-click on the Command Prompt application and choose Run as Administrator.
  3. Type ipconfig/flushdns.

It is also possible to type cmd in the search field in the Windows Vista / Windows 7 Start menu and then right-click on the cmd.exe result instead of having to navigate through the various submenus.

Windows 8 / Windows 8.1 operating system

  1. Make sure you are on the Windows 8 start screen.
  2. type cmd and the Windows search bar will appear on the right side with the search results.
  3. Right-click on Command Prompt and click Run as Administrator.
  4. Type ipconfig/flushdns.

MacOS 10.7 / 10.8

  1. Click on Applications
  2. Click on Utilities
  3. Double-click the Terminal app
  4. Type the following command: sudo killall -HUP mDNSResponder

MacOS 10.5 / 10.6

  1. Click Applications
  2. Click on Utilities
  3. Double-click the Terminal app
  4. Type the following command: sudo dscacheutil -flushcache
Share this:
FacebookTwitterWhatsAppViberCopy LinkTelegramLinkedIn
Updated on February 14, 2023
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support