Step to Clearing the DNS Cache on Computers and Servers

Clearing 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.


Computer and DNS Server
by OS
Go to Command Prompt Command to Use to
Clear the DNS Cache
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

Comments

Popular posts from this blog

HTTrack Website Copier, Open Source offline browser