vi /etc/named.conf
acl "lan" {192.168.1.111;};view "internal" {
match-clients {192.168.1.100;lan;};
zone "cross.ssorc.tw" IN {
type master;
file "data/zone.cross.ssorc.tw.internal";
};
zone "." IN {
type hint;
file "named.ca";
};
};view "external" {
match-clients {any;};
zone "cross.ssorc.tw" IN {
type master;
file "data/zone.cross.ssorc.tw.external";
};
zone "." IN {
type hint;
file "named.ca";
};
};
[Q1.] more /var/log/message
when using 'view' statements, all zones must be in views
[A1.] /etc/named.conf設定檔裡的zone必須在view區裡頭
留言