Score:0

What is meant by collapse CNAME?

us flag

While I was working on a certain DNS traffic management tool (Akamai) I found a checkbox to enable Collapse CNAMEs. I did not find any useful resources on this topic. What does it mean and how it works? Any idea?

Ginnungagap avatar
gu flag
You should ask Akamai, unless someone has experience working with this particular Akamai option, this is open to speculation.
Aminovic avatar
us flag
I don't think it is particular to akamai's service as I did saw it in another DNS management tool. I think it will be useful to the community if someone who has experience makes it clear for everyone.
Patrick Mevzek avatar
cn flag
"I don't think it is particular to akamai'". It is particular to that provider or some providers. It is certainly NOT in standard DNS. Maybe it means it replaces a list of CNAMEs linked together by a single one. Or something else. Maybe related to apex( where CNAME are not allowed, so providers proposed non standard solutions for that). Who knows? Ask the provider where you found that.
Aminovic avatar
us flag
Someone answered my question and make it clear. Thank you anyway
Score:1
cn flag

This really seems like Akamai's equivalent of Cloudflare's CNAME Flattening.

This is what Cloudflare says:

To accomplish this, we extended our authoritative DNS infrastructure to, in certain cases, act as a kind of DNS resolver. What happens is that, if there's a CNAME at the root, rather than returning that record directly we recurse through the CNAME chain ourselves until we find an A Record. At that point, we return the IP address associated with the A Record. This, effectively, "flattens" the CNAME chain.

An ancillary benefit we've found is that we decrease the time for CNAME resolution by about 30% on average.

And what Akamai shows in their document:

Click this to enable the collapsing feature and provide only the final CNAME answer rather than returning all CNAMEs.

Just as an example, say you have

mysite.example.com -> www.example.com

www.example.com -> 200.200.200.200

This feature effectively 'flattens' or 'collapses' the CNAME chain to only provide the final IP address as if mysite.example.com was pointing to the A record directly.

mysite.example.com -> 200.200.200.200

Aminovic avatar
us flag
So clear! Thank you
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.