如何在OS X中重置/清除/清除DNS缓存


1

OS X在DNS服务器定义的时间内保留已解析的DNS查询的本地缓存。如何在OS X中重置/清除/清除DNS缓存?

Answers:


2

使用以下终端命令重置OS X中的DNS缓存

 sudo killall -HUP mDNSResponder

2
sudo killall -QUIT -u _mdnsresponder

discoveryd将重新启动。

使用Yosemite 10.10.3为我的笔记本电脑工作。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.