我注意到 AWS 的 DNS 服务(Route53).
在每个 DNS URL 末尾附加一个点():
ns-xxx.awsdns-yy.co.uk.
ns-xxx.awsdns-yy.net.
ns-xxx.awsdns-yy.org.
ns-xxx.awsdns-yy.com.
问题:这是一个错误吗?或者我应该将其包含.
在我的 DNS 设置中?
答案1
末尾的点是正确的。
这是一个鲜为人知的事实,但完全合格(无歧义)的 DNS 域名末尾有一个点。运行 DNS 服务器的人通常知道这一点(如果您漏掉了末尾的点,您的 DNS 配置就不太可能起作用),但普通公众通常不知道。末尾没有点的域名不是完全合格的,并且可能存在歧义。这在 1987 年的 DNS 规范 RFC 1034 中已有记录:
Since a complete domain name ends with the root label, this leads to a
printed form which ends in a dot. We use this property to distinguish between:
- a character string which represents a complete domain name
(often called "absolute"). For example, "poneria.ISI.EDU."
- a character string that represents the starting labels of a
domain name which is incomplete, and should be completed by
local software using knowledge of the local domain (often
called "relative"). For example, "poneria" used in the
ISI.EDU domain.
从这里