CNAME TTL
James Raftery
james-bind-users at now.ie
Thu Mar 22 15:10:49 UTC 2001
On Thu, Mar 22, 2001 at 03:40:06PM +0100, Vincent DUQUESNE wrote:
> Does a DNS server send, in its answer, the TTL of the CNAME record or the
> TTL of the A record corresponding ?
The CNAME has a TTL. The A has a TTL. They are not interchangeable.
They do not merge into each other. They are seperate and distinct
records. They mean different things.
Each will be returned in a response with its own TTL specified. For
example:
; <<>> DiG 8.3 <<>> @ns1.ucd.ie www.iedr.net a
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 6, ADDITIONAL: 6
;; QUERY SECTION:
;; www.iedr.net, type = A, class = IN
;; ANSWER SECTION:
www.iedr.net. 1d23h59m48s IN CNAME redirect.domainregistry.ie.
redirect.domainregistry.ie. 20h47m18s IN A 193.1.142.29
[rest of response snipped]
james
--
James Raftery (JBR54)
"It's somewhere in the Red Hat district" -- A network engineer's
freudian slip when talking about Amsterdam's nightlife at RIPE 38.
More information about the bind-users
mailing list