How To Flush Dns Cache For Windows

Regular internet usage causes your computer to automatically cache IP addresses and other domain name system results. Clearing (or "flushing") this cache will refresh the data, getting rid of outdated data that may be causing connection issues.

Note: this should be done using an admin account. You will be typing prompts into the CMD console, so it is very important that you enter the commands exactly as shown.

Process:

Windows 7 cmd


Windows 8
  1. Navigate to the desktop.
  2. Hold down the Windows key and press R. (This will open the Run dialogue.)
  3. Type cmd and press Enter. (This will open a command prompt.)
  4. Type ipconfig /flushdns and press Enter.
  5. Type ipconfig /registerdns and press Enter
  6. Type ipconfig /release and press Enter.
  7. Type ipconfig /renew and press Enter.
  8. Type netsh winsock reset and press Enter.
  9. Reboot the computer.

Windows 7
  1. Hold down the Windows key and press R. (This will open the Run dialogue.)
  2. Type cmd and press Enter. (This will open a command prompt.)
  3. Type ipconfig /flushdns and press Enter.
  4. Type ipconfig /registerdns and press Enter.
  5. Type ipconfig /release and press Enter.
  6. Type ipconfig /renew and press Enter.
  7. Type netsh winsock reset and press Enter.
  8. Reboot the computer.

Windows Vista
  1. Hold down the Windows key and press R. (This will open the Run dialogue.)
  2. Type cmd and press Enter. (This will open a command prompt.)
  3. Type ipconfig /flushdns and press Enter.
  4. Type ipconfig /registerdns and press Enter
  5. Type ipconfig /release and press Enter.
  6. Type ipconfig /renew and press Enter.
  7. Type netsh winsock reset and press Enter.
  8. Reboot the computer.
Mac cmd

MacOS® 10.7 and 10.8
  1. Click Applications.
  2. Click Utilities.
  3. Double-click the Terminal application.
  4. Type the following command:
    sudo killall -HUP mDNSResponder
     Warning: To run this command, you will need to know the computer's Admin account password.

MacOS 10.5 and 10.6
  1. Click Applications.
  2. Click Utilities.
  3. Double-click the Terminal application.
  4. Type the following command: sudo dscacheutil -flushcache

Was this answer helpful?

 Print this Article

Also Read

How To Unblock IP

The purpose of this tutorial is to teach you how to Unblock yourself. It is really easy to...

Slow Connection. What I Need To Do?

If you are facing slow connection in your server or website. Please provide our support engineer...

How to do a Ping

The purpose of this tutorial is to teach you how to do a ping. Pinging is a command which tells...

I Can't Login To cPanel!

Having issues logging into your cPanel account?Firstly ensure you are logging into the right...

How to take a Screen Shot

This tutorial is going to teach you how to take a screen shot of something on your computer....

Powered by WHMCompleteSolution