Home » Internet » Flush DNS of your computer

Flush DNS of your computer

In Windows 7 & 8

  • Press Windows key + R. (It will open the Run dialogue.)
  • Type “cmd” and press Enter.(It will open a command prompt.)
  • Type “ipconfig /flushdns” and press Enter.
  • Type “ipconfig /registerdns” and press Enter.
  • Type “ipconfig /release” and press Enter.
  • Type “ipconfig /renew” and press Enter.
  • Type “netsh winsock reset” and press Enter.
  • Restart the computer.

In Windows XP and Vista

  • Goto Start > All Programs > Accessories > Command Prompt.
  • Type the command prompt: ipconfig /flushdns
  • If the command was successful, you will see the message, “DNS Resolver Cache Successfully Flushed.”

Note : Run cmd in Administrator Privilage, else you will get a message says “Action Requires Elevation”


  • In the searchlight in the upper right-hand corner, type Terminal and press Enter.
  • In the Terminal window, type: dscacheutil -flushcache
  • Press Enter again and the DNS cache should be flushed.

About the author


Hi, i am Vipin, a programmer working in Dubai, UAE. I love blogging, and so started TechRounder for sharing my findings and other digital informations with others too. Please feel free to share your feedback with me in the comment section below or you can email me at vipin@techrounder.com.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

Get latest updates
in your inbox

Subscribe to TechRounder mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.