How to Flush DNS Cache From Your Computer? Print

  • 0

This article is the guide to clear and reset the DNS resolver cache which stores the IP address attached to frequently used DNS names. It is also useful to speed up the DNS propagation for a newly added or modified domain, at least it will remove the local cache from your terminal/PC and allow you to receive most recent cache.

Flushing DNS in Microsoft Windows

In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS resolver cache

1. Start > All Programs > Accessories > Command Prompt
2. Type command: ipconfig /flushdns and hit enter.
3. A successful flushed process will display the following result.

Windows IP Configuration 
Successfully flushed the DNS Resolver Cache.

For users of Windows Vista : If you encounter the error The requested operation requires elevation. , make sure you open the Command Prompt by right clicking and select "Run as Administrator" .

Flushing DNS in Mac OS X Leopard

1. Open up a Terminal window from under Applications/Utilities.
2. Type command: lookupd -flushcache

Flushing DNS in Mac OS X

1. Open up a Terminal window from under Applications/Utilities.
2. Type command: dscacheutil -flushcache

Flushing DNS in Linux

Clearing the DNS cache is done by restarting the nscd daemon.

1. Open up a Terminal window
2. Type command: /etc/rc.d/init.d/nscd restart



Was this answer helpful?

« Back