Raz*_*zib 3 networking domain-name-system ns-record nameserver dns-record
我正在尝试了解 DNS 的工作原理。即使经过大量的搜索,我仍然不清楚 NS 记录是如何工作的。现在我有两个事实。
事实1(基于本文第一段)
NS 记录或(名称服务器记录)告诉递归名称服务器哪些名称服务器对区域具有权威性。
事实 2(此处,在权威名称服务器部分下)
权威名称服务器包含特定于其所服务的域名(例如 google.com)的信息,并且它可以为递归解析器提供在 DNS A 记录中找到的该服务器的 IP 地址...
Now, say I choose company A for my domain name provider - I've bought my domain name from A
while I'm hosting my web app at the server of company B.
So based on fact 1 and 2 my question are -
(1) Will company A (from where I bought the domain name) will work for me as an authoritative server and it will point to the B's server through (A record)?
(2) Since the NS record says where my authoritative server is, so It means the NS record will not be stored in the authoritative server. Is this assumption correct?
(3) Somewhere I've to set all the DNS record (like A-record, MX-record, CNAME-record) so it will point to my web app hosting server correctly. An authoritative server is a place for this, which I've to maintain by myself?
Thanks in advance. (I know I've asked a lot in the same post. You might find it boring, I'm sorry for that.)
问题中的场景实际上涉及三个实体(至少在概念上):
理论上,注册商的作用只是代表注册人(客户)向注册管理机构注册域名并更新注册管理机构中已注册域名的参数。
实际上,除了域名注册之外,许多注册商还提供 DNS 托管服务,要么免费作为增值服务,要么作为追加销售选项。
在这种情况下值得注意的是,同一实体既是注册商又是 DNS 托管提供商,这在系统实际工作方式方面是巧合的。
从概念上讲,注册者(客户)告诉注册商他们想要将哪些名称服务器用于其域名,注册商将这些名称服务器输入注册表,然后NS在父区域中发布相应的记录。如果您还使用注册商公司提供的 DNS 托管服务,则通常会输入其自己的名称服务器的名称服务器信息,而无需注册人进行任何明确的操作。
NS记录,以便让解析器真正找到子区域的权威名称服务器,但权威NS记录是子区域的一部分。这些记录集NS应该始终匹配!(记得同时更新)