How do I Flush DNS?

How do I Flush DNS?

How to Flush DNS in Microsoft Windows

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

You can also use the command ipconfig /displaydns to view the DNS resolver cache

How to Flush DNS in Mac OSX

In Mac OSX Leopard, you can use the command dscacheutil -flushcache to flush the DNS resolver cache:

In Mac OSX versions 10.5.1 and before, the command lookupd -flushcache performed the same task:

How to Flush DNS in Linux

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/init.d/nscd restart

Share

Leave a Reply