How do I clear my DNS Cache?
Posted by Roger Mathews on 28 June 2015 07:22 AM
Clear your local DNS Cache [ Windows / Mac / Linux ]
::How to Flush DNS in Windows::
In Windows, use "ipconfig /flushdns" to flush the DNS cache. Open the command prompt via Start >> Run >> cmd.exe and type the following:
You should receive:
The above command will completely flush the DNS, deleting any incorrect entries too. You can also use the command ipconfig /displaydns to view the DNS resolver cache currently on your machine.
::How to Flush DNS in Mac OSX::
In Mac OSX Leopard, you can use the command "dscacheutil -flushcache" to flush the DNS cache from Terminal:
In Mac OSX versions 10.5.1 and before, the command lookupd -flushcache performed the same task:
Terminal is found in your Applications under Utilities.
::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`.