Regarding CNAME Chains





Hi,



From the server I get a response like



aaa CNAME bbb

ccc CNAME ddd

bbb CNAME ccc



The ordering of the CNAME chain is incorrect, ideally it should be like



aaa CNAME bbb

bbb CNAME ccc

ccc CNAME ddd



Is there some RFC which prohibits the configuration of CNAME chains as given
in the first example, ie CNAME chains not in order.



I tried to search on the internet, and could come up with this para in RFC
2308: DNS NCACHE



"QNAME" - the name in the query section of an answer, or where this resolves
to a CNAME, or CNAME chain, the data field of the last CNAME. The last CNAME
in this sense is that which contains a value which does not resolve to
another CNAME. Implementations should note that including CNAME records in
responses in order, so that the first has the label from the query section,
and then each in sequence has the label from the data section of the
previous (where more than one CNAME is needed) allows the sequence to be
processed in one pass, and considerably eases the task of the receiver.



It would be a great help if it can be confirmed that resolvers can expect
CNAME chains to be in order.



Thanks & Regards

Ashwin







Relevant Pages

  • Re: Regarding CNAME Chains
    ... From the server I get a response like ... aaa CNAME bbb ... Is there some RFC which prohibits the configuration of CNAME chains as given in the first example, ie CNAME chains not in order. ... It would be a great help if it can be confirmed that resolvers can expect CNAME chains to be in order. ...
    (comp.protocols.dns.bind)
  • Re: youtube!
    ... 14202 IN CNAME kissyoutube.com. ... www.kissyoutube.com is a canononical name that resolves to ... and because it looks like a URL, clients will treat it like ... You accidentally forgot to type the in the link when you typed your original post yesterday but when going to that link using the corrected URL it was indeed reporting as a suspended account. ...
    (alt.guitar)
  • Re: youtube!
    ... 14202 IN CNAME kissyoutube.com. ... www.kissyoutube.com is a canononical name that resolves to ... and because it looks like a URL, clients will treat it ... original post yesterday but when going to that link using the corrected ...
    (alt.guitar)
  • Re: Query Regarding CNAMES
    ... Supposing I do an A query for aaa.com ... aaa.com IN CNAME bbb.com ... Essentially whether CNAME chaining can be present in a single response from ...
    (comp.protocols.dns.bind)
  • Re: youtube!
    ... 14202 IN CNAME kissyoutube.com. ... www.kissyoutube.com is a canononical name that resolves to ... and because it looks like a URL, clients will treat it like ... I had bookmarked the URL and it went dead, ...
    (alt.guitar)