Home » Windows

Command flushdns in Windows 7 or Windows 8

24 August 2014 Written by: No Comment

How to flush dns in windows 7 or windows 8?

In all OS(operating systems) dns data is cached which is provided by DNS server (IP Address /DNS details), this is required to increase the dns lookup for the subsequent request to the same domain/hostname. In some cases you will see error page or invalid host page for a given host. This can be because the dns details cached at your computer is not valid anymore. So in that case you need to clear dns cache. There are commands available in each OS. These command clears the cache and then next time dns client will get the latest data from dns server.(when the next request triggers)

Command flush dns cache data in windows 7 –

Here are the steps you can follow for flushing dns-

Steps:

  • Press windows key + R to get “Run command” window (or goto start menu and click on ‘Run..’)

run cmd command

  • Type ‘cmd’ and click OK

 

  • Now you will see command window
  • Type ‘ipconfig /flushdns’ and press enter key

ipconfig flushdns windows7

you will see ‘Successfully flushed the DNS Resolver Cache’

 

To flush dns cache data in windows 8 –

  1. It is same as above but the only difference is you need to run the ‘command prompt’ by pressing the windows key and typing cmd.
  2. Make sure you run the cmd.exe in administration mode – “run as adminstrator” (this option you have to select by right clicking the command prompt)
  3. Then you will see screen as shown above.
  4. Type the same command – ipconfig /flushdns
  5. You will see the success message ‘Successfully flushed the DNS Resolver Cache’

It is also advised that you close your all the browser before you flush dns as this will clear browser in-memory dns cache as well.

Please let us know if you are still facing issue, Write down in comments, we will try to solve your windows related problems. Please share this blog on facebook.

Leave your response!

Please add your comment below. Here is the trackback Link and subscribe to these comments Comment RSS Link.

Be nice. Keep this blog clean. Please dont spam.

We support Gravatar. To get your own gravatar, please register at Gravatar.