Saludos nuevamente a todos:
Quiero montar un DNS con Bind con dos vistas. He configurado ya los 
respectivos ficheros de zona, pero al reiniciar el servicio se me devuelve 
el siguiente error:

Starting domain name service...: bind9 failed!
zeus:~# tail -f /var/log/daemon.log
May 30 18:57:18 zeus named[6524]: loading configuration: unexpected token
May 30 18:57:18 zeus named[6524]: exiting (due to fatal error)
May 31 08:36:54 zeus named[7100]: starting BIND 9.5.1-P3 -u bind
May 31 08:36:54 zeus named[7100]: found 1 CPU, using 1 worker thread
May 31 08:36:54 zeus named[7100]: using up to 4096 sockets
May 31 08:36:54 zeus named[7100]: loading configuration from 
'/etc/bind/named.conf'
May 31 08:36:54 zeus named[7100]: /etc/bind/named.conf.local:23: unknown 
option 'view'
May 31 08:36:54 zeus named[7100]: /etc/bind/named.conf:41: unexpected token 
near end of file
May 31 08:36:54 zeus named[7100]: loading configuration: unexpected token
May 31 08:36:54 zeus named[7100]: exiting (due to fatal error)

Esta es mi configuracion:

view "externa" {
match-clients { any; };
recursion no;

zone "mi.zona.cu" {
    type master;
    file "/etc/bind/wan-directa";
    };
zone "xx.yy.zz.in-addr.arpa" {
    type master;
    file "/etc/bind/wan-inversa";
};

view "interna" {
match-clients {w.x.y.z/24; 127.0.0.0/8; };
recursion yes;
zone "mi.zona.cu" {
    type master;
    file "/etc/bind/interna-lan";
    };

zone "xx.yy.zz.in-addr.arpa" {
    type master;
    file "/etc/bind/lan-inversa";
};
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: 
<http://listas.jovenclub.cu/pipermail/gutl-l/attachments/20110531/3d826543/attachment.htm>
______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a