domain-name-system – 验证名称服务器是否在TLD注册中心注册

假设我拥有域名example.com.它在注册商R注册.在我的帐户中,我为.TLD注册管理机构注册了以下名称服务器:

> ns1.example.com – > 192.0.2.1
> ns2.example.com – > 192.0.2.2

假设没有域使用这些名称服务器用于DNS.如何在我的R帐户之外验证名称服务器是否已在.TLD注册表中成功注册

例如,VeriSign Inc’s WHOIS页面允许您查找已注册的.COM名称服务器:

Server Name: NS1.HOSTGATOR.COM
IP Address: 67.18.54.2
Registrar: ENOM,INC.
Whois Server: whois.enom.com
Referral URL: http://www.enom.com

是否有标准方法可以查找任何TLD注册管理机构的此信息?

为了澄清,我不打算验证域设置使用的名称服务器,例如:

Domain Name: HOSTGATOR.COM
Registrar: ENOM,INC.
Whois Server: whois.enom.com
Referral URL: http://www.enom.com
Name Server: NS1.P13.DYNECT.NET
Name Server: NS2.P13.DYNECT.NET
Name Server: NS3.P13.DYNECT.NET
Name Server: NS4.P13.DYNECT.NET
Status: clientTransferProhibited
Updated Date: 05-jan-2013
Creation Date: 22-oct-2002
Expiration Date: 22-oct-2015

相反,我正在寻找一种方法查询注册表中的单个注册名称服务器(例如ns1.example.tld),以找到注册表为此名称服务器记录的IP地址(例如123.456.789.001).

更新:

我已经联系VeriSign进行了输入,结果发现VeriSign对名称服务器的WHOIS查询是专有的.以下是他们的回复

In regard to your question whether you would be able to obtain any
information regarding a nameserver which is registered at the registry
but not currently associated with any domain,you will unfortunately
not be able to obtain this information via alternative routes e.g. by
performing a DiG. Nameservers are only published to the zone if they
are attached to a domain,hence you won’t be able to obtain this
information unless said nameserver is associated with a domain. Also,
a DiG may provide you with a listing of nameservers associated with a
domain and their respective IP’s,etc.

— Benjamin,VeriSign,Inc. Customer Service

下面的@Iian’s answer的第二部分是正确的.名称服务器必须与域关联,以便查找注册表为该名称服务器记录的IP地址.

解决方法

您可以挖掘并选择公共DNS服务器
dig 8.8.8.8 NS example.com

这将为您提供名称服务器的名称,然后您可以查看它们,例如

dig +short ns1.example.tld 
123.456.789.001

或者如果您使用的是Windows,则可以使用nslookup

nslookup
> server 8.8.8.8
> set type=ns
> example.com

然后类似于上面

nslookup ns1.example.tld

将为您提供IP地址

如果要直接查询tld,那么

dig ns tld

将提供TLD名称服务器的列表,然后您可以直接查询它们以获取example.tld的ns记录

dig @ns666.tld ns example.tld

相关文章

Mip是什么意思以及作用有哪些
怎么测试Mip页面运行情况
MIP安装的具体步骤有哪些
HTML添加超链接、锚点的方法及作用详解(附视频)
MIP的规则有哪些
Mip轮播图组件中的重要属性讲解