Flushing the DNS records on your computer is something that can prove quite useful when trying to speed up DNS propagation for a newly added or modified domain in your account. While it's not an end-all solution to speeding up propagation, it will at least remove the local cache from your system and allow you to grab the most recent cache that your ISP has.
Windows XP
- Click the 'Start' button and then click on 'Run'.
- Type in
cmd
and click 'OK'. - In the window that comes up, enter in:
ipconfig /flushdns
- Press the 'Enter' key and repeat the process two more times.
- Type
exit
and press the 'Enter' key to close the window.
Windows Vista
- Click the 'Start' button and then type 'cmd'. (Into the search box if not already selected)
- When you see "cmd" highlighted, hold down 'Ctrl' + 'Shift' and hit 'Enter'. Or, you can right click on it and select "Run as administrator".
- Select 'Continue' at the "User Account Control" screen.
- In the window that comes up, enter in:
ipconfig /flushdns
- Press the 'Enter' key and repeat the process two more times.
- Type
exit
and press the 'Enter' key to close the window.
If you wish to instead verify what domains and IPs your computer currently has cached, you may use the command ipconfig /displaydns
in the steps above.
Steps to flush your DNS cache in OS X
10.4 (Tiger)
- Open up a terminal window (Located in /Applications/Utilities).
- Flush your DNS cache with the following command:
lookupd -flushcache
- Type
logout
and press the 'Enter' key to close the window.
10.5 (Leopard)
- Open up a terminal window (Located in /Applications/Utilities).
- Flush your DNS cache with the following command:
dscacheutil -flushcache
- Type
logout
and press the 'Enter' key to close the window.
Steps to flush your DNS cache in Linux
- Open up a terminal window (Location varies by distribution).
- Flushing your DNS cache is done by restarting the 'nscd' daemon and may be done with the following command:
/etc/rc.d/init.d/nscd restart
- Or you may manually stop and start the daemon with the following commands:
/etc/rc.d/init.d/nscd stop
/etc/rc.d/init.d/nscd start
- Or you may manually stop and start the daemon with the following commands:
- Type
logout
and press the 'Enter' key to close the window.