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

Re: Problema con DNS



El día 28 de septiembre de 2011 16:24, Julio
<julher@escomposlinux.org> escribió:
> El mié, 28-09-2011 a las 16:15 -0300, Roberto Quiñones escribió:
>>
>> zone "zona1.underc0de.org" {
>>         type master;
>>         file "/etc/bind/zones/master.underc0de.org";
>>         allow-query { any; };
>>         allow-transfer { 78.46.169.162; };
>> };
>
>
> Antes de nada comprueba que si haces un
>
> # /etc/init.d/bind9 restart
>
> te aparecen correctamente cargadas las zonas en el /var/log/daemon.log
> te aparecerá algo así:

Si

Sep 28 23:38:09 ircnode named[5215]: loading configuration from
'/etc/bind/named.conf'
Sep 28 23:38:09 ircnode named[5215]: using default UDP/IPv4 port
range: [1024, 65535]
Sep 28 23:38:09 ircnode named[5215]: using default UDP/IPv6 port
range: [1024, 65535]
Sep 28 23:38:09 ircnode named[5215]: listening on IPv6 interfaces, port 53
Sep 28 23:38:09 ircnode named[5215]: listening on IPv4 interface lo,
127.0.0.1#53
Sep 28 23:38:09 ircnode named[5215]: listening on IPv4 interface
venet0:0, 78.46.169.161#53
Sep 28 23:38:09 ircnode named[5215]: listening on IPv4 interface
venet0:1, 78.46.169.163#53
Sep 28 23:38:09 ircnode named[5215]: listening on IPv4 interface
venet0:2, 78.46.169.162#53
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone: 254.169.IN-ADDR.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone:
100.51.198.IN-ADDR.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone:
113.0.203.IN-ADDR.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone:
255.255.255.255.IN-ADDR.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone:
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone: D.F.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone: 8.E.F.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone: 9.E.F.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone: A.E.F.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone: B.E.F.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: automatic empty zone:
8.B.D.0.1.0.0.2.IP6.ARPA
Sep 28 23:38:09 ircnode named[5215]: command channel listening on 127.0.0.1#953
Sep 28 23:38:09 ircnode named[5215]: command channel listening on ::1#953
Sep 28 23:38:09 ircnode named[5215]: the working directory is not writable
Sep 28 23:38:09 ircnode named[5215]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 28 23:38:09 ircnode named[5215]: zone 127.in-addr.arpa/IN: loaded serial 1
Sep 28 23:38:09 ircnode named[5215]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 28 23:38:09 ircnode named[5215]: zone localhost/IN: loaded serial 2
Sep 28 23:38:09 ircnode named[5215]: zone zona1.underc0de.org/IN:
loaded serial 1
Sep 28 23:38:09 ircnode named[5215]: zone zona2.underc0de.org/IN:
loaded serial 1
Sep 28 23:38:09 ircnode named[5215]: running
Sep 28 23:38:09 ircnode named[5215]: zone zona1.underc0de.org/IN:
sending notifies (serial 1)
Sep 28 23:38:09 ircnode named[5215]: zone zona2.underc0de.org/IN:
sending notifies (serial 1)
Sep 28 23:38:09 ircnode named[5215]: client 188.40.24.98#41654: query
(cache) 'ns2.underc0de.org/AAAA/IN' denied
Sep 28 23:38:09 ircnode named[5215]: client 188.40.24.98#48109: query
(cache) 'ns1.underc0de.org/A/IN' denied
Sep 28 23:38:09 ircnode named[5215]: client 188.40.24.98#64050: query
(cache) 'ns1.underc0de.org/AAAA/IN' denied


> named[28799]: zone dominio.org/IN: loaded serial 2010101601
>
> Y volviendo a las zonas, yo probaría comentando la segunda zona y
> cambiando la primera para que quedara así:
>
> zone "underc0de.org" {
>        type master;
>        file "/etc/bind/zones/master.underc0de.org";
>        allow-query { any; };
>        allow-transfer { 78.46.169.162; };
> };

y como hago para el dns secundario, tengo que saber definir la segunda
zona para el ns2, por lo menos asi lo entiendo yo.

> recargaría bind y vería que pasa.
>
> Un saludo
>
> JulHer
>

Saludos.
-- 
--------------------------------------------
Roberto Quiñones

Owner - Service Manager and System
ACShell.NET – Internet Services
roberto@acshell.net - www.acshell.net
San Martin #311 Santiago – CL (Chile)
+560981361713
--------------------------------------------


Reply to: