RE: [CentOS-es] Pronlemas con bind

2008-03-28 Por tema Henry Villavicencio
 
   Date: Wed, 26 Mar 2008 21:21:49 
 -0300  From: [EMAIL PROTECTED]  To: centos-es@centos.org  Subject: Re: 
 [CentOS-es] Pronlemas con bindHenry 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+vistamkt=en-USform=QBRE___
   CentOS-es mailing list  CentOS-es@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 
 ToolDefault 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 primarioxxx.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 mmddn10800 ; Refresh despues de 3 horas3600 ; Retry despues de 1 
 hora604800 ; Expire despues de 1 semana86400 ; Defaul TTL minimo 1 dia)@ IN 
 NS proxy@ IN MX 10 mail@ IN A xxx.xxx.xxx.76 - ip publicaftp IN A 
 xxx.xxx.xxx.74 - ip publicawww IN A xxx.xxx.xxx.75 - ip publicaproxy IN A 
 xxx.xxx.xxx.76 - ip publicaftp IN CNAME ftpwww IN CNAME wwwdns 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 mmddn10800 ; Refresh despues de 3 horas3600 ; Retry despues de 1 
 hora604800 ; Expire despues de 1 semana86400 ; 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
  86400IN SOA proxy.red-local. sistemas.escopusa.com. (200803271 ; Serial 
 mmddn10800 ; Refresh despues de 3 horas3600 ; Retry despues de 1 
 hora604800 ; Expire despues de 1 semana86400 ; Defaul TTL minimo 1 dia)@ IN 
 NS proxy@ IN MX 10 mail@ IN NS 192.168.14.4mail IN A 192.168.14.2proxy IN A 
 192.168.14.4data IN A 192.168.14.55www IN A 192.168.14.88ftp IN A 
 192.168.14.7respaldo IN A 192.168.14.8sistemas-boss IN A 
 192.168.14.61sistemas-ham IN A 192.168.14.62sistemas-admin IN A 
 192.168.14.63gerencia IN A 192.168.14.71jlucero IN A 192.168.14.72gaguilar IN 
 A 192.168.14.73recepcion IN A 192.168.14.74contabilidad IN A 
 192.168.14.75yquimi IN A 192.168.14.76mmejillones IN A 192.168.14.77jconforme 
 IN A 192.168.14.81mruperti IN A 192.168.14.82lsoto IN A 192.168.14.83nmota IN 
 A 192.168.14.84jgualli IN A 192.168.14.85szambrano IN A 192.168.14.91jalmeida 
 IN A 192.168.14.92jayala IN A 192.168.14.93jpenafiel IN A 
 192.168.14.94vprieto IN A 192.168.14.95tsantos IN A 192.168.14.96flara IN A 
 192.168.14.111etapia IN A 192.168.14.112mbaque IN A 192.168.14.113lprieto

RE: [CentOS-es] Pronlemas con bind

2008-03-27 Por tema Henry Villavicencio



 Date: Wed, 26 Mar 2008 21:21:49 -0300
 From: [EMAIL PROTECTED]
 To: centos-es@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+vistamkt=en-USform=QBRE___
 CentOS-es mailing list
 CentOS-es@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 {
typemaster;
file 14.168.192.in-adr.arpa.zone;
allow-update { none; };
};

include /etc/rndc.key;

-

/var/named/chroot/var/named/midominio.com.zone

$TTL86400
@   IN  SOA proxy.midominio.com. 
sistemas.midominio.com. (
200803271   ; Serial mmddn
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

$TTL86400
@   IN  SOA proxy.midominio.com. 
sistemas.midominio.com. (
200803271   ; Serial mmddn
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

Re: [CentOS-es] Pronlemas con bind

2008-03-26 Por tema Alexander López Lapo

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+vistamkt=en-USform=QBRE___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es

  
Hola Henry, de pronto revisate en los archivos de configuración si todo 
esta bien. Además de que a mi me ha pasado que los archivos de 
configuración son sencible a espacios y tabulaciones.

___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es