OVH Community, your new community space.

Problema al vincular dominio con servidor dedicado (DNS)


Pocero_well
27/05/2013, 11:32
Perdona Kilburn, aquí os dejo el log:

Código:
May 27 12:21:35 ksxxxxx4 named[10845]: received control channel command 'stop -p'
May 27 12:21:35 ksxxxxx4 named[10845]: shutting down: flushing changes
May 27 12:21:35 ksxxxxx4 named[10845]: stopping command channel on 127.0.0.1#953
May 27 12:21:35 ksxxxxx4 named[10845]: stopping command channel on ::1#953
May 27 12:21:35 ksxxxxx4 named[10845]: no longer listening on 127.0.0.1#53
May 27 12:21:35 ksxxxxx4 named[10845]: no longer listening on xxx.xxx.xxx.20#53
May 27 12:21:35 ksxxxxx4 named[10845]: no longer listening on ::1#53
May 27 12:21:35 ksxxxxx4 named[10845]: exiting
May 27 12:21:36 ksxxxxx4 named[12036]: starting BIND 9.8.1-P1 -u bind
May 27 12:21:36 ksxxxxx4 named[12036]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'
May 27 12:21:36 ksxxxxx4 named[12036]: adjusted limit on open files from 4096 to 1048576
May 27 12:21:36 ksxxxxx4 named[12036]: found 4 CPUs, using 4 worker threads
May 27 12:21:36 ksxxxxx4 named[12036]: using up to 4096 sockets
May 27 12:21:36 ksxxxxx4 named[12036]: loading configuration from '/etc/bind/named.conf'
May 27 12:21:36 ksxxxxx4 named[12036]: reading built-in trusted keys from file '/etc/bind/bind.keys'
May 27 12:21:36 ksxxxxx4 named[12036]: using default UDP/IPv4 port range: [1024, 65535]
May 27 12:21:36 ksxxxxx4 named[12036]: using default UDP/IPv6 port range: [1024, 65535]
May 27 12:21:36 ksxxxxx4 named[12036]: listening on IPv4 interface lo, 127.0.0.1#53
May 27 12:21:36 ksxxxxx4 named[12036]: listening on IPv4 interface eth0, xxx.xxx.xxx.20#53
May 27 12:21:36 ksxxxxx4 named[12036]: listening on IPv6 interface lo, ::1#53
May 27 12:21:36 ksxxxxx4 named[12036]: generating session key for dynamic DNS
May 27 12:21:36 ksxxxxx4 named[12036]: sizing zone task pool based on 6 zones
May 27 12:21:36 ksxxxxx4 named[12036]: using built-in root key for view _default
May 27 12:21:36 ksxxxxx4 named[12036]: set up managed keys zone for view _default, file 'managed-keys.bind'
May 27 12:21:36 ksxxxxx4 named[12036]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 254.169.IN-ADDR.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty 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.0.IP6.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 1.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
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: D.F.IP6.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 8.E.F.IP6.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 9.E.F.IP6.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: A.E.F.IP6.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: B.E.F.IP6.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
May 27 12:21:36 ksxxxxx4 named[12036]: command channel listening on 127.0.0.1#953
May 27 12:21:36 ksxxxxx4 named[12036]: command channel listening on ::1#953
May 27 12:21:36 ksxxxxx4 named[12036]: zone 0.in-addr.arpa/IN: loaded serial 1
May 27 12:21:36 ksxxxxx4 named[12036]: zone 127.in-addr.arpa/IN: loaded serial 1
May 27 12:21:36 ksxxxxx4 named[12036]: zone 255.in-addr.arpa/IN: loaded serial 1
May 27 12:21:36 ksxxxxx4 named[12036]: dns_rdata_fromtext: /etc/bind/db.xxx.xxxx:7: near eol: unexpected end of input
May 27 12:21:36 ksxxxxx4 named[12036]: zone xxxxxxx.es/IN: loading from master file /etc/bind/db.xxx.xxxx failed: unexpected end of input
May 27 12:21:36 ksxxxxx4 named[12036]: zone xxxxxxx.es/IN: not loaded due to errors.
May 27 12:21:36 ksxxxxx4 named[12036]: zone localhost/IN: loaded serial 2
May 27 12:21:36 ksxxxxx4 named[12036]: managed-keys-zone ./IN: loaded serial 3
May 27 12:21:36 ksxxxxx4 named[12036]: running

Kilburn
27/05/2013, 08:59
Si no muestras los logs nadie te puede ayudar. Repito:

grep named /var/log/syslog

Pocero_well
26/05/2013, 23:21
Muchas gracias por vuestras respuestas, si me lo permitís os hago otra consulta y aprovecho.

Me salta otro mensaje de error:

http://img547.imageshack.us/img547/4...dadadttulo.png

¿A qué puede ser debido esto?

Gracias.

Guille
26/05/2013, 21:55
en:
cat /etc/bind/named.conf.options
asegurate que hay un
listen-on { 127.0.0.1;any; };

Kilburn
26/05/2013, 19:55
grep named /var/log/syslog

Pocero_well
26/05/2013, 18:43
Buenas, escribo aquí porque ya no sé donde más pedir ayuda, tengo un problema, y es que no consigo hacer que mi servidor dedicado responda sobre el nombre de mi dominio. Utilizo bind9 sobre mi servidor dedicado ubuntu 12.04, ambas cosas están contratadas en ovh, probé a abrir algunas consultas a los técnicos de ovh pero no me han ayudado en mucho, ahí va todo lo que he hecho hasta ahora:

  • Lo primero que hice es alquilar un dominio ".es".
  • Lo siguiente fue ir al manager del dominio contratado y cambiarle los servidores DNS a: "ksxxxxx4.kimsufi.com" (mi servidor dedicado) y "ns.kimsufi.com" que sería el servidor secundario DNS que me ofrece ovh.
  • Seguidamente lo que hice fue irme a la administración del servidor dedicado Servicios/DNS Secundario y allí añadí un nuevo dominio "xxxxxx.es" a "xxx.xxx.xxx.20" con el DNS Secundario de "ns.kimsufi.com" (se asigna automáticamente).


Esto supongo que es lo principal, a partir de ahí miré y me decía "connection refused", era normal no tenía instalado el Servidor DNS en mi máquina (bind9), así que procedí a instalarlo, y configurar los ficheros, de manera que me han quedado así:

Archivo named.conf.local:

zone "xxxxxxx.es" {
type master;
file "/etc/bind/db.xxx.xxxx";
};

Archivo db.xxx.xxxx:

$TTL 3600
xxxxxxx.es. IN SOA ksxxxxx4.kimsufi.com. (
2013011703 ; serial, todays date + todays serial #
7200 ; refresh, seconds
540 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minium, seconds
;

xxxxxxx.es. 3600 A xxx.xxx.xxx.20
xxxxxxx.es. 3600 NS ksxxxxx4.kimsufi.com.
xxxxxxx.es. 3600 NS ns.kimsufi.com.
www 3600 A xx.xxx.xxx.20
Nota: las xxx denominan algún nombre o IP que por razones de seguridad no voy a publicar.

Le hago un reinicio, y me sigue dando el error de "conection refused".

Tarda entre 24h y 48h en actualizarse, pero es que no puedo estar esperando 24-48h cada vez que cambio ni que sea un solo carácter de estos archivos porque me puedo tirar una eternidad, así que he publicado estos archivos con el fin de que me podáis decir que está mal de todo esto.

Gracias.