Reseting DNS cache in Windows, Mac OS X and Linux

It can be quite annoying if you have attempted to connect to a website and it is unreachable as windows remembers unresolved DNS requests. This can mean that the next time you attempt to connect to the site it fails even if the site is back up and running. This can also be a problem if you are trying to connect to other services such as FTP.

Windows Users

In Windows enter the command prompt – Start Menu >> Run type in cmd and hit enter. Enter ipconfig /flushdns at the command prompt as below as hit return

C:Documents and SettingsYour Name>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.

Mac OS X Users

If you using Mac OS X then open the terminal and enter the following
OS X <= 10.5.1
lookupd -flushcache
OS X >= 10.5.2

Linux Users

Linus users open up the terminal and enter the following
$ sudo /etc/init.d/nscd restart


$ service nscd restart
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *