In this Knowledgebase we will describes how to clear the DNS cache on your computer.
Many computer operating systems use caching to store DNS lookup results. Normally this is not a problem and accelerates network performance. However, when you are developing a website or configuring domain settings, your computer's DNS cache can get in the way, preventing you from accessing the correct site.
To clear the DNS cache, follow the appropriate procedure below for your computer's operating system or web browser.
Windows Operating Systems
To clear the DNS cache on Microsoft Windows, follow these steps:
1) Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter.
2) At the command prompt, type the following command and then press Enter:
ipconfig/flushdns
3) The DNS cache is now clear.
Mac OS X Operating Systems
sudo killall -HUP mDNSResponder
sudo discoveryutil mdnsflushcache
sudo killall -HUP mDNSResponder
- For Mac OS X Snow Leopard, type the following command:
sudo dscacheutil -flushcache
The DNS cache is now clear.
Linux Operating Systems