Your IP:

Knowledge Base

Search the Knowledge Base

Knowledge Base > Configuring & Using OpenDNS > Clearing the DNS Cache

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
(Leopard/Snow Leopard)

Click the Terminal icon in the dock or in Finder (in /Applications/Utilities/)

dscacheutil -flushcache

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