use*_*600 8 domain-name-system ubuntu bind forwarding internal-dns
我的 BIND9 为我的域设置了适当的记录器example.com,something.example.com实际上正在工作......
当我的 DHCP 服务器指向这个 DNS 服务器时,我可以访问它指向的服务器的webmin ( https://something.example.com:10000 )。但是我无法访问任何外部网站(google.ca、serverfault.com 等)
我在named.conf.options文件中设置了我的转发器
options {
directory "/etc/bind/";
allow-query-cache { none; };
allow-query { any; };
recursion yes;
forwarders {
8.8.8.8; // Google's DNS Server
8.8.4.4; // ''
};
};
//zones here for example.com and reverse dns
Run Code Online (Sandbox Code Playgroud)
但它似乎没有将请求转发到他们的服务器。我哪里错了?我能做些什么来探查以获取更多信息吗?
更多的配置会很好;我猜你会遗漏以下项目之一:
recursion yes;或allow-recursion { 10.x.x.x/8; };(其中 10.xxx/8 是您的内部网络)