问题原文
原帖链接 · davidgo · CC BY-SA 3.0
Shopify recently sent a link asking that I update DNS - They talk about ALIAS or ANAME records, and assert these are different to CNAME and A records.
I understand what CNAME records are, and why you don't use them for the root of the domain - and that ANAMES purport to address this shortcoming, however I do not understand how these are meant to be implemented.
ANAME Records appear to be something made up by "DNS MADE EASY", but from what I can see are not actually implemented as an RFC. Does anyone know how they work ? (Are they simply an abstraction to an A record which substitutes the ANAME with an A record, possibly providing different A records on different nameservers if there are nameservers in multiple places ?
Also, can anyone speculate as to why someone like Shopify would be pushing these (IE how do they benefit from this over using an A record - for that matter, how does it work in place of an A record on the origin of a zone ?)
已采纳解答
原帖链接 · user1686 · CC BY-SA 3.0
ANAME (aka ALIAS) isn't a real record type, it's more like a template/macro that expands to A & AAAA records copied from the target domain, refreshed every hour or so.
Shopify want you to use ANAME or CNAME because they want to remain able to change their web servers' IP addresses without breaking the customers' domains. (With ANAME, they can just switch the address in their own DNS and take down the old ones after a few days. But if some customers have entered A & AAAA records directly, it could take weeks for them to notice.)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
