Saludos Lista;
espero que por alla todo este bien.
Estoy intentando crear una zona secundaria en mi bind, pero no lo he
logrado aun. El servidor DNS que hara como master esta corriendo en un
Windows 2003, y el mismo esta configurado para transferir a la
direccion en donde correo el bind.
IP del bind: 192.168.41.4 (esta por detras de un firewall pero este
resuelve bien)
IP del win2003: 172.16.121.193
Adicione la opcion de allow-transfer {172.16.121.193;}; en esta zona
y no funciono, tambien la agregue en las opciones generales y nada.
A continuacion una muestra reducida de la configuracion que tengo
aca junto con lo que dicen los .log
Rommel
************************************
Trazas relacionada con el named
May 8 09:15:56 replica named: Iniciación de named succeeded
May 8 05:15:57 replica named[5266]: transfer of '121.16.172.in-addr.arpa/IN'
from 172.16.121.193#53: failed while receiving responses: REFUSED
May 8 05:15:57 replica named[5266]: transfer of '121.16.172.in-addr.arpa/IN'
from 172.16.121.193#53: end of transfer
May 8 05:15:57 replica named[5266]: received notify for zone 'gtm.onat.gov.cu'
May 8 05:15:57 replica named[5266]: received notify for zone
'41.168.192.in-addr.arpa'
May 8 05:15:57 replica named[5266]: transfer of 'bca.gtm.onat.gov.cu/IN' from
172.16.121.193#53: failed while receiving responses: REFUSED
May 8 05:15:57 replica named[5266]: transfer of 'bca.gtm.onat.gov.cu/IN' from
172.16.121.193#53: end of transfer
May 8 05:16:44 replica named[5266]: transfer of '121.16.172.in-addr.arpa/IN'
from 172.16.121.193#53: failed while receiving responses: REFUSED
May 8 05:16:44 replica named[5266]: transfer of '121.16.172.in-addr.arpa/IN'
from 172.16.121.193#53: end of transfer
May 8 05:16:52 replica named[5266]: transfer of 'bca.gtm.onat.gov.cu/IN' from
172.16.121.193#53: failed while receiving responses: REFUSED
May 8 05:16:52 replica named[5266]: transfer of 'bca.gtm.onat.gov.cu/IN' from
172.16.121.193#53: end of transfer
************************************
************************************
Fichero de configuracion
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders {172.16.8.1;};
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
//
// Lista de los servidores que me tienen como secundario.
//
acl "esclavos"{
192.168.41.20;
192.168.41.60;
172.16.8.1;
172.16.121.1;
172.16.121.65;
172.16.121.129;
172.16.121.193;
172.16.122.1;
172.16.122.65;
172.16.122.129;
172.16.122.193;
172.16.123.1;
172.16.123.66;
172.16.40.1;
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
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.ip6.arpa"
IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "gtm.onat.gov.cu" IN {
type master;
file "gtm.onat.gov.cu.db";
allow-transfer { esclavos; };
};
zone "41.168.192.in-addr.arpa" IN {
type master;
file "41.168.192.db";
allow-transfer { esclavos; };
};
zone "bca.gtm.onat.gov.cu" IN {
type slave;
file "slaves/bca.gtm.onat.gov.cu.db";
masters { 172.16.121.193; };
};
zone "121.16.172.in-addr.arpa" IN {
type slave;
file "slaves/121.16.172.db";
masters { 172.16.121.193; };
};
include "/etc/rndc.key";
************************************
************************************
Zona directa
;Fichero de configuracion del DNS para la zona gtm.onat.gov.cu
;
$TTL 86400
@ IN SOA gtm.onat.gov.cu. root.gtm.onat.gov.cu. (
2008050801
604800
86400
2419200
604800 )
;
; PC(s) servidor(es) de nombre de dominio
IN NS replica.gtm.onat.gov.cu.
IN NS gtm04.bca.gtm.onat.gov.cu.
;
; PC encargada de los servicio de mensajeria electronica
IN MX 10 replica.gtm.onat.gov.cu.
;
; nombre de las estaciones de trabajo y sus respectivas direcciones IP
gtmo IN A 192.168.41.1
gtm00 IN A 192.168.41.2
gmtreplica IN A 192.168.41.3
replica IN A 192.168.41.4
;
; PC con alias y sus respectivas direcciones IP
jabber IN CNAME gtmo.gtm.onat.gov.cu.
ftp IN CNAME gtmo.gtm.onat.gov.cu.
dns IN CNAME replica.gtm.onat.gov.cu.
squirrelmail IN CNAME replica.gtm.onat.gov.cu.
...
************************************
************************************
Zona inversa
;Fichero de configuracion del DNS para la zona gtm.onat.gov.cu
;
$TTL 86400
@ IN SOA gtm.onat.gov.cu. root.gtm.onat.gov.cu. (
2008050801 ;Serial
604800 ;Refresh
86400 ;Retry
2419200 ;Expire
604800 ;Defaul TTL
)
; PC(s) servidor(es) de nombre de dominio
IN NS replica.gtm.onat.gov.cu.
IN NS gtm04.bca.gtm.onat.gov.cu.
;
1 IN PTR gtmo.gtm.onat.gov.cu.
1 IN PTR ftp.gtm.onat.gov.cu.
1 IN PTR jabber.gtm.onat.gov.cu.
2 IN PTR gtm00.gtm.onat.gov.cu.
3 IN PTR gmtreplica.gtm.onat.gov.cu.
...
************************************
_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l