Flush DNS on my Computer

  Print

Flush DNS on my Computer


Most operating systems and DNS clients will automatically cache IP Addresses and other DNS results in order to speed up site loading times. When a DNS record is changed, old DNS records will still be cached. These usually clear by themselves in time, but it is also possible to manually clear them so that a fresh lookup is performed. The following steps will allow you to flush the DNS cache for your respective operating system:

Windows
Step 1 - Click the Start button and navigate to the Command Prompt.

Step 2 - Right Click on the command prompt application and choose 'Run as Administrator'.

d397e8705ff9900c853739c045635dcb315d175a?t=6a1467c014e14f084707d2004769357c


Step 3 - Type in the command below, then press Enter:

ipconfig /flushdns


Mac
Step 1 -
Open your Applications folder.

Step 2 - Open Utilities.

Step 3 - Double-click on Terminal.

Step 4 - Enter the relevant code from the options below:


Mountain Lion, Lion and above

If you are running Mac OS X 10.7 or 10.8, you need to run the following command:

sudo killall -HUP mDNSResponder

Snow Leopard
If you are running Mac OS X 10.6, you need to run the following command:

dscacheutil -flushcache

Leopard and below
If you are running Mac OS X 10.5.1 or below, you need to run the following command:

lookupd -flushcache



Did you find this article useful?  

Related Articles

© Crucial