close
正常 /etc/bind/named.conf.local
只有
acl "trusted" {
localhost;
localnets;
};
acl "internal-local-nets" {
192.168.0.0/24;
};
不能直接改檔 ...
改 /etc/zentyal/dns.conf
加上
intnets = 192.168.1.0/24,192.168.2.0/24
改 /usr/share/zentyal/stubs/dns/named.conf.mas ( 加粗體字那三行)
acl "internal-local-nets" {
% foreach my $intnet (@intnets) {
<% $intnet %>;
% }
% foreach my $net (@internalLocalNets) {
<% $net %>;
% }
};
重啟服務
service zentyal dns restart
看到 /etc/bind/named.conf.local
有
acl "trusted" {
192.168.1.0/24;
192.168.2.0/24;
localhost;
localnets;
};
acl "internal-local-nets" {
192.168.1.0/24;
192.168.2.0/24;
192.168.0.0/24;
};
那就 OK 了
文章標籤
全站熱搜