Skip to main content

How to flush DNS cache

Clear System DNS cache

  1. Click Start.
  2. Type cmd in the search field.
  3. Right-click Command Prompt and select Run as Administrator.
  4. Type the following command:

    ipconfig /flushdns
     

  5. Press Enter.

If the command succeeds, the system returns the following message: 'Windows IP configuration successfully flushed the DNS Resolver Cache.

Clear Browser DNS Cache

Most modern Web browsers have a built-in DNS client to prevent repetitive queries each time the website is visited. But sometime this cached results can be issue when you have recently updated the dns as it still serves from the dns cache untill expiry as per ttl.

To clear Google Chrome’s DNS cache, perform the following steps:

  1. Open a new tab and type chrome://net-internals/#dns in Chrome’s address bar.

  2. Click the “Clear host cache” button.

If that doesn’t work for you, try to clear the cache and cookies.

  1. Open the “Clear browsing data” dialog window with CTRL+ Shift+Del in windows or cmd+Shift+ Del in mac.

  2. Choose a time range
  3. Select “All time” to delete everything.
  4. Check the “Cookies and other site data” and “Cached images and files” boxes.

  5. Click the “Clear data” button.