为什么名称服务器需要 A 记录?

为什么名称服务器需要 A 记录?

既然粘合记录已经提供了每个 NameServer 的 IP,为什么服务器本身仍然需要指向 NameServer IP 的 A 记录?

例如 :

Q: "I am trying to find domain.com. What is the IP address for the website domain.com?"
A: "I do not have the address. Check the name server for domain.com. You will find the IP address there."
Q: "Okay. What is the name server for domain.com?"
A: "ns1.domain.com(127.0.0.1)"

父区域(com)已经提供了该名称服务器的 IP,我不明白为什么需要 A 记录。

答案1

粘合记录不具有权威性,因此不应被解析器接受为答案。它们的存在只是为了引导解析过程,避免在名称服务器位于您尝试解析的同一区域时出现循环。

答案2

如果您的名称服务器没有 A 记录,其他名称服务器如何解析您的主机?

相关内容