>
>
> 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:  ebarr...@pri.jovenclub.cu
Jabber: ebarr...@jabber.pri.jovenclub.cu
Phone:  0148-755805
      _
  ___| |__   __ _ _ __ _ __ ___ _ __ __ _
 / _ \ '_ \ / _` | '__| '__/ _ \ '__/ _` |
|  __/ |_) | (_| | |  | | |  __/ | | (_| |
 \___|_.__/ \__,_|_|  |_|  \___|_|  \__,_|




--
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/e9915909629ae6dfd8acc4e66676a6a2.squir...@correoweb.pri.jovenclub.cu

Responder a