Flush DNS Cache

Windows operating systems

To clear DNS cache on Microsoft Windows, follow these steps:

  1. Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter.
  2. At the command prompt, type the following flush DNS command and then press Enter:
    ipconfig /flushdns
  3. The DNS cache is now clear.

Mac OS X operating systems

To clear DNS cache on Apple Mac OS X, follow these steps:

  1. Open a terminal window. To do this, click Applications, click Utilities, and then click Terminal.
  2. At the command prompt, type the appropriate command for your Mac OS X version to clear the cache. For information about which command you should use for your Mac OS X version, please visit https://support.apple.com/en-us/HT202516.
  3. The DNS cache is now clear.

Linux operating systems

Many Linux distributions do not use DNS caching at the operating system level. Instead, applications (such as web browsers) maintain their own internal caches. To clear an application's DNS cache, often all you need to do is restart the application.

If your Linux computer does use a DNS caching service, however, consult its documentation for instructions about how to clear the cache.

Google Chrome browser

The Google Chrome web browser maintains its own internal DNS cache. To clear it, follow these steps:

  1. Start Google Chrome.
  2. In the address bar, type chrome://net-internals/#dns. Google Chrome displays a list of hosts in its internal DNS cache.
  3. Click Clear host cache.
  4. In the address bar, type chrome://net-internals/#sockets.
  5. Click Close idle sockets, and then click Flush socket pools.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to run a traceroute on Windows XP/Vista/7/8 and MacOS

Running a Traceroute on Windows :1. Go to Start and choose "Run" (start button on the lower left...

How to modify hosts file on windows and linux ?

Below is how to locate and edit the hosts file on several OS platforms. Once the proper domain...

How to setup Chrome Remote Desktop

Step 1 Open Chrome Browser and Sign into Google Account. You need to be logged in to initiate or...

How to modify your hosts file on a mac ?

STEP 1Open the Mac's Terminal. You may either type Terminal on the Spotlight, or by going into...

How to Identify a Phishing or Spoofing Email

Don’t trust the display nameA favorite phishing tactic among cybercriminals is to spoof the...