FreeBSD JailsにBindサーバーをインストールしました。私はマスターと2人の奴隷を持っています。異なる場所に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"; };
};