Vin*_*oft 22 domain-name-system amazon-web-services amazon-route53
我注意到 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.
Run Code Online (Sandbox Code Playgroud)
问题:这是一个错误,还是我应该包括 . 在我的 DNS 设置中?
Anu*_*ioz 32
最后的点是正确的。
这是一个鲜为人知的事实,但完全限定(明确的)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.
Run Code Online (Sandbox Code Playgroud)
从这里
归档时间: |
|
查看次数: |
16720 次 |
最近记录: |