; <<>> DiG 9.11.36-RedHat-9.11.36-5.el8_7.2 <<>> +trace baidu.com ;; global options: +cmd . 9981 IN NS g.root-servers.net. . 9981 IN NS j.root-servers.net. . 9981 IN NS c.root-servers.net. . 9981 IN NS m.root-servers.net. . 9981 IN NS i.root-servers.net. . 9981 IN NS k.root-servers.net. . 9981 IN NS b.root-servers.net. . 9981 IN NS f.root-servers.net. . 9981 IN NS d.root-servers.net. . 9981 IN NS l.root-servers.net. . 9981 IN NS e.root-servers.net. . 9981 IN NS h.root-servers.net. . 9981 IN NS a.root-servers.net.
# 通过114获取到root C的IP地址
;; Received 824 bytes from 114.114.114.114#53(114.114.114.114) in 0 ms
com. 172800 IN NS a.gtld-servers.net. com. 172800 IN NS d.gtld-servers.net. com. 172800 IN NS l.gtld-servers.net. com. 172800 IN NS c.gtld-servers.net. com. 172800 IN NS m.gtld-servers.net. com. 172800 IN NS h.gtld-servers.net. com. 172800 IN NS e.gtld-servers.net. com. 172800 IN NS j.gtld-servers.net. com. 172800 IN NS b.gtld-servers.net. com. 172800 IN NS i.gtld-servers.net. com. 172800 IN NS g.gtld-servers.net. com. 172800 IN NS f.gtld-servers.net. com. 172800 IN NS k.gtld-servers.net.
# 通过root C服务器,获取到所有.com 权威服务器
;; Received 1197 bytes from 192.33.4.12#53(c.root-servers.net) in 197 ms
baidu.com. 172800 IN NS ns2.baidu.com. baidu.com. 172800 IN NS ns3.baidu.com. baidu.com. 172800 IN NS ns4.baidu.com. baidu.com. 172800 IN NS ns1.baidu.com. baidu.com. 172800 IN NS ns7.baidu.com.
# 通过.com 权威服务器,获取到baidu.com的权威服务器。
;; Received 845 bytes from 192.43.172.30#53(i.gtld-servers.net) in 237 ms
baidu.com. 600 IN A 39.156.66.10 baidu.com. 600 IN A 110.242.68.66 baidu.com. 86400 IN NS dns.baidu.com. baidu.com. 86400 IN NS ns7.baidu.com. baidu.com. 86400 IN NS ns4.baidu.com. baidu.com. 86400 IN NS ns2.baidu.com. baidu.com. 86400 IN NS ns3.baidu.com.