
您的主机文件中是否还有其他需要提供服务的企业?您可以让DNSMasq跳过系统范围的主机文件–no-hosts,并且可以将DNSMasq指向具有所需条目的备用主机文件–addn-hosts.
-h,--no-hosts Don't read the hostnames in /etc/hosts.-H,--addn-hosts=<file> Additional hosts file. Read the specifIEd file as well as /etc/hosts. If -h is given,read only the specifIEd file. This option may be repeated for more than one additional hosts file.总结
以上是内存溢出为你收集整理的domain-name-system – 使dnsmasq忽略/ etc / hosts中的特定条目全部内容,希望文章能够帮你解决domain-name-system – 使dnsmasq忽略/ etc / hosts中的特定条目所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)