browse
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.
Please add any additions, corrections, updates or suggestions to the comments on this article to better help the community.

Windows 7 and Earlier
- Click the Start Menu.
- Navigate to All Programs.
- Choose Accessories and right-click Command Prompt.
- Choose Run as Administrator.
- Run the following command in the command line and press enter:
ipconfig /flushdns

Windows 8
- Press the Windows Key or hover your mouse over the bottom left corner and click the Windows Icon.
- Begin typing Command Prompt.
- Right-click the application and select Run as Administrator.
- Run the following command in the command line and press enter:
ipconfig /flushdns

OS X 10.4 TIGER
- Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal
- Run the following command in the command line and hit enter
lookupd -flushcache

OS X 10.5 and 10.6 LEOPARD
- Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal.
- Run the following command in the command line and press enter:
dscacheutil -flushcache

OS X 10.7 and 10.8 Lion
- Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal.
sudo killall -HUP mDNSResponder

OS X 10.9 and 10.10
- Click the Terminal icon in the dock or in Finder under Application/Utilities/Terminal.
dscacheutil -flushcache;sudo killall -HUP mDNSResponder

Linux (most distributions)
- Open a terminal window (gnome-terminal, konsole, xterm, etc)
sudo /etc/init.d/nscd restartor
sudo /etc/init.d/nscd restart

Ubuntu Linux
- Open a terminal window.
- Run the following command in the command line and press enter:
sudo service network-manager restart
Clearing the DNS Cache on Browsers
If you have recently set up your filtering, or just changed a setting, a cache clear may be necessary before you see your filtering take effect.
The following table provides instructions for clearing the DNS cache within common Internet browsers.
Browser |
Steps to clear the DNS Cache |
Internet Explorer 8 and above (Windows) |
|
Mozilla Firefox (Windows) |
|
Apple Safari (Windows) |
|
Apple Safari (Windows) |
|
Google Chrome (Windows) |
|
Google Chrome (Mac) |
|