マスター/スレーブエリアを設定しましたが、エリア転送は発生しますが、端末画面には表示されません。端末画面には通知のみが表示されますが、/var/log/named領域が最新であることを確認するときに、画面に表示できるようにする設定があります。
マスター NAMED.CONF ファイル
acl internals { 192.168.102.0/24; };
options {
listen-on port 53 { 127.0.0.1; 192.168.102.191; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
recursing-file "/var/named/data/named.recursing";
secroots-file "/var/named/data/named.secroots";
allow-transfer { 192.168.102.192; };
allow-query { localhost; internals; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "L00144445.local" { type master; file "L00144445.db"; allow-transfer { 192.168.102.192; }; notify yes; };
zone "102.168.192.IN-ADDR.ARPA" { type master; file "54444100L.db"; allow-transfer { 192.168.102.192; }; notify yes; };
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
順方向検索ファイル
$TTL 10
$ORIGIN L00144445.local.
@ IN SOA ns1.L00144445.local. admin.L00144445.local. (
0 ; serial
10 ; refresh
10 ; retry
10 ; expire
10 ) ; minimum
IN NS ns1.L00144445.local.
IN NS ns2.L00144445.local.
ns1 IN A 192.168.102.191
ns2 IN A 192.168.102.192
逆検索ファイル
$TTL 10
$ORIGIN 102.168.192.IN-ADDR.ARPA.
@ IN SOA ns1.L00144445.local. admin.L00144445.local. (
0 ; serial
10 ; refresh
10 ; retry
10 ; expire
10 ) ; minimum
IN NS ns1.L00144445.local.
IN NS ns2.L00144445.local.
191 IN PTR ns1.L00144445.local.
192 IN PTR ns2.L00144445.local.
スレーブ命名.CONFファイル
acl internals { 192.168.102.0/24; };
options {
listen-on port 53 { 127.0.0.1; 192.168.102.192; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
recursing-file "/var/named/data/named.recursing";
secroots-file "/var/named/data/named.secroots";
allow-notify { 192.168.102.191; };
allow-query { localhost; internals; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "L00144445.local" { type slave; masters { 192.168.102.191; }; file "L00144445.db";};
zone "102.168.192.IN-ADDR.ARPA" { type slave; masters { 192.168.102.191; }; file "54444100L.db"; allow-transfer { 192.168.102.191; }; notify yes; };
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";