How to flush DNS cache in Linux / Windows / Mac

To flush DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000):-

- Start -> Run -> type cmd
- in command prompt, type ipconfig /flushdns
- Done! You Window DNS cache has just been flush.

To flush the DNS cache in Linux, restart the nscd daemon:-

- To restart the nscd daemon, type /etc/rc.d/init.d/nscd restart in your terminal
- Once you run the command your linux DNS cache will flush.

To flush the DNS cache in Mac OS X Leopard:-

- type lookupd -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ lookupd -flushcache
- Once you run the command your DNS cache (in Mac OS X) will flush.

To flush the DNS cache in Mac OS X:-

- type dscacheutil -flushcache in your terminal to flush the DNS resolver cache.
ex: bash-2.05a$ dscacheutil -flushcache
- Once you run the command your DNS cache (in Mac OS X Leopard) will flush.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Reducing Spam

Unfortunately, it appears that the problem of spam is here to stay. As if that thought's not bad...

Choosing a good password

  How to Choose a Good Password I know that coming up with a good password can be...

What settings do I use for my mail client software?

This article is meant to serve as general documentation of the settings you'll need to use to set...

Fixing FireFox Problem Loading some website

1. Clear Firefox DNS Cache Download FireFox Extention DNS Flusher Or DNS Cache...

Problem With Internet Connection

A lot of visitor doesn`t know every internet connection always save dns cache to client pc,...

Powered by WHMCompleteSolution