Knowledgebase: Network
HOW TO: Flush DNS Cache From Your Computer
Posted by Sugen S. on 16 July 2018 12:21 PM

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.


(i) 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.


(ii) Flushing DNS in Mac OS X Leopard

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


(iii) Flushing DNS in Mac OS X

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


(iv) 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

(0 vote(s))
Helpful
Not helpful

Comments (0)
Copyright © 1998 - 2018 Shinjiru International Inc. All Rights Reserved.