Jor*_*eFG 6 dnsmasq ubuntu-12.10
当我使用nslookup google.com.
DNS 服务器是运行 dnsmasq 的 192.168.1.2。
它昨天工作。
我该如何解决?我敢打赌,这与外部 DNS 有关。
我需要添加 Google 的 DNS 8.8.8.8 和 8.8.4.4,以便 dnsmasq 将请求中继到外部站点的请求。
我读到我必须编辑/etc/resolv.conf但该文件说Do not edit this file by hand, your changes will be overwritten,那么我可以在哪里将这些服务器添加到dnsmasq配置文件中?
谢谢!
使用server选项:
server=8.8.8.8
server=8.8.4.4
Run Code Online (Sandbox Code Playgroud)
在dnsmasq(8) 中搜索“上游” 。
| 归档时间: |
|
| 查看次数: |
11213 次 |
| 最近记录: |