[CentOS-es] Pronlemas con bind
Henry Villavicencio
h_villavicencio en hotmail.com
Jue Mar 27 20:20:46 UTC 2008
----------------------------------------
> Date: Wed, 26 Mar 2008 21:21:49 -0300
> From: maxnux en yahoo.com.ar
> To: centos-es en centos.org
> Subject: Re: [CentOS-es] Pronlemas con bind
>
> Henry Villavicencio wrote:
>> Hola amigos:
>>
>> Tengo instalado centos 5 y ya lo baje todas las actualizaciones.
>> Estoy instalando bind-9.3.3-10.el5, creo el archivo named.conf, el de mi zona y el de resolucion inversa, loevanto el servicio sin problema, pero al hacer hacer:
>>
>> host proxy
>>
>> Host proxy not found: 3(NXDOMAIN)
>>
>> host 192.168.14.4
>>
>> Host 4.14.168.192.in-addr.arpa not found: 3(NXDOMAIN)
>>
>> Que puede ser
>> _________________________________________________________________
>> Discover the new Windows Vista
>> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE_______________________________________________
>> CentOS-es mailing list
>> CentOS-es en centos.org
>> http://lists.centos.org/mailman/listinfo/centos-es
>>
>>
> y pone los archivos de conf como para ver sino es complicado ayudar
> _______________________________________________
/var/named/chroot/etc/named.conf
//Red Hat BIND Configuration Tool
//
//Default initial "Caching Only" name server configuration
//
acl "redlocal" {
127.0.0.1;
192.168.14.0/24;
};
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
allow-recursion { redlocal; };
forwarders {
xxx.xxx.xxx.xxx; -> mi dns primario
xxx.xxx.xxx.xxx1; -> mi dns secundario
};
forward first;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
query-source address * port 53;
};
zone "." IN {
type hint;
file "named.root";
};
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 "midominio.com" IN {
type master;
file "midominio.com.zone";
allow-update { none; };
};
zone "94.110.200.in-addr.arpa." IN {
type master;
file "94.110.200.in-addr.arpa.zone";
allow-update { none; };
};
zone "red-local" IN {
type master;
file "red-local.zone";
allow-update { none; };
};
zone "14.168.192.in-addr.arpa." IN {
type master;
file "14.168.192.in-adr.arpa.zone";
allow-update { none; };
};
include "/etc/rndc.key";
-------------------------------------
/var/named/chroot/var/named/midominio.com.zone
$TTL 86400
@ IN SOA proxy.midominio.com. sistemas.midominio.com. (
200803271 ; Serial yyyymmddn
10800 ; Refresh despues de 3 horas
3600 ; Retry despues de 1 hora
604800 ; Expire despues de 1 semana
86400 ; Defaul TTL minimo 1 dia
)
@ IN NS proxy
@ IN MX 10 mail
@ IN A xxx.xxx.xxx.76 -> ip publica
ftp IN A xxx.xxx.xxx.74 -> ip publica
www IN A xxx.xxx.xxx.75 -> ip publica
proxy IN A xxx.xxx.xxx.76 -> ip publica
ftp IN CNAME ftp
www IN CNAME www
dns IN CNAME proxy
-----------------------------------------------
/var/named/chroot/named/xxx.xxx.xxx.in-addr.arpa.zone
$TTL 86400
@ IN SOA proxy.midominio.com. sistemas.midominio.com. (
200803271 ; Serial yyyymmddn
10800 ; Refresh despues de 3 horas
3600 ; Retry despues de 1 hora
604800 ; Expire despues de 1 semana
86400 ; Defaul TTL minimo 1 dia
)
@ IN NS proxy.midominio.com.
74 IN PTR ftp.midominio.com.
75 IN PTR www.midominio.com.
76 IN PTR proxy.midominio.com
--------------------------------------------------
/var/names/chroot/named/red-local.zone
$TTL 86400
IN SOA proxy.red-local. sistemas.escopusa.com. (
200803271 ; Serial yyyymmddn
10800 ; Refresh despues de 3 horas
3600 ; Retry despues de 1 hora
604800 ; Expire despues de 1 semana
86400 ; Defaul TTL minimo 1 dia
)
@ IN NS proxy
@ IN MX 10 mail
@ IN NS 192.168.14.4
mail IN A 192.168.14.2
proxy IN A 192.168.14.4
data IN A 192.168.14.55
www IN A 192.168.14.88
ftp IN A 192.168.14.7
respaldo IN A 192.168.14.8
sistemas-boss IN A 192.168.14.61
sistemas-ham IN A 192.168.14.62
sistemas-admin IN A 192.168.14.63
gerencia IN A 192.168.14.71
jlucero IN A 192.168.14.72
gaguilar IN A 192.168.14.73
recepcion IN A 192.168.14.74
contabilidad IN A 192.168.14.75
yquimi IN A 192.168.14.76
mmejillones IN A 192.168.14.77
jconforme IN A 192.168.14.81
mruperti IN A 192.168.14.82
lsoto IN A 192.168.14.83
nmota IN A 192.168.14.84
jgualli IN A 192.168.14.85
szambrano IN A 192.168.14.91
jalmeida IN A 192.168.14.92
jayala IN A 192.168.14.93
jpenafiel IN A 192.168.14.94
vprieto IN A 192.168.14.95
tsantos IN A 192.168.14.96
flara IN A 192.168.14.111
etapia IN A 192.168.14.112
mbaque IN A 192.168.14.113
lprieto IN A 192.168.14.114
jmoreta IN A 192.168.14.115
jjimenez IN A 192.168.14.116
ebaquero IN A 192.168.14.131
fvera IN A 192.168.14.132
eguteirrez IN A 192.168.14.133
jmorales IN A 192.168.14.134
aneira IN A 192.168.14.135
scanner IN A 192.168.14.136
rbravo IN A 192.168.14.137
mail IN CNAME mail
dns IN CNAME proxy
www IN CNAME www
ftp IN CNAME ftp
----------------------------------------------
/var/named/chroot/named/14.168.192.in-addr.arpa.zone
$TTL 86400
@ IN SOA proxy.red-local. sistemas.red-local (
200803271 ; Serial yyyymmddn
10800 ; Refresh despues de 3 horas
3600 ; Retry despues de 1 hora
604800 ; Expire despues de 1 semana
86400 ; Defaul TTL minimo 1 dia
)
@ IN NS proxy.red-local.
2 IN PTR mail.red-local.
4 IN PTR proxy.red-local.
55 IN PTR data.red-local.
88 IN PTR www.red-local.
7 IN PTR ftp.red-local.
8 IN PTR respaldo.red-local.
61 IN PTR sistemas-boss.red-local.
62 IN PTR sistemas-ham.red-local.
63 IN PTR sistemas-admin.red-local.
71 IN PTR gerencia.red-local.
72 IN PTR jlucero.red-local.
73 IN PTR gaguilar.red-local.
74 IN PTR recepcion.red-local.
75 IN PTR contabilidad.red-local.
76 IN PTR yquimi.red-local.
77 IN PTR mmejillones.red-local.
81 IN PTR jconforme.red-local.
82 IN PTR mruperti.red-local.
83 IN PTR lsoto.red-local.
84 IN PTR nmota.red-local.
85 IN PTR jgualli.red-local.
91 IN PTR szambrano.red-local.
92 IN PTR jalmeida.red-local.
93 IN PTR jayala.red-local.
94 IN PTR jpenafiel.red-local.
95 IN PTR vprieto.red-local.
96 IN PTR tsantos.red-local.
111 IN PTR flara.red-local.
112 IN PTR etapia.red-local.
113 IN PTR mbaque.red-local.
114 IN PTR lprieto.red-local.
115 IN PTR jmoreta.red-local.
116 IN PTR jjimenez.red-local.
131 IN PTR ebaquero.red-local.
132 IN PTR fvera.red-local.
133 IN PTR egutierrez.red-local.
134 IN PTR jmorales.red-local.
135 IN PTR aneira.red-local.
136 IN PTR scanner.red-local.
137 IN PTR rbravo.red-local.
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
Más información sobre la lista de distribución CentOS-es