如何找到域名的权威名称服务器?

本文翻译自:How do I find the authoritative name-server for a domain name?

如何找到冲突的DNS记录的来源?


#1楼

参考:https://stackoom.com/question/9tF/如何找到域名的权威名称服务器


#2楼

We've built a dns lookup tool that gives you the domain's authoritative nameservers and its common dns records in one request. 我们构建了一个dns查找工具 ,在一个请求中为您提供域的权威名称服务器及其常见的dns记录。

Example: https://www.misk.com/tools/#dns/stackoverflow.com 示例: https//www.misk.com/tools/#dns/stackoverflow.com

Our tool finds the authoritative nameservers by performing a realtime (uncached) dns lookup at the root nameservers and then following the nameserver referrals until we reach the authoritative nameservers. 我们的工具通过在根名称服务器上执行实时(未缓存)的dns查找然后跟随名称服务器引用来找到权威的名称服务器,直到我们到达权威的名称服务器。 This is the same logic that dns resolvers use to obtain authoritative answers. 这与dns解析器用于获取权威答案的逻辑相同。 A random authoritative nameserver is selected (and identified) on each query allowing you to find conflicting dns records by performing multiple requests. 在每个查询上选择(并标识)随机权威名称服务器,允许您通过执行多个请求来查找冲突的DNS记录。

You can also view the nameserver delegation path by clicking on "Authoritative Nameservers" at the bottom of the dns lookup results from the example above. 您还可以通过单击上面示例的dns查找结果底部的“权威名称服务器”来查看名称服务器委派路径。

Example: https://www.misk.com/tools/#dns/stackoverflow.com@f.root-servers.net 示例: https//www.misk.com/tools/#dns/stackoverflow.com@f.root-servers.net


#3楼

An easy way is to use an online domain tool. 一种简单的方法是使用在线域名工具。 My favorite is Domain Tools (formerly whois.sc). 我最喜欢的是Domain Tools (以前称为whois.sc)。 I'm not sure if they can resolve conflicting DNS records though. 我不确定他们是否可以解决冲突的DNS记录。 As an example, the DNS servers for stackoverflow.com are 例如,stackoverflow.com的DNS服务器是

  NS51.DOMAINCONTROL.COM
  NS52.DOMAINCONTROL.COM

#4楼

You'll want the SOA (Start of Authority) record for a given domain name, and this is how you accomplish it using the universally available nslookup command line tool: 您将需要给定域名的SOA(权限开始)记录,这是使用通用的nslookup命令行工具完成它的方法:

command line> nslookup
> set querytype=soa
> stackoverflow.com
Server:         217.30.180.230
Address:        217.30.180.230#53

Non-authoritative answer:
stackoverflow.com
        origin = ns51.domaincontrol.com # ("primary name server" on Windows)
        mail addr = dns.jomax.net       # ("responsible mail addr" on Windows)
        serial = 2008041300
        refresh = 28800
        retry = 7200
        expire = 604800
        minimum = 86400
Authoritative answers can be found from:
stackoverflow.com       nameserver = ns52.domaincontrol.com.
stackoverflow.com       nameserver = ns51.domaincontrol.com.

The origin (or primary name server on Windows) line tells you that ns51.domaincontrol is the main name server for stackoverflow.com . (或Windows上的主名称服务器 )行告诉您ns51.domaincontrolstackoverflow.com的主名称服务器。

At the end of output all authoritative servers, including backup servers for the given domain, are listed. 在输出结束时,将列出所有权威服务器,包括给定域的备份服务器。


#5楼

I have a DNS propagation tool designed to answer these kind of questions. 我有一个DNS传播工具,旨在回答这些问题。

Source is released under the AGPLv3. 来源根据AGPLv3发布。

(Yes, the interface is rather basic at the moment :) ) (是的,此刻界面相当基本:))

You could also find out the nameservers for a domain with the "host" command: 您还可以使用“host”命令找到域的名称服务器:

[davidp@supernova:~]$ host -t ns stackoverflow.com
stackoverflow.com name server ns51.domaincontrol.com.
stackoverflow.com name server ns52.domaincontrol.com.

#6楼

You can use the whois service. 您可以使用whois服务。 On a UNIX like operating system you would execute the following command. 在类似UNIX的操作系统上,您将执行以下命令。 Alternatively you can do it on the web at http://www.internic.net/whois.html . 或者,您可以在网站http://www.internic.net/whois.html上进行此操作

whois stackoverflow.com whois stackoverflow.com

You would get the following response. 你会得到以下回应。

...text removed here... ......文本已删除...

Domain servers in listed order: NS51.DOMAINCONTROL.COM NS52.DOMAINCONTROL.COM 按列出的顺序排列的域服务器:NS51.DOMAINCONTROL.COM NS52.DOMAINCONTROL.COM

You can use nslookup or dig to find out more information about records for a given domain. 您可以使用nslookup或dig来查找有关给定域的记录的更多信息。 This might help you resolve the conflicts you have described. 这可能有助于您解决所描述的冲突。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值