Tuesday, February 12, 2013

How to Clear the DNS Cache on Computers and Servers

The following table provides instructions for clearing the DNS cache on computers and servers. The commands need to be run at the command prompt with administrator privileges.

-----------------------------------------------------------------------------------------------------------------
Windows Go to Start menu -> Run -> Type cmd -> press Enter/Return ipconfig /flushdns
Mac OSX 10.4
(Tiger)
Click the Terminal icon in the dock or in Finder (in /Applications/Utilities/) lookupd -flushcache
Mac OSX 10.5 & 10.6 (Leopards) Click the Terminal icon in the dock or in Finder (in /Applications/Utilities/) dscacheutil -flushcache
Mac OSX 10.7 & 10.8 (Lions) Click the Terminal icon in the dock or in Finder (in /Applications/Utilities/) sudo killall -HUP mDNSResponder
Linux
(Most Distributions)
Open a terminal window (gnome-terminal, konsole, xterm, etc.) sudo /etc/init.d/nscd restart
or
sudo /etc/init.d/networking restart

No comments:

Post a Comment