How do flush DNS?

| |
[不指定 2007/01/17 10:23 | by ipaddr ]

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.
C:\>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.

How to Flush DNS in Mac OSX



In Mac OSX, you can use the command lookupd -flushcache to flush the DNS resolver cache.
bash-2.05a$ lookupd -flushcache

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

Net | 评论(0) | 引用(27) | 阅读(7123)