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

Re:Multiples vistas bind9(Solucionado)






>>
>>
>> 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
>>
>
> Mira colega en mi caso yo lo tengo asi, en /etc/bind/named.conf tengo
> todas las lineas comentadas menos estas dos:
>
> include "/etc/bind/named.conf.options";
>
> include "/etc/bind/named.conf.local";
>
> Ahora en /etc/bind/named.conf.local tengo esto:
>
> view "externa" {
> //Zona pri.jovenclub.cu
> 	match-clients { 10.20.45.0/24; 10.20.46.0/24; 192.168.22.0/24; };
>
> zone "." {
> 	type hint;
> 	file "/etc/bind/db.root";
> 	};
>
> 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";
> 	};
>
> zone "pri.jovenclub.cu" {
> 	type master;
> 	file "/var/cache/bind/pri.jovenclub.cu-externa";
> 	};
>
> zone "22.168.192.in-addr.arpa" {
> 	type master;
> 	file "/var/cache/bind/22.168.192.in-addr.arpa";
> 	};
> };
>
> view "interna" {
> //Zona pri.jovenclub.cu
> 	match-clients { any;  };
>
> zone "." {
> 	type hint;
> 	file "/etc/bind/db.root";
> 	};
>
> 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";
>  	};
>
> zone "pri.jovenclub.cu" {
> 	type master;
> 	file "/var/cache/bind/pri.jovenclub.cu-interna";
> 	};
>
> zone "5.168.192.in-addr.arpa" {
> 	type master;
> 	file "/var/cache/bind/5.168.192.in-addr.arpa";
> 	};
> };
>
>
> Asi me funciona perfecto hasta ahora!!
>
>
> Saludos...
>
>
> _______________________________________
> Eduardo R. Barrera Pérez
> Administrador Nodo Jovenclub
> Pinar del Rí­o
> Web-Site: http://www.pri.jovenclub.cu
> Email:  ebarrera@pri.jovenclub.cu
> Jabber: ebarrera@jabber.pri.jovenclub.cu
> Phone:  0148-755805
>       _
>   ___| |__   __ _ _ __ _ __ ___ _ __ __ _
>  / _ \ '_ \ / _` | '__| '__/ _ \ '__/ _` |
> |  __/ |_) | (_| | |  | | |  __/ | | (_| |
>  \___|_.__/ \__,_|_|  |_|  \___|_|  \__,_|
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive:
> [🔎] e9915909629ae6dfd8acc4e66676a6a2.squirrel@correoweb.pri.jovenclub.cu">http://lists.debian.org/[🔎] e9915909629ae6dfd8acc4e66676a6a2.squirrel@correoweb.pri.jovenclub.cu
>
>
Ya Solucionado, gracias a todos por la ayuda y en especial a Eduardo por ser la
clave de la solucion

Cambio y Fuera




-- 
********************************
 * Yuniesky Machado Rojas       *
 * Administrador de Redes       *
 * Instituto Nacional de Investigación en Viandas Tropicales
*GNU/Linux User #481684 (http://counter.li.org)
 ********************************



Reply to: