Total Pageviews

Wednesday, 4 October 2017

刷新DNS缓存的方法

1.windows

ipconfig /flushdns

2.linux

/etc/rc.d/init.d/nscd restart 
# OR 
nscd -i hosts
#archlinux below
/etc/rc.d/nscd restart

3.Mac OS

#Mac OS X Leopard
lookupd -flushcache
#Mac OS X
dscacheutil -flushcache
from http://www.techiecorner.com/35/how-to-flush-dns-cache-in-linux-windows-mac/

No comments:

Post a Comment