Saludos Amigos, me he guiado de un tutorial, y he instalado y configurado Bind
Pero al levantar el servicio me presenta el siguiente mensaje :
el comando que ejecuto es named -u named -g
y este es el resultado
Código HTML:
Jul 10 12:25:17.464 starting BIND 9.2.3 -u named -g
Jul 10 12:25:17.466 using 1 CPU
Jul 10 12:25:17.630 loading configuration from '/etc/named.conf'
Jul 10 12:25:17.773 listening on IPv4 interface lo, 127.0.0.1#53
Jul 10 12:25:17.919 binding TCP socket: address in use
Jul 10 12:25:17.920 listening on IPv4 interface eth0, 192.168.0.10#53
Jul 10 12:25:17.921 binding TCP socket: address in use
Jul 10 12:25:18.105 /etc/named.conf:21: couldn't add command channel 127.0.0.1#953: address in use
Jul 10 12:25:18.106 ignoring config file logging statement due to -g option
Jul 10 12:25:18.363 zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jul 10 12:25:18.556 dns_master_load: 0.168.192.in-addr.arpa.zone:2: prueba.pe: not at top of zoneJul 10 12:25:18.558 zone 0.168.192.in-addr.arpa/IN: loading master file 0.168.192.in-addr.arpa.zone: not at top of zone
Jul 10 12:25:18.756 zone localhost/IN: loaded serial 42
Jul 10 12:25:18.968 zone prueba.pe/IN: loaded serial 13
Jul 10 12:25:19.180 running
Jul 10 12:25:19.181 zone prueba.pe/IN: sending notifies (serial 13)
el error son estas lineas
Jul 10 12:25:18.105 /etc/named.conf:21: couldn't add command channel 127.0.0.1#953:
address in use
Jul 10 12:25:18.556 dns_master_load: 0.168.192.in-addr.arpa.zone:2: prueba.pe: not at top of zone
Jul 10 12:25:18.556 dns_master_load: 0.168.192.in-addr.arpa.zone:2: prueba.pe: not at top of zoneJul 10 12:25:18.558 zone 0.168.192.in-addr.arpa/IN: loading master file
Bueno aqui adjunto el fichero named.conf
Código HTML:
// generated by named-bootconf.pl
options {
directory "/var/named";
// 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;
};
// a caching only nameserver config
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
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; };
};
// mi agregado para mi sitio local :D
zone "prueba.pe" IN {
type master;
file "prueba.pe.zone";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192.in-addr.arpa.zone";
};
include "/etc/rndc.key";
y por ultimo mis dos ficheros.
prueba.pe.zone
Código HTML:
$TTL 86400
prueba.pe. IN SOA ns1.prueba.pe. root.localhost. (
13 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
)
IN NS ns.prueba.pe.
IN A 192.168.0.10
aa IN NS 192.168.0.10
www IN A 192.168.0.10
ftp IN A 192.168.0.10
ns1 IN A 192.168.0.10
y el fichero de 0.168.192.in-addr.arpa
Código HTML:
$TTL 86400
prueba.pe. IN SOA localhost root (
13 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; ttl
)
192.168.0.10 IN NS prueba.pe.
192.168.0.10 IN NS www.prueba.pe.
192.168.0.10 IN NS ftp.prueba.pe.
Espero alguien me puedo decir en que me estoy equivocando.
Muchas gracias
A. Acosta