1 brew install dnsmasq
中间的Error不用管,看最后的Error即可:
Error: Xcode alone is not sufficient on Catalina.
Install the Command Line Tools:
xcode-select --install
2 xcode-select --install
3 sudo brew services start dnsmasq(安装成功后最后的提示)
其他配置:
https://www.cnblogs.com/jasondayee/p/12021984.html
https://www.jianshu.com/p/c1765b927aea