domain-name-system – 为什么BIND不再使用转发器?

前端之家收集整理的这篇文章主要介绍了domain-name-system – 为什么BIND不再使用转发器?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
BIND不再使用转发器来解决问题.它只是去根服务器.我不知道什么时候开始发生,因为一切都透明,但确保绑定配置没有改变.它虽然使用apt升级了.

我在Debian 7上,目前的绑定版本是BIND 9.8.4.

组态:

options {
    directory "/var/cache/bind";
    forwarders { 
        8.8.8.8;
        8.8.4.4;
    };
    forward only;
    dnssec-validation no;
    auth-nxdomain no;    # conform to RFC1035
    listen-on-v6 { any; };
};

任何重新启用转发的想法?

解决方法

but for sure bind configuration was not altered. It was upgraded
though using apt.

即使配置没有改变,升级核心引擎也足以使事情无法正常工作!

如上所述here

In versions of BIND prior to (and including) BIND 9.4.1,the default
behavior of BIND servers was to allow recursion for all clients
(unless otherwise specified.)

因此,您应该明确允许递归,因为需要使转发器工作:

allow-recursion { any; };

为了保留您之前的相同行为,我建议将这些指令添加到您的选项{…}块中:

allow-recursion { any; };
allow-query { any; };
allow-query-cache { any; };

猜你在找的HTML相关文章