名称服务器转发

发布于 2024-11-17 03:44:20 字数 188 浏览 5 评论 0原文

这听起来可能是一个奇怪的问题:

如果我想做一个名称服务器转发,我该如何实现它? 设想 域指向 ns1 & ns2。 无需更改 ns1 和 ns1 的注册商记录; ns2,是否可以将要转发的域记录从ns1&ns2指向ns3&n4?

我正在做的是在 NS1 创建 NS 类型记录,看起来它没有转发到 ns3。

This probably will sound a strange question:

If I would like to do a Nameserver forwarding, how can I implement it?
Scenario
Domain is pointed at ns1 & ns2.
Without changing the Registrar record for the ns1 & ns2, is it possible to point the domain records to be forwarded to ns3&n4 from the ns1&ns2?

What I am doing is creating NS type records at NS1 and it looks like it is not forwarding to the ns3.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

dawn曙光 2024-11-24 03:44:20

如果不在注册表级别声明 NS3 和 NS4,这是不可能的,
因为递归名称服务器。

解析器正在逐步查询域层次结构中的所有权威名称服务器。这就是递归的由来。对于像 www.example.com. 这样的域名,解析器会问:

  1. .COM 的 NS 是什么?”到 ROOT 名称服务器
  2. example.com 的 NS 是什么?”到 .COM 名称服务器
  3. www.example.com 的 IP 是什么?”到 example.com 名称服务器?

这就是为什么如果注册表级别不知道您的 NS3 和 NS4,您将永远不会收到任何查询。

如果您有兴趣,我在我的个人博客上写了一篇介绍域名系统的文章,我在其中更详细地描述了这一点:什么是域名以及域名背后的内容但是

您可以做的是将子域委托给您的 NS3 和 NS4,如本操作方法中所述:HOWTO - 委托子域(又名子区域)

This is not possible without declaring the NS3 and NS4 at the registry level,
because of the Recursive Name Server.

Resolvers are querying step by step all the authoritative name servers from the domain hierarchy. That's where the recursive comes from. For a domain like www.example.com. the resolvers will ask:

  1. "What are the NS for .COM ?" to ROOT Name Servers
  2. "What are the NS for example.com ?" to .COM Name Servers
  3. "What is the IP for www.example.com ?" to example.com Name Servers ?

That's why if the registry level don't know your NS3 and NS4 you will never receive any query on it.

I wrote an article on my personal blog introducing the domain name system if you are interested where I describe this in more detail: What's a domain name and what's behind the scene

But what you could do is do delegate a subdomain to your NS3 and NS4, as described in this HOW-TO: HOWTO - Delegate a Sub-domain (a.k.a. subzone).

柏林苍穹下 2024-11-24 03:44:20

这可能是解决您想要的问题的有用知识。

http://en.wikipedia.org/wiki/CNAME_record#DNAME_record

但请注意不完全是 99.999% 安全。

This may be useful knowledge to solve what you want.

http://en.wikipedia.org/wiki/CNAME_record#DNAME_record

But be aware it's not exactly 99.999% safe.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文