开发者

Nameserver forwarding

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 an开发者_StackOverflow社区d it looks like it is not forwarding to the ns3.


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).


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜