nslookup 适用于 www.domain.com,但不适用于 domain.com

nslookup 适用于 www.domain.com,但不适用于 domain.com

当我在网站上执行 nslookup 时,发生了一些非常奇怪的事情。例如,如果我使用github.comwww.github.com我得到以下

C:\Users\Hyper>nslookup github.com
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
DNS request timed out.
    timeout was 2 seconds.
Name:    github.com
Address:  140.82.113.4
C:\Users\Hyper>nslookup www.github.com
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:    github.com
Address:  140.82.114.3
Aliases:  www.github.com

两者都给了我一个 IP 地址。但是看看这个网页发生了什么banesco.com

C:\Users\Hyper>nslookup www.banesco.com
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:    banesco-produccion.siscotel.io
Addresses:  52.0.178.199
          3.230.30.180
          3.230.106.149
Aliases:  www.banesco.com
C:\Users\Hyper>nslookup banesco.com
Server:  UnKnown
Address:  192.168.1.1

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out

为什么它适用于www.banesco.com但不是banesco.com

答案1

banesco.com区域委托给四个名称服务器:

  • ns1.globalcrossing.net.ve
  • ns2.globalcrossing.net.ve
  • dns.banesco.com
  • dns1.banesco.com

当您对此域或其任何子域进行查询时(如果尚无缓存响应),该查询最终将被转发到其中一个服务器 - 基本上是随机选择的。

其中两个名称服务器(由 GlobalCrossing.net.ve 提供)目前已损坏– 他们只会回复“服务器故障”错误代码。如果您的查询最终被路由到他们,它要么返回相同的错误代码,要么直接超时。

相关内容