Mac OS X 清除DNS缓存

QQ20200217-184002@2x.png

根据Mac OS X操作系统的版本选择以下命令

Mac OS X 12 (Sierra) 及以上系统:

sudo killall -HUP mDNSResponder
sudo killall mDNSResponderHelper
sudo dscacheutil -flushcache

Mac OS X 11 (El Capitan) and OS X 12 (Sierra):

sudo killall -HUP mDNSResponder

Mac OS X 10.10 (Yosemite), Versions 10.10.4+:

sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder
Last modification:February 17th, 2020 at 06:40 pm
If you think my article is useful to you, please feel free to appreciate