BIND9 не обрабатывается третий VIEW
Добавлено: 2012-01-13 6:08:22
Добавил третий VIEW (emer-vpn), почему то не обрабатывается. Почему не пойму ...
ВОТ рабочий конфиг
ВОТ рабочий конфиг
Код: Выделить всё
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
allow-transfer { 192.168/16; 171.10.10.0/24; ***.***.167.1; 10.7.1.2;};
allow-query { 192.168.1.0/0; 192.168.90.0/24; 192.168.95.0/27; 192.168.20.0/27; 171.10.10.0/24; };
// allow-recursion { 192.168/16; 171.10.10.0/24; 127.0.0.1; };
version "Made in MN";
listen-on-v6 { none; };
};
//
// a caching only nameserver config
//
// controls {
// inet 127.0.0.1 allow { localhost; } keys { rndckey; };
//};
view "emer-int" {
match-clients { 192.168.90.0/24; 192.168.1.0/24; 192.168.95.0/27; 192.168.20.0/27; 171.10.10.0/24;};
recursion yes;
notify yes;
allow-transfer {none;};
zone "otzer-d.com" IN {
type slave;
file "otzer-d.com.int";
masters { 192.168.90.2; };
};
zone "domain.com" {
type slave;
file "domain.com.int";
masters { 192.168.1.113; };
};
zone "1.168.192.in-addr.arpa" {
type slave;
file "1.168.192.rev";
masters { 192.168.1.113; };
};
zone "33.16.172.in-addr.arpa" {
type slave;
file "33.16.172.rev";
masters { 192.168.90.2; };
};
zone "90.168.192.in-addr.arpa" {
type master;
file "90.168.192.rev";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
allow-update { none; };
};
zone "localhost" {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "." {
type hint;
file "named.ca";
};
};
view "emer-ext" {
match-clients { any; };
recursion no;
allow-transfer {***.***.167.1;};
notify yes;
zone "domain.com" IN {
type master;
file "domain.com.ext";
notify yes;
};
zone "177.***.***.in-addr.arpa" {
type master;
file "177.***.***.rev";
};
};
view "emer-vpn" {
match-clients { any;};
recursion yes;
notify yes;
allow-transfer { 10.7.1.2; };
zone "domain.com" {
type master;
file "domain.com.vpn";
notify yes;
};
zone "90.168.192.in-addr.arpa" {
type master;
file "90.168.192.vpn";
allow-update { none; };
};
};