> 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.COMIP Address: 67.18.54.2Registrar: ENOM,INC.Whois Server: whois.enom.comReferral URL: http://www.enom.com
是否有标准方法可以查找任何TLD注册管理机构的此信息?
为了澄清,我不打算验证域设置使用的名称服务器,例如:
Domain name: HOSTGATOR.COMRegistrar: ENOM,INC.Whois Server: whois.enom.comReferral URL: http://www.enom.com
name Server: NS1.P13.DYNECT.NETname Server: NS2.P13.DYNECT.NETname Server: NS3.P13.DYNECT.NETname Server: NS4.P13.DYNECT.NET
Status: clIEntTransferProhibitedUpdated Date: 05-jan-2013Creation Date: 22-oct-2002Expiration 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总结
以上是内存溢出为你收集整理的domain-name-system – 验证名称服务器是否在TLD注册中心注册全部内容,希望文章能够帮你解决domain-name-system – 验证名称服务器是否在TLD注册中心注册所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)