我在主/从配置中有两个绑定服务器。当序列在主区域文件上递增时,区域更新从属区域所需的时间比预期的要长。我已经在两台测试服务器上复制了这个问题。ttl 为 5 秒,从站更新需要几分钟的时间。我正在使用 Bind 9.8 和 Ubuntu 12.04。
这是我对主测试服务器的配置:
命名.conf.local
zone "example.com" {
type master;
file "/var/lib/bind/db.example.com.zone";
//forwarders {};
// If we do not comment the ''forwarders'' "empty" clients of the local subnet in my case don't have access to the upstream DNS ?
//allow-update { key ns-example-com_rndc-key; };
allow-update { key rndc-key; };
//confusion between the file name to import (ns-example-com_rndc-key) and the key label (rndc-key) ?
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/var/lib/bind/db.example.com.inv.zone";
//see comment below …Run Code Online (Sandbox Code Playgroud)