Clear/Flush DNS cache in Windows / Linux / Mac Machines

DNS
A DNS server resolves domain names into IP addresses. So when you request “eukhost.com” for example, the DNS server finds out the address for the domain, and sends your request the right way.

DNS Cache Problem
If you continually get DNS errors while trying to brows any site, but the same site on another computer on the same network is working fine. Then this problem is because of the DNS cache of the machine and you need to reload your DNS cache on that machine.

Following is the process to Clear/flush DNS cache in Windows / Linux / Mac Machines

To Clear/flush DNS cache in Microsoft Windows.
Start >> Run >> type cmd 
In command prompt, type
C:\> ipconfig /flushdns








OR

In command prompt, type
C:\> net stop dnscache
C:\> net start dnscache











Once you run the command your Window DNS cache will Clear/flush.

To Clear/flush the DNS cache in Linux, you need to restart the nscd daemon.
You need login into the shell of your machine and type
root@support [~]# cd /etc/rc.d/init.d
root@support [/etc/rc.d/init.d]# ./nscd restart






Once you run the command your linux DNS cache will Clear/flush.

To Clear/flush the DNS cache in Mac OS.
In your terminal, type
For Tiger Mac
$ lookupd -flushcache
 For Leopard Mac
$ dscacheutil -flushcache













Once you run the command your DNS cache (in Mac OS) will Clear/flush.

Like this article? Spread this word to your Friends and Peers
Digg Google Bookmarks StumbleUpon Technorati Yahoo! Buzz Delicious Furl

0 comments:

Post a Comment

Related Posts with Thumbnails