J'utilise un problème de DNS que j'ai rencontré pour m'aider à mieux comprendre la résolution DNS. Je ne parviens pas à comprendre l'incohérence que je constate lors de la résolution de www.fandompost.com. En haut de ma liste de requêtes se trouve OpenDNS. Lorsqu'il est interrogé, il renvoie une adresse IP appropriée. Le suivant dans la liste est notre serveur DNS interne. Il renvoie des informations utiles mais pas une IP utilisable. Enfin, j'interroge le NS faisant autorité. Pourtant, contrairement à OpenDNS, le résultat final n'est pas une IP utilisable. Y a-t-il quelque chose que je / nous avons fait de mal avec notre serveur DNS interne qui fait que notre serveur échoue là où OpenDNS réussit ?
> www.fandompost.com.
Server: [208.67.222.222]
Address: 208.67.222.222
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 45, rcode = NOERROR
header flags: query
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = A, class = IN
------------
------------
Got answer (119 bytes):
HEADER:
opcode = QUERY, id = 45, rcode = NOERROR
header flags: response, recursion avail.
questions = 1, answers = 3, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = A, class = IN
ANSWERS:
-> www.fandompost.com
type = CNAME, class = IN, dlen = 39
canonical name = www.fandompost.com.cdn.cloudflare.net
ttl = 0 (0 secs)
-> www.fandompost.com.cdn.cloudflare.net
type = A, class = IN, dlen = 4
internet address = 108.162.206.239
ttl = 0 (0 secs)
-> www.fandompost.com.cdn.cloudflare.net
type = A, class = IN, dlen = 4
internet address = 108.162.205.239
ttl = 0 (0 secs)
------------
Non-authoritative answer:
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 46, rcode = NOERROR
header flags: query
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = AAAA, class = IN
------------
------------
Got answer (36 bytes):
HEADER:
opcode = QUERY, id = 46, rcode = SERVFAIL
header flags: response, recursion avail.
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = AAAA, class = IN
------------
Name: www.fandompost.com.cdn.cloudflare.net
Addresses: 108.162.206.239
108.162.205.239
Aliases: www.fandompost.com
> www.fandompost.com.
Server: [192.168.1.101]
Address: 192.168.1.101
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 48, rcode = NOERROR
header flags: query
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = A, class = IN
------------
------------
Got answer (162 bytes):
HEADER:
opcode = QUERY, id = 48, rcode = NOERROR
header flags: response, recursion avail.
questions = 1, answers = 0, authority records = 3, additional = 3
QUESTIONS:
www.fandompost.com, type = A, class = IN
AUTHORITY RECORDS:
-> fandompost.com
type = NS, class = IN, dlen = 16
nameserver = ns1.dreamhost.com
ttl = 84200 (23 hours 23 mins 20 secs)
-> fandompost.com
type = NS, class = IN, dlen = 6
nameserver = ns2.dreamhost.com
ttl = 84200 (23 hours 23 mins 20 secs)
-> fandompost.com
type = NS, class = IN, dlen = 6
nameserver = ns3.dreamhost.com
ttl = 84200 (23 hours 23 mins 20 secs)
ADDITIONAL RECORDS:
-> ns1.dreamhost.com
type = A, class = IN, dlen = 4
internet address = 66.33.206.206
ttl = 84581 (23 hours 29 mins 41 secs)
-> ns2.dreamhost.com
type = A, class = IN, dlen = 4
internet address = 208.97.182.10
ttl = 84581 (23 hours 29 mins 41 secs)
-> ns3.dreamhost.com
type = A, class = IN, dlen = 4
internet address = 66.33.216.216
ttl = 84581 (23 hours 29 mins 41 secs)
------------
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 49, rcode = NOERROR
header flags: query
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = AAAA, class = IN
------------
------------
Got answer (162 bytes):
HEADER:
opcode = QUERY, id = 49, rcode = NOERROR
header flags: response, recursion avail.
questions = 1, answers = 0, authority records = 3, additional = 3
QUESTIONS:
www.fandompost.com, type = AAAA, class = IN
AUTHORITY RECORDS:
-> fandompost.com
type = NS, class = IN, dlen = 16
nameserver = ns2.dreamhost.com
ttl = 84200 (23 hours 23 mins 20 secs)
-> fandompost.com
type = NS, class = IN, dlen = 6
nameserver = ns3.dreamhost.com
ttl = 84200 (23 hours 23 mins 20 secs)
-> fandompost.com
type = NS, class = IN, dlen = 6
nameserver = ns1.dreamhost.com
ttl = 84200 (23 hours 23 mins 20 secs)
ADDITIONAL RECORDS:
-> ns2.dreamhost.com
type = A, class = IN, dlen = 4
internet address = 208.97.182.10
ttl = 84581 (23 hours 29 mins 41 secs)
-> ns3.dreamhost.com
type = A, class = IN, dlen = 4
internet address = 66.33.216.216
ttl = 84581 (23 hours 29 mins 41 secs)
-> ns1.dreamhost.com
type = A, class = IN, dlen = 4
internet address = 66.33.206.206
ttl = 84581 (23 hours 29 mins 41 secs)
------------
Name: www.fandompost.com
Served by:
- ns1.dreamhost.com
66.33.206.206
fandompost.com
- ns2.dreamhost.com
208.97.182.10
fandompost.com
- ns3.dreamhost.com
66.33.216.216
fandompost.com
> www.fandompost.com.
Server: [66.33.206.206]
Address: 66.33.206.206
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 51, rcode = NOERROR
header flags: query
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = A, class = IN
------------
------------
Got answer (148 bytes):
HEADER:
opcode = QUERY, id = 51, rcode = NXDOMAIN
header flags: response, auth. answer
questions = 1, answers = 1, authority records = 1, additional = 0
QUESTIONS:
www.fandompost.com, type = A, class = IN
ANSWERS:
-> www.fandompost.com
type = CNAME, class = IN, dlen = 39
canonical name = www.fandompost.com.cdn.cloudflare.net
ttl = 300 (5 mins)
AUTHORITY RECORDS:
-> cloudflare.net
type = SOA, class = IN, dlen = 49
ttl = 14400 (4 hours)
primary name server = ns1.dreamhost.com
responsible mail addr = hostmaster.dreamhost.com
serial = 2014071000
refresh = 14908 (4 hours 8 mins 28 secs)
retry = 1800 (30 mins)
expire = 1814400 (21 days)
default TTL = 14400 (4 hours)
------------
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 52, rcode = NOERROR
header flags: query
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com, type = AAAA, class = IN
------------
------------
Got answer (148 bytes):
HEADER:
opcode = QUERY, id = 52, rcode = NXDOMAIN
header flags: response, auth. answer
questions = 1, answers = 1, authority records = 1, additional = 0
QUESTIONS:
www.fandompost.com, type = AAAA, class = IN
ANSWERS:
-> www.fandompost.com
type = CNAME, class = IN, dlen = 39
canonical name = www.fandompost.com.cdn.cloudflare.net
ttl = 300 (5 mins)
AUTHORITY RECORDS:
-> cloudflare.net
type = SOA, class = IN, dlen = 49
ttl = 14400 (4 hours)
primary name server = ns1.dreamhost.com
responsible mail addr = hostmaster.dreamhost.com
serial = 2014071000
refresh = 14908 (4 hours 8 mins 28 secs)
retry = 1800 (30 mins)
expire = 1814400 (21 days)
default TTL = 14400 (4 hours)
------------
*** [66.33.206.206] can't find www.fandompost.com.: Non-existent domain
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
> www.fandompost.com.cdn.cloudflare.net.
Server: [66.33.206.206]
Address: 66.33.206.206
------------
SendRequest(), len 55
HEADER:
opcode = QUERY, id = 55, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com.cdn.cloudflare.net, type = A, class = IN
------------
------------
Got answer (119 bytes):
HEADER:
opcode = QUERY, id = 55, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
www.fandompost.com.cdn.cloudflare.net, type = A, class = IN
AUTHORITY RECORDS:
-> cloudflare.net
type = SOA, class = IN, dlen = 52
ttl = 14400 (4 hours)
primary name server = ns1.dreamhost.com
responsible mail addr = hostmaster.dreamhost.com
serial = 2014071000
refresh = 14908 (4 hours 8 mins 28 secs)
retry = 1800 (30 mins)
expire = 1814400 (21 days)
default TTL = 14400 (4 hours)
------------
------------
SendRequest(), len 55
HEADER:
opcode = QUERY, id = 56, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.fandompost.com.cdn.cloudflare.net, type = AAAA, class = IN
------------
------------
Got answer (119 bytes):
HEADER:
opcode = QUERY, id = 56, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
www.fandompost.com.cdn.cloudflare.net, type = AAAA, class = IN
AUTHORITY RECORDS:
-> cloudflare.net
type = SOA, class = IN, dlen = 52
ttl = 14400 (4 hours)
primary name server = ns1.dreamhost.com
responsible mail addr = hostmaster.dreamhost.com
serial = 2014071000
refresh = 14908 (4 hours 8 mins 28 secs)
retry = 1800 (30 mins)
expire = 1814400 (21 days)
default TTL = 14400 (4 hours)
------------
*** [66.33.206.206] can't find www.fandompost.com.cdn.cloudflare.net.: Non-exist
ent domain