域名系统 – NS记录鸡肉和鸡蛋:NS在其服务的域

域名系统 – NS记录鸡肉和鸡蛋:NS在其服务的域,第1张

概述参见英文答案 > What is a glue record?                                    4个 我已经处理过BIND多年了,这总是让我感到烦恼. $dig google.com ns;; QUESTION SECTION:;google.com. IN NS;; ANSWER SECTION:google.com. 参见英文答案 > @L_419_0@4个
我已经处理过BIND多年了,这总是让我感到烦恼.
$dig Google.com ns;; QUESTION SECTION:;Google.com.            IN  NS;; ANSWER SECTION:Google.com.     87046   IN  NS  ns3.Google.com.etc...;; ADDITIONAL SECTION:ns1.Google.com.     87274   IN  A   216.239.32.10etc.

我知道,至少在概念上,根服务器处理.并将.com.,..gov.交给任何正确的服务器(尽管在实践中这都被缓存了几个级别),但在某些时候,有人有要知道在216.239.32.10向服务器询问whatever.Google.com的A记录.但是,首先,解析器是如何解决这个问题的,因为你需要知道NS的A来做到这一点? (就此而言,既然我们知道它是一个互联网NS,而不是混乱之类的东西,为什么你必须使用一个名字而不是NS记录的地址?)

我的名字服务器总是有上游某人可以找到的名字(例如,我在foo.com上为bar.com托管了DNS,我的上游处理了foo.com),但我从来没有完全理解像Google这样的人如何克服以Google.com的名义为Google.com托管DNS的鸡和蛋问题.

解决方法 我认为你正在努力的概念是 glue records.

从上面的链接文章:

For example,if the authoritative name server for example.org is ns1.example.org,a computer trying to resolve www.example.org first resolves ns1.example.org. Since ns1 is contained in example.org,this requires resolving example.org first,which presents a circular dependency. To break the dependency,the name server for the top level domain org includes glue along with the delegation for example.org. The glue records are address records that provIDe IP addresses for ns1.example.org. The resolver uses one or more of these IP addresses to query one of the domain’s authoritative servers,which allows it to complete the DNS query.

总结

以上是内存溢出为你收集整理的域名系统 – NS记录鸡肉鸡蛋:NS在其服务的域全部内容,希望文章能够帮你解决域名系统 – NS记录鸡肉和鸡蛋:NS在其服务的域所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1094205.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存