'dig baidu.com' 工作正常。但是当我执行'dig NODES.L.ROOT-SERVERS.ORG TXT +short +tcp | head -10',终端上没有打印任何内容。RFC 7108 说如下。我很困惑为什么我没有什么可展示的。
RFC 显示:dig NODES.L.ROOT-SERVERS.ORG TXT +short +tcp | head -10
"abj01.l.root-servers.org" "Abidjan" "" "Cote d'Ivoire" "Africa"
"abj02.l.root-servers.org" "Abidjan" "" "Cote d'Ivoire" "Africa"
"akl01.l.root-servers.org" "Mangere" "" "New Zealand" "AsiaPacific"
"akl41.l.root-servers.org" "Mangere" "" "New Zealand" "AsiaPacific"
"akl42.l.root-servers.org" "Mangere" "" "New Zealand" "AsiaPacific"
"akl43.l.root-servers.org" "Mangere" "" "New Zealand" "AsiaPacific"
"akl44.l.root-servers.org" "Mangere" "" "New Zealand" "AsiaPacific"
"ams01.l.root-servers.org" "Haarlemmermeer" "" "Netherlands" "Europe"
"anc01.l.root-servers.org" "Anchorage" "Alaska" "United States"
"NorthAmerica"
我的是:root@hewan-virtual-machine:/home/hewan# dig NODES.L.ROOT-SERVERS.NET IN +short +tcp | head -n 10
root@hewan-virtual-machine:/home/hewan#
您尝试查询的名称在 DNS中已不存在。注意状态行:
RFC 7108 记录了在编写时( 2014 年)维护 L 根的“当前”做法,但从那时起系统似乎发生了变化,节点本身不再携带有关所有其他节点的信息。(L 根节点列表仍可通过 HTTP作为 YAML 文件使用。)