[CentOS-es] Problemas con el bind

Henry Villavicencio h_villavicencio en hotmail.com
Mie Mayo 7 21:53:43 UTC 2008


Estoy implementando el dns en un servidor centos 5.0, pero me sale el siguiente mensaje:

[root en proxy ~]# service named start
Iniciando named: 
Error en la configuración de named:
zone localdomain/IN: loaded serial 42
zone localhost/IN: loaded serial 42
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
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: loaded serial 1997022700
zone 255.in-addr.arpa/IN: loaded serial 42
zone 0.in-addr.arpa/IN: loaded serial 42
dns_master_load: /var/named/chroot/var/named/escopusa.com.zone:19: ftp.escopusa.com: CNAME and other data
dns_master_load: /var/named/chroot/var/named/escopusa.com.zone:20: www.escopusa.com: CNAME and other data
dns_master_load: /var/named/chroot/var/named/escopusa.com.zone:21: proxy.escopusa.com: CNAME and other data
dns_master_load: /var/named/chroot/var/named/escopusa.com.zone:22: mail.escopusa.com: CNAME and other data
zone escopusa.com/IN: loading master file /var/named/chroot/var/named/escopusa.com.zone: CNAME and other data
_default/escopusa.com/IN: CNAME and other data
zone 94.110.200.in-addr.arpa/IN: loaded serial 200805071
dns_master_load: /var/named/chroot/var/named/red-local.zone:55: mail.red-local: CNAME and other data
dns_master_load: /var/named/chroot/var/named/red-local.zone:56: proxy.red-local: CNAME and other data
dns_master_load: /var/named/chroot/var/named/red-local.zone:57: www.red-local: CNAME and other data
dns_master_load: /var/named/chroot/var/named/red-local.zone:58: ftp.red-local: CNAME and other data
zone red-local/IN: loading master file /var/named/chroot/var/named/red-local.zone: CNAME and other data
_default/red-local/IN: CNAME and other data
zone 14.168.192.in-addr.arpa/IN: loaded serial 200805071
                                                           [FALLÓ]
[root en proxy ~]# 

---------------------------------------

el contenido de named.conf es:

//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 {
                200.93.192.148;
                200.93.192.161;
        };
        forward first;
        allow-query { redlocal; };
        /*
         * 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 "escopusa.com" IN {
        type master;
        file "/var/named/chroot/var/named/escopusa.com.zone";
        allow-update { none; };
};

zone "94.110.200.in-addr.arpa." IN {
        type master;
        file "/var/named/chroot/var/named/94.110.200.in-addr.arpa.zone";
        allow-update { none; };
};

zone "red-local" IN {
        type master;
        file "/var/named/chroot/var/named/red-local.zone";
        allow-update { none; };
        allow-query { redlocal; };
};

zone "14.168.192.in-addr.arpa." IN {
        type master;
        file "/var/named/chroot/var/named/14.168.192.in-addr.arpa.zone";
        allow-update { none; };
        allow-query { redlocal; };
};

include "/etc/rndc.key";

----------------------------------------

el contenido de escopusa.com.zone es:

$TTL    86400
@               IN      SOA     proxy.escopusa.com.     sistemas.escopusa.com. (
                200805071       ; 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       200.110.94.76

ftp             IN      A       200.110.94.74
www             IN      A       200.110.94.75
proxy           IN      A       200.110.94.76
mail            IN      A       200.110.95.159

ftp             IN      CNAME   ftp
www             IN      CNAME   www
proxy           IN      CNAME   proxy
mail            IN      CNAME   mail

------------------------------------------------

el contenido de red-local.zone es:

$TTL 86400
@               IN      SOA     proxy.red-local.        sistemas.escopusa.com. (
                200805071       ; 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       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
proxy           IN      CNAME   proxy
www             IN      CNAME   www
ftp             IN      CNAME   ftp

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE


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