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


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.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Can Linuxweb host my existing foreign domain?

Yes, just as we can host any new foreign domains, we can also host any existing foreign domains...

What is DNS Propagation?

If you own a website, you've heard the term, but what exactly does 'dns propagation'...

DNS - Name Server Settings

How can I get Linuxweb's DNS information? Listed below are the name servers you should use for...

Why should I change TTL when transferring hosting?

If you know you are going to be changing servers, it's best to set the TTL (Time To Live) option...

What is the difference between parking my domain and subdomains?

Wikipedia defines domain parking as follows:"Domain Parking" is the registration of an Internet...

Powered by WHMCompleteSolution