glaucoperucchi
(usa Debian)
Enviado em 03/06/2016 - 09:55h
Bom dia Pessoal,
Estou batendo cabeça a semanas e não consigo fazer funcionar a view no bind 9.9.4-18.el7_1.5 do CentOS 7.1
Só resolve a view "private", a view public não consigo fazer funcionar.
segue minha conf:
acl redes {
127.0.0.0/8;
192.168.0.0/20;
172.16.20.0/24;
172.16.21.0/24;
172.16.22.0/24;
172.16.23.0/24;
};
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { none; };
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";
allow-query { redes; };
version "not available";
/* recursion yes; */
auth-nxdomain no;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view "private" IN {
match-clients { redes; };
zone-statistics yes;
recursion yes;
forwarders {
8.8.8.8;
8.8.4.4;
};
zone "." IN {
type hint;
file "named.ca";
};
zone "site.net" IN {
type master;
file "/var/named/site.interno.db";
allow-transfer { none; };
allow-update { none; };
};
include "/etc/named.rfc1912.zones";
};
view "public" IN {
match-clients { !redes; any; };
zone-statistics yes;
recursion no;
zone "." IN {
type hint;
file "named.ca";
};
zone "site.net" IN {
type master;
file "/var/named/site.externo.db";
allow-transfer { none; };
allow-update { none; };
};
zone "xx.xx.177.in-addr.arpa" IN {
type master;
file "/var/named/reverse.xx.xx.177";
allow-transfer { none; };
allow-update { none; };
};
};
Alguém tem alguma ideia do que possa estar acontecendo?