[CentOS-es] Problemas con el bind

Hardy Beltran Monasterios hbm en hardy.com.bo
Mar Mayo 13 16:13:18 UTC 2008


El mar, 13-05-2008 a las 08:10 -0500, Henry Villavicencio escribió:
> 
> 
> ----------------------------------------
> > Date: Sun, 11 May 2008 10:09:20 -0400
> > From: estebansaavedra en gmail.com
> > To: centos-es en centos.org
> > Subject: Re: [CentOS-es] Problemas con el bind
> > 
> >> [root en proxy ~]# ls -l /var/named/chroot/var/named
> >> total 68
> >> -rw-r----- 1 root  root  1920 may 10 15:14 14.168.192.in-addr.arpa.zone
> >> -rw-r----- 1 root  root   561 may 10 15:24 3.168.192.in-addr.arpa.zone
> >> -rw-r----- 1 root  root   461 may 10 15:23 94.110.200.in-addr.arpa.zone
> >> drwxrwx--- 2 named named 4096 may 10 11:22 data
> >> -rw-r----- 1 root  root   639 may 10 15:06 escopusa.com.zone
> >> -rw-r----- 1 root  named  198 nov 10 10:22 localdomain.zone
> >> -rw-r----- 1 root  named  195 nov 10 10:22 localhost.zone
> >> -rw-r----- 1 root  named  427 nov 10 10:22 named.broadcast
> >> -rw-r----- 1 root  named 2871 may 10 12:42 named.ca
> >> -rw-r----- 1 root  named 2873 may 10 12:43 named.cache
> >> -rw-r----- 1 root  named  424 nov 10 10:22 named.ip6.local
> >> -rw-r----- 1 root  named  457 may 10 12:56 named.local
> >> -rw-r----- 1 root  named 2878 may 10 11:12 named.root
> >> -rw-r----- 1 root  named  427 nov 10 10:22 named.zero
> >> -rw-r----- 1 root  root  2119 may 10 15:25 red-gye.zone
> >> -rw-r----- 1 root  root   868 may 10 15:26 red-pvj.zone
> >> drwxrwx--- 2 named named 4096 jul 27  2004 slaves
> > 
> > Los archivos de zonas tienen que pertenecer a named, tendrias que
> > cambiarle de dueño con chown.
> > 
> Ya lo hice, pero me sale el mismo mensaje que no existen los archivos
>
> --------------
> [root en proxy ~]# ls -l /var/named/chroot/var/named
> total 68
> -rw-r----- 1 root  named 1920 may 10 15:14 14.168.192.in-addr.arpa.zone
> -rw-r----- 1 root  named  561 may 10 15:24 3.168.192.in-addr.arpa.zone
> -rw-r----- 1 root  named  461 may 10 15:23 94.110.200.in-addr.arpa.zone
> drwxrwx--- 2 named named 4096 may 10 11:22 data
> -rw-r----- 1 root  named  639 may 10 15:06 escopusa.com.zone
> -rw-r----- 1 root  named  198 nov 10  2007 localdomain.zone
> -rw-r----- 1 root  named  195 nov 10  2007 localhost.zone
> -rw-r----- 1 root  named  427 nov 10  2007 named.broadcast
> -rw-r----- 1 root  named 2871 may 10 12:42 named.ca
> -rw-r----- 1 root  named 2873 may 10 12:43 named.cache
> -rw-r----- 1 root  named  424 nov 10  2007 named.ip6.local
> -rw-r----- 1 root  named  457 may 10 12:56 named.local
> -rw-r----- 1 root  named 2878 may 10 11:12 named.root
> -rw-r----- 1 root  named  427 nov 10  2007 named.zero
> -rw-r----- 1 root  named 2119 may 10 15:25 red-gye.zone
> -rw-r----- 1 root  named  868 may 10 15:26 red-pvj.zone
> drwxrwx--- 2 named named 4096 jul 27  2004 slaves
>  

Entonces revisa tu archivo named.conf y verifica que los nombres y rutas
son los correctos.

Algo que suele pasar es que al editar un archivo de texto,
inadvertidamente se introducen caracteres no visibles. Así que lo mejor
es volver a crear el archivo.

Exitos




-- 
Hardy Beltran Monasterios
Consultor e Instructor GNU/Linux
LPI Certified (LPIC-1) / RedHat Certified (RHCE)
http://www.hardy.com.bo



Más información sobre la lista de distribución CentOS-es