刷新DNS缓存的方法

这个经常用到的。

1.windows

1
ipconfig /flushdns

2.linux

1
2
3
4
5
/etc/rc.d/init.d/nscd restart
# OR
nscd -i hosts
#archlinux below
/etc/rc.d/nscd restart

3.Mac OS

1
2
3
4
#Mac OS X Leopard
lookupd -flushcache
#Mac OS X
dscacheutil -flushcache

via :
http://www.techiecorner.com/35/how-to-flush-dns-cache-in-linux-windows-mac/

更多
2 Responses Post a comment

Leave a Reply

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS