mac下清除DNS缓存

根据Mac OS X操作系统的版本选择以下命令:
Mac OS X 12 (Sierra) and later:

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

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

感谢:https://www.cnblogs.com/qq952693358/p/9126860.html