Win系统下(命令行):
ipconfig /flushdns
Linux下:
/etc/rc.d/init.d/nscd restart
# OR
nscd -i hosts
#archlinux below
/etc/rc.d/nscd restart
Mac OS X Leopard:
lookupd -flushcache
Mac OS X:
dscacheutil -flushcache
翻译自:http://www.techiecorner.com/35/how-to-flush-dns-cache-in-linux-windows-mac/
-
所有主机信息仅是为及时分享并收录,不做推荐!