大网数据广告活动
网站运营与故障问答

Questions about ANAME DNS records

· 52CE 我爱测

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 o…

问题原文

原帖链接 · 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.)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-02-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。