本地DNS迭代查询实践过程

本地DNS迭代查询实践过程_第1张图片
用nslookup命令来看看,以查询小破站www.bilibili.com为例

[root@JD30-aliyun ~]# nslookup
> set type=ns
> .
Server:		100.100.2.136
Address:	100.100.2.136#53

Non-authoritative answer:
.	nameserver = m.root-servers.net.
.	nameserver = i.root-servers.net.
.	nameserver = f.root-servers.net.
.	nameserver = j.root-servers.net.
.	nameserver = e.root-servers.net.
.	nameserver = l.root-servers.net.
.	nameserver = b.root-servers.net.
.	nameserver = a.root-servers.net.
.	nameserver = d.root-servers.net.
.	nameserver = h.root-servers.net.
.	nameserver = c.root-servers.net.
.	nameserver = g.root-servers.net.
.	nameserver = k.root-servers.net.

Authoritative answers can be found from:

> set type=a
> b.root-servers.net.
Server:		100.100.2.136
Address:	100.100.2.136#53

Non-authoritative answer:
Name:	b.root-servers.net
Address: 199.9.14.201
> 
> server 199.9.14.201
Default server: 199.9.14.201
Address: 199.9.14.201#53
> 
> set type=ns
> com.
Server:		199.9.14.201
Address:	199.9.14.201#53

Non-authoritative answer:
*** Can't find com.: No answer

Authoritative answers can be found from:
com	nameserver = a.gtld-servers.net.
com	nameserver = b.gtld-servers.net.
com	nameserver = c.gtld-servers.net.
com	nameserver = d.gtld-servers.net.
com	nameserver = e.gtld-servers.net.
com	nameserver = f.gtld-servers.net.
com	nameserver = g.gtld-servers.net.
com	nameserver = h.gtld-servers.net.
com	nameserver = i.gtld-servers.net.
com	nameserver = j.gtld-servers.net.
com	nameserver = k.gtld-servers.net.
com	nameserver = l.gtld-servers.net.
com	nameserver = m.gtld-servers.net.
a.gtld-servers.net	internet address = 192.5.6.30
a.gtld-servers.net	has AAAA address 2001:503:a83e::2:30
b.gtld-servers.net	internet address = 192.33.14.30
b.gtld-servers.net	has AAAA address 2001:503:231d::2:30
c.gtld-servers.net	internet address = 192.26.92.30
c.gtld-servers.net	has AAAA address 2001:503:83eb::30
d.gtld-servers.net	internet address = 192.31.80.30
d.gtld-servers.net	has AAAA address 2001:500:856e::30
e.gtld-servers.net	internet address = 192.12.94.30
e.gtld-servers.net	has AAAA address 2001:502:1ca1::30
f.gtld-servers.net	internet address = 192.35.51.30
f.gtld-servers.net	has AAAA address 2001:503:d414::30

Server:		199.9.14.201
Address:	199.9.14.201#53
> 
> server 192.33.14.30
Default server: 192.33.14.30
Address: 192.33.14.30#53
> 
> set type=ns
> bilibili.com.
Server:		192.33.14.30
Address:	192.33.14.30#53

Non-authoritative answer:
*** Can't find bilibili.com.: No answer

Authoritative answers can be found from:
bilibili.com	nameserver = ns3.dnsv5.com.
bilibili.com	nameserver = ns4.dnsv5.com.
ns3.dnsv5.com	internet address = 1.12.0.17
ns3.dnsv5.com	internet address = 1.12.0.18
ns3.dnsv5.com	internet address = 1.12.0.20
ns3.dnsv5.com	internet address = 223.166.151.16
ns3.dnsv5.com	has AAAA address 2402:4e00:1430:1102:0:9136:2b2b:ba61
ns3.dnsv5.com	internet address = 36.155.149.211
ns3.dnsv5.com	internet address = 49.234.175.103
ns3.dnsv5.com	internet address = 61.151.180.51
ns4.dnsv5.com	internet address = 1.12.0.16
ns4.dnsv5.com	internet address = 1.12.0.19
ns4.dnsv5.com	internet address = 106.55.82.76
ns4.dnsv5.com	internet address = 117.89.178.200
ns4.dnsv5.com	internet address = 183.192.164.119
ns4.dnsv5.com	internet address = 183.47.126.155
ns4.dnsv5.com	internet address = 223.166.151.126
ns4.dnsv5.com	has AAAA address 2402:4e00:1020:1264:0:9136:29b6:fc32

> server 1.12.0.17
Default server: 1.12.0.17
Address: 1.12.0.17#53
> set type=a
> www.bilibili.com
Server:		1.12.0.17
Address:	1.12.0.17#53

www.bilibili.com	canonical name = a.w.bilicdn1.com.
> 
> a.w.bilicdn1.com.
Server:		1.12.0.17
Address:	1.12.0.17#53

Name:	a.w.bilicdn1.com
Address: 117.23.60.14
Name:	a.w.bilicdn1.com
Address: 117.23.60.15
Name:	a.w.bilicdn1.com
Address: 124.239.244.15
Name:	a.w.bilicdn1.com
Address: 124.239.244.16
Name:	a.w.bilicdn1.com
Address: 124.239.244.17
Name:	a.w.bilicdn1.com
Address: 124.239.244.18
Name:	a.w.bilicdn1.com
Address: 117.23.60.12
Name:	a.w.bilicdn1.com
Address: 117.23.60.13

你可能感兴趣的:(数学建模,linux,ubuntu,http,https)