Re:Multiples vistas bind9
miren lo deje asi
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
//
//// be authoritative for the localhost forward and reverse zones, and for
//// broadcast zones as per RFC 1912
//
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
acl "lan" { ip-lan; };
acl "servidores-lan" { ip-lan/28; };
acl "servidores-wan" { ip-wan/28; };
view "vlan" {
match-clients { lan; !any; };
allow-recursion { servidores-lan; };
zone "midom.cu" IN {
type master;
file "midom.cu.lan.zone";
allow-update { none; };
notify yes;
};
zone "rev.lan.in-addr.arpa" IN {
type master;
file "rev.lan.in-addr.arpa";
allow-update { none; };
notify yes;
};
view "vwan" {
match-clients { any; !lan; };
allow-recursion { any; };
zone "midom.cu" IN {
type master;
file "midom.cu.zone";
allow-query { any; };
allow-transfer {slave; };
also-notify {ip;};
};
zone "rev.in-addr.arpa" IN {
type master;
file "rev.in-addr.arpa";
allow-query { any; };
allow-transfer {slave; };
also-notify {ip;};
};
pero me sigue dand el error
/etc/bind/named.conf.local:10: when using 'view' statements, all zones must be
in views
en la linea 10
Alguna ayudita plis
Saludos
--
********************************
* Yuniesky Machado Rojas *
* Administrador de Redes *
* Instituto Nacional de Investigación en Viandas Tropicales
*GNU/Linux User #481684 (http://counter.li.org)
********************************
--
********************************
* Yuniesky Machado Rojas *
* Administrador de Redes *
* Instituto Nacional de Investigación en Viandas Tropicales
*GNU/Linux User #481684 (http://counter.li.org)
********************************
--
********************************
* Yuniesky Machado Rojas *
* Administrador de Redes *
* Instituto Nacional de Investigación en Viandas Tropicales
*GNU/Linux User #481684 (http://counter.li.org)
********************************
Reply to: