[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiples vistas bind9



On Fri, Jun 11, 2010 at 12:52:01PM -0400, Machado wrote:
> 
> Saludos Listeros
> 
> Estoy tratando de dividir mis visitas por red lan y wan
> el lio es cuando reinicio el bind me dice unknown option 'view'
> tengo un debian lenny
> alguien le ha pasado algo similar que lo alla solucionado
> 
> aqui les pongo mi named.conf

Buenas, a simple vista parece que falta cerrar los corchetes de las
view, pon debajo de la ultima zona de cada view un "};" a ver si así
te funciona.

AguuuR

> 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;};
> 
>    };
> 
> 
> Gracias de antemano
> 
> 

Attachment: signature.asc
Description: Digital signature


Reply to: