How do I flush DNS information?

Sometimes a bad DNS entry will be cached and you will need to either flush (or clear) the DNS cache to get rid of it, or wait up to 24 hours for it to be dropped from the cache automatically. You can however FORCE the flush from the system!

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

 

Mac OSX
In Mac OSX, you can use the command dscachetil -flushcache to flush the DNS resolver cache.
bash-2.05a$ dscacheutil -flushcache

If you have version 10.5.1 or earlier you need to use the following command: lookupd -flushcache

Unix and Linux flavors
In Linux, the nscd daemon manages the DNS cache. To flush the DNS cache, restart the nscd daemon. 
To restart the nscd daemon, use the command `/etc/rc.d/init.d/nscd restart`.


***** IMPORTANT *****
Once you flush the DNS you must open a NEW browser window - do not use an already open one, or you'll just reload the cache.

 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

DNS - Name Server Settings

How can I get DATAMAMBO.S DNS information? Listed below are the name servers you should use for...

How to register custom name servers with Godaddy

If you want to register you own custom name servers and IPs such as ns1.yourdomain.com and...