我已经使用 Homebrew 安装了 dnsmasq。一切似乎都安装得很好。
安装后我按照说明...
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
问题: dnsmasq 似乎没有工作。当我运行时:
sudo dnsmasq
我得到:
dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use
当我运行时:
sudo launchctl stop /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
我得到:
launchctl stop error: No such process
任何想法发生了什么或如何判断它是否已正确安装和运行?