FreeBSD Jails에 Bind 서버를 설치했습니다. 나는 주인과 두 명의 노예가 있습니다. 서로 다른 위치에 4개의 보기가 있습니다. 기본 영역에 일부 레코드를 추가하고 입력하면 rndc reload
업데이트를 보내는 4개의 보기가 모두 표시됩니다.
25-Apr-2017 17:41:19.112 general: info: zone abc.am/IN/internal: loaded serial 2017042502
25-Apr-2017 17:41:19.112 notify: info: zone abc.am/IN/internal: sending notifies (serial 2017042502)
25-Apr-2017 17:41:19.113 general: info: zone abc.am/IN/external: loaded serial 2017042502
25-Apr-2017 17:41:19.113 notify: info: zone abc.am/IN/external: sending notifies (serial 2017042502)
25-Apr-2017 17:41:19.115 general: info: zone abc.am/IN/armenia: loaded serial 2017042502
25-Apr-2017 17:41:19.115 notify: info: zone abc.am/IN/armenia: sending notifies (serial 2017042502)
25-Apr-2017 17:41:19.116 general: info: zone abc.am/IN/notarmenia: loaded serial 2017042502
25-Apr-2017 17:41:19.116 notify: info: zone abc.am/IN/notarmenia: sending notifies (serial 2017042502)
하지만 슬레이브 측에서는 내부 영역만 업데이트되는 것을 볼 수 있습니다.
25-Apr-2017 17:41:19.317 general: info: zone abc.am/IN/internal: transferred serial 2017042502: TSIG 'internal.ns.zone'
25-Apr-2017 17:41:19.317 notify: info: zone abc.am/IN/internal: sending notifies (serial 2017042502)
example 을 입력하면 rndc retransfer abc.am IN external
다른 3개 영역이 모두 업데이트된 것을 볼 수 있습니다 rndc retransfer abc.am IN armenia
. rndc retransfer abc.am IN notarmenia
문제가 무엇인지 이해하지 못합니다. 어떤 제안이 있으십니까?
내 보기 구성은 동일합니다.
마스터의 관점
view external IN {
notify yes;
allow-query { INTERNAL_NS; TRUSTED_NS; };
allow-transfer { key external.ns.zone.; };
match-clients { key external.ns.zone.; localhost; localnets; } ;
include "/usr/local/etc/namedb/conf/defaultzones.conf";
include "/usr/local/etc/namedb/conf/masterzones.conf";
include "/usr/local/etc/namedb/conf/slavezones.conf";
include "/usr/local/etc/namedb/conf/reversemasters.conf";
include "/usr/local/etc/namedb/conf/reverseslaves.conf";
zone "abc.am" { type master; file "/usr/local/etc/namedb/master/abc.am.external"; };
};
노예의 관점:
view external IN {
match-clients { key external.ns.zone.; ABC_EXT; };
allow-query { ABC_EXT; };
server 10.16.16.201 { transfer-format many-answers; keys { external.ns.zone.; }; };
include "/usr/local/etc/namedb/conf/defaultzones.conf";
include "/usr/local/etc/namedb/conf/masterzones.conf";
include "/usr/local/etc/namedb/conf/slavezones-ext.conf";
include "/usr/local/etc/namedb/conf/reversemasters.conf";
include "/usr/local/etc/namedb/conf/reverseslaves-ext.conf";
zone "abc.am" {type slave; masters { NSMASTER; }; file "/usr/local/etc/namedb/slave/abc.am-view2"; };
};