Agus Priyadi and Mafia.Or.ID

blog all about (brains colocations)

Clear DNS lookup

Posted by mafiaid on 12 November 2007

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

    - 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:-

    - 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: