>
> Debes ser buen observador. Si te fijas debes cerrar la llave final de la
> declaración de las vistas, es por esto que bind te dice que las zonas
> deben ser declaradas dentro de la vistas cuando se trabajan con ellas.
> Prueba de esta manera:
>
> 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;};
>
> };
> };
>
>
>> > chama a mi me pasa lo mismo cuando hice unos cambios, y no di en bola
>> con
>> > lo que pasaba... ya seguire la lista haber si alguien te responde.
>> >
>> > suerte amigo
>> > adian
>> >
>> > ------------------------------------
>> >
>> >> 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)
>> >> ********************************
>> >>
>> >>
>> >>
>> >> --
>> >> To UNSUBSCRIBE, email to
>> debian-user-spanish-requ...@lists.debian.org
>> >> with a subject of "unsubscribe". Trouble? Contact
>> >> listmas...@lists.debian.org
>> >> Archive:
>> >>
>> http://lists.debian.org/1663.169.158.79.75.1276287860.squir...@webmail.
>> inivit.cu
>> >>
>> >>
>> >> --
>> >> Ahora la nueva direccion de correo es @tr.ss.rimed.cu.
>> >>
>> >
>> >
>>
>>
>>
>> --
>> Ahora la nueva direccion de correo es @tr.ss.rimed.cu.
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmas...@lists.debian.org
>> Archive:
>> http://lists.debian.org/e62b505836b6a176838c93dcd57008d8.squir...@webma
>> il.tr.ss.rimed.cu
>>
>
>
>
> Servicio de correo electrónico de la UEB Informática y Automatización Granma
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/wc20100611213751.260...@alimaticgr.co.cu
>
>
Ya habia probado asi antes pero da este error
unknown option 'view' en esta linea
view "vwan" {
Saludos
--
********************************
* Yuniesky Machado Rojas *
* Administrador de Redes *
* Instituto Nacional de Investigación en Viandas Tropicales
*GNU/Linux User #481684 (http://counter.li.org)
********************************
--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
http://lists.debian.org/46564.192.168.1.2.1276344098.squir...@webmail.inivit.cu