原文:http://chiahu.com/blog/?p=357

Flush Dns Cache - Linux, Windows, MAC (clear dns negative entry) Posted on 九月 30th, 2008 佳湖 No comments
Flush DNS cache for Microsoft Windows

To do this simply enter: ipconfig /flushdns in a command prompt.

* Start -> Run -> type cmd
* type ipconfig /flushdns (in command prompt)
* DONE. DNS Cahe has just been flush.

This should work on Windows XP, Windows 2000, and possibly other versions of Windows.
Flush DNS cache for LINUX

In linux if you want to flush DNS cache you need to restart nscd daemon

* type /etc/rc.d/init.d/nscd restart in your terminal
* or sudo /etc/init.d/nscd restart
* Once you run the command your linux DNS cache will flush.

Flush DNS Cache on MAC OS X

Mac OS X - Clearing / flushing the DNS Cache:

* For Leopard, type in your terminal: sudo dscacheutil -flushcache * For Tiger, type in your terminal: lookupd -flushcache

Once you run the command your DNS cache (in Mac OS) will flush.
arrow
arrow
    全站熱搜

    Erny 發表在 痞客邦 留言(0) 人氣()