Flushing your DNS cache on your local computer can ensure that you’re pulling the most current version of a website. In this article we will review the simplest methods to flush your DNS cache for a variety of different Operating Systems.
Windows 10 / Windows XP
- Open up a command prompt by clicking the Start button
- Search for Run
- Enter in cmd
- Type in the command
ipconfig /flushdns
Windows Vista / Windows 7
- Click the start button and navigate to the command prompt, Start > All Programs > Accessories > Command Prompt
- Make sure that you right click on the command prompt and choose Run as Administrator
- Type in the command ipconfig /flushdns
Mac OS X Leopard
- Open up a Terminal session
- Run the command dscacheutil -flushcache
Mac OS X 10.51 / Older
- Open a command terminal
- Run the command lookupd -flushcache
Linux
- Open up a command terminal, either as root, or run step 2 with sudo
- Run the command /etc/init.d/nscd restart