home » Articles » Internet » How to Clear Local DNS Cache

How to Clear Local DNS Cache

Sometimes when we are surfing the internet, we would get the error message that "the web page can't be opened, please try to flush DNS Cache".

How to clear your local DNS cache instantly? Here I am glad to share with my experience to clear DNS cache on Windows 8/7/Vista/XP/Linux/Mac OS X with Command.

Guide Steps
Part 1: Clear local DNS cache on Windows 8/7/Vista/XP with Command Prompt
Part 2: Commands to clear local DNS cache on Linux
Part 3: Flush DNS cache on Mac OS X

Part 1: Clear local DNS cache on Windows 8/7/Vista/XP with Command Prompt

Part 2: Commands to clear local DNS cache on Linux

If you have NSCD (Name Service Cachine Daemon) installed, you can clear the local DNS cache by running the following commands.

Part 3: Flush DNS cache on Mac OS X

Mac OX 10.5.1 and below

Tips:
Do not be alarmed if you do not receive any kind of response from the terminal window after running the command. This is normal.

Mac OS X 10.5.2 to Mac OS X v10.6

Mac OS X 10.10 Yosemite

Mac OS X Mountain Lion or Lion

Related Articles