安装过程中在 /etc/dnsmasq.conf的resolv-file配置失效
重启dnsmasq服务时出现 “no servers found in /var/run/dnsmasq/resolv.conf, will retry”
解决办法:
在文件/etc/resolv.dnsmasq.conf中写入:
nameserver 8.8.8.8nameserver 8.8.4.4
在/etc/init.d/dnsmasq找到RESOLV_CONF=/var/run/dnsmasq/resolv.conf改为:
RESOLV_CONF=/etc/resolv.dnsmasq.conf
重启后一切ok!