[CentOS-es] Duda Servidor DNS.

Wilmer Arambula tecnologiaterabyte en gmail.com
Sab Mayo 23 03:51:44 UTC 2015


Gracias angel segui tu consejo y ya use el comando host las salidas son:


host midominio.com.ve / Muestra: midominio.com.ve has address 1.1.1.1

host 1.1.1.1 / Muestra 1.1.1.1 in-addr.arpa has no PTR record

host 1.1.1.1 8.8.8.8 / Muestra:

Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:

1.1.1.1.in-addr.arpa domain name pointer server.vps.com.

host 1.1.1.1 127.0.0.1 / Muestra:

Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

1.1.1.1.in-addr.arpa has no PTR record

host -a midominio.com.ve / Muestra:

Trying "midominiocom.ve"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61759
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;midominio.com.ve.                 IN      ANY

;; ANSWER SECTION:
midominio.com.ve.          38400   IN      SOA    server.vps.com.
administrator.midominio.com.ve. 1432340096 10800 3600 604800 38400
midominio.com.ve.          38400   IN      NS      ns1.midominio.com.ve.
midominio.com.ve.          38400   IN      NS      ns2.midominio.com.ve.
midominio.com.ve.          38400   IN      NS      server.vps.com.
midominio.com.ve.          38400   IN      A       1.1.1.1

;; ADDITIONAL SECTION:
ns1.midominio.com.ve.      38400   IN      A       1.1.1.2
ns2.midominio.com.ve.      38400   IN      A       1.1.1.3


En la Zona Tengo:

zone "1.1.1.1.in-addr.arpa" {
     type master;
     file "/var/named/1.1.1.1.in-addr.arpa";
};


y en /var/named/1.1.1.1.in-addr.arpa:

@                    IN      SOA     server.vps.com.
administrator.midominio.com.ve. (
1432340094
10800
3600
604800
38400 )
@                     IN NS server.vps.com.
ns1                 IN NS midominio.com.ve.
ns2              IN NS midominio.com.ve.
20                     IN    PTR    midominio.com.ve.

y en /var/named/midominio.com.ve.hosts::

$ttl 38400
midominio.com.ve. IN SOA server.vps.com. administrator.midominio.com.ve. (
1432340096
10800
3600
604800
38400 )
                          IN NS server.vps.com.
         IN NS ns1.midominio.com.ve.
                                IN NS ns2.midominio.com.ve.
@                             IN A 1.1.1.1
ns1                         IN A 1.1.1.2
ns2      IN A 1.1.1.3
www      IN CNAME midominio.com.ve.
1.1.1.1.midominio.com.ve. IN PTR midominio.com.ve

Que me faltara y disculpa la molestia,

Saludos,

Wilmer.


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