windows:
ipconfig /flushdns
ubuntu:
sudo kill -HUP $(pgrep dnsmasq)
Tiger或更低版本 Mac OS:
sudo lookupd -flushcache
Leopard和Snow Leopard:
sudo dscacheutil -flushcache
而到了Lion、Mountain Lion和Mavericks:
sudo killall -HUP mDNSResponder
windows:
ipconfig /flushdns
ubuntu:
sudo kill -HUP $(pgrep dnsmasq)
Tiger或更低版本 Mac OS:
sudo lookupd -flushcache
Leopard和Snow Leopard:
sudo dscacheutil -flushcache
而到了Lion、Mountain Lion和Mavericks:
sudo killall -HUP mDNSResponder
转载于:https://www.cnblogs.com/yizhinantian/p/3727032.html