不引战 仅个人见解
没必抓住不放 各有各见解
本文dns缺省指权威服务器 其它另注
Dns与whios并无实际联系 Whois是商业产物 供公众查询所属人
在dns修改域名的ns record 可不在whois表现
域解析过程
本机向public dns查询
public dns向root dns询问nic的ns
Public dns向nic dns问registry domain的ns
registry domain dns反回ip到public dns
Root dns是以ip domain文本格式固定的 搭过public dns的都明白有个root.db 里面正是root dns地址
主根服务器都在资本主义国家手上 国内有镜像根 可独立运行
贴dig过程
;; global options: +cmd . 85165 IN NS a.root-servers.net. . 85165 IN NS b.root-servers.net. . 85165 IN NS c.root-servers.net. . 85165 IN NS d.root-servers.net. . 85165 IN NS e.root-servers.net. . 85165 IN NS f.root-servers.net. . 85165 IN NS g.root-servers.net. . 85165 IN NS h.root-servers.net. . 85165 IN NS i.root-servers.net. . 85165 IN NS j.root-servers.net. . 85165 IN NS k.root-servers.net. . 85165 IN NS l.root-servers.net. . 85165 IN NS m.root-servers.net. . 85165 IN RRSIG NS 8 0 518400 20210706170000 20210623160000 14631 . HMjCUTgU0niTn+bkJmwJJz2vbHArIuFxRC9+mf5NsA2hkY+Ge1+kun5j FE/zM3EHeZrFKZg4qenC/Q1pxtsWgJev/g7lOxWnJWSTGyklCLor8oZd +T4TwR+uJ6eOtBNNW1iCnf1xkLnttgt61Ozu/5dYA0YAjGHXftPaSwx4 QZmXPkhYvK+O92mIKOU3iEggTA7+4WsupQAPI4e9vcuRl7I0JYJ800b+ 2ka1ndFit80GmhKCYk858wDzUtzv4ZKvv10FoVin7rKY16uN1JRFtseg XH/GiNvIHrPzYhepJXU5Ti+rOxJmwL+oZTeaSCyJv04NPtxBuaExCrqu 5pIVzA== ;; Received 525 bytes from 8.8.8.8#53(8.8.8.8) in 0 ms #public dns反回root dns地址 cn. 172800 IN NS a.dns.cn. cn. 172800 IN NS b.dns.cn. cn. 172800 IN NS c.dns.cn. cn. 172800 IN NS d.dns.cn. cn. 172800 IN NS e.dns.cn. cn. 172800 IN NS f.dns.cn. cn. 172800 IN NS g.dns.cn. cn. 172800 IN NS ns.cernet.net. cn. 86400 IN DS 57724 8 2 5D0423633EB24A499BE78AA22D1C0C9BA36218FF49FD95A4CDF1A4AD 97C67044 cn. 86400 IN RRSIG DS 8 1 86400 20210706170000 20210623160000 14631 . AxgOvfNiDjgBamVbjwKiVqgE1mSXK0jMdcUFpBVKUSJDitLE2/J8Gaql +suGt7143VCBEX7r7CFh+p7ooO4tHC3NdzfOAup4w3rtVCAZTUOxaR3s zoksMUX5i5QddVXrcn4cDWmmO7maWdVfeun0Q/CnoE6Wowz5NGKKjhzf emQ/hSruzhkFcNjlPx2w7dvHDjDHvi/18bJXygjOS7heJxQ0XXXglIiO g7P/eki5QvTIYDNdIin2ENlFcpOgteXL+xi9J4UDwfJEUAQ0HlubBRRQ pFSk6D0NRM/W1GlXqqIvEfb9kEJ2JKDyR9ajuREX+WSspu+hRzjjbB/e voitqA== ;; Received 729 bytes from 2001:500:200::b#53(b.root-servers.net) in 64 ms #b根反回.cn NIC的ns www.gov.cn. 86400 IN NS ns1.cdns.cn. www.gov.cn. 86400 IN NS ns3.cdns.cn. www.gov.cn. 86400 IN NS ns2.cdns.cn. OD34NAI073IBVQ11VDMKQ9994080ODD6.gov.cn. 21600 IN NSEC3 1 1 10 AEF123AB QT7BTAO7R1Q622588A5EIG6FF22B7IRD NS SOA RRSIG DNSKEY NSEC3PARAM OD34NAI073IBVQ11VDMKQ9994080ODD6.gov.cn. 21600 IN RRSIG NSEC3 8 3 21600 20210704200832 20210604193129 54306 gov.cn. dr4cUGSTMll348k9G5TyRW3wwz+/Emp6l/HuvJyjQVJtMeadVoSOnCGa GUNOx61Y2G7C+1EBAejvLn1VOoKNZKNRGjU0nRtQClYP8d9bMgxRDPdJ t42KFlDbjaJ+euK/OqBixz6YUdQnRJ3dd3NK/NtrA6oyHeyKAlD5K5Z5 3es= QT7BTAO7R1Q622588A5EIG6FF22B7IRD.gov.cn. 21600 IN NSEC3 1 1 10 AEF123AB 5SN3KQ7NGEDSEKSRAMNFLKT7FFFNGKDE TXT RRSIG QT7BTAO7R1Q622588A5EIG6FF22B7IRD.gov.cn. 21600 IN RRSIG NSEC3 8 3 21600 20210705010422 20210605005901 54306 gov.cn. HF0GvBim1ff9vuouQb68hjyP1UBjUCB1rVglbMFQX4bLSGJlxzYE7Gjn uZvwQBz4oUbs2eSNGkHHX7wQLS5UrR9BnMrnqB+GPmUqMpMf5h4AXwy4 7MIUrfOBlkwZ3AkyPEeqkrfpRWflsPXDYwp+afFrD5ziVkXKXjBfcNja FNo= ;; Received 597 bytes from 66.198.183.65#53(g.dns.cn) in 2 ms #NIC的dns反回registry domain的ns www.gov.cn. 1800 IN CNAME www.gov.cn.bsgslb.cn. ;; Received 73 bytes from 125.208.46.1#53(ns2.cdns.cn) in 235 ms复制代码
;; global options: +cmd . 77324 IN NS m.root-servers.net. . 77324 IN NS b.root-servers.net. . 77324 IN NS c.root-servers.net. . 77324 IN NS d.root-servers.net. . 77324 IN NS e.root-servers.net. . 77324 IN NS f.root-servers.net. . 77324 IN NS g.root-servers.net. . 77324 IN NS h.root-servers.net. . 77324 IN NS i.root-servers.net. . 77324 IN NS a.root-servers.net. . 77324 IN NS j.root-servers.net. . 77324 IN NS k.root-servers.net. . 77324 IN NS l.root-servers.net. . 77324 IN RRSIG NS 8 0 518400 20210706050000 20210623040000 14631 . oF92Aa3Iek87Shix1ERKEahoUUJjVnNhwrjGIJaBKSpI0374cFcMYxTM hD2rhWm7fzICWKkLnN+TbI85zDBL8FdLFO7b6bJKpbQHmSyubXB5gdmE /vgjT96/pmBV+4MzofQqqZ/YrstjjxOn6uDLX5GVKuHDb9Jcn2o1HQ3F 6Hdm5mbB+3Tk高墙uPdW9IrOrzUjS14c/qz7QoZMiuMMKhrEOgEOXh87H j5Qw5J9eM5GXc5QNdMS+Vsr0ZfdTU9T8ySe9+pZNiZelMfn11QIIfp2h ojZEXVGf5WxWre9BPXNr2c31q2R/Yf8S5AaFFo7UYe7hIrE8sy/Uaobd +JTzSA== ;; Received 525 bytes from 8.8.8.8#53(8.8.8.8) in 1 ms gov. 172800 IN NS b.gov-servers.net. gov. 172800 IN NS a.gov-servers.net. gov. 172800 IN NS c.gov-servers.net. gov. 172800 IN NS d.gov-servers.net. gov. 86400 IN DS 7698 8 2 6BC949E638442EAD0BDAF0935763C8D003760384FF15EBBD5CE86BB5 559561F0 gov. 86400 IN RRSIG DS 8 1 86400 20210706170000 20210623160000 14631 . rZ9DAFj3V3XG6JoGlwvjAW+FCSiq91u8X6N+Mu1dWqoyY/pTiL1ByGoc 0z8AiY3zUZOSS7CNldLl6KrDe8JUms/MFNMK7Au5I4/dZZa/7xFgPmEo bnK2fvQooPzhWJm88AwCfspvDFa7df+vHuCFFE+j/9tQyMfX2KSgc22v n35+aDDyZCUZBNCN3Bb4MbUpudtIpgsUnzjY37BGYQkTKWpe1eMdLFD9 wsTBOgmAOfP8MSbZDmB0ojiJzdUhTKSyphTLb9Bsq8rGR4c3lHnS4HLO FHc+TtrzSVEhpp1Ht/MppNrOBlKptr9c4B0GfCUqbnxRcnQKKNTZRysS 6lEhOQ== ;; Received 659 bytes from 2001:500:2::c#53(c.root-servers.net) in 2 ms nasa.gov. 86400 IN NS a14-67.akam.net. nasa.gov. 86400 IN NS a5-66.akam.net. nasa.gov. 86400 IN NS a9-64.akam.net. nasa.gov. 86400 IN NS a12-64.akam.net. nasa.gov. 86400 IN NS a1-32.akam.net. nasa.gov. 86400 IN NS a8-66.akam.net. nasa.gov. 3600 IN DS 41452 8 1 83BB6C5AC559BBE1E8B17A98465145265A3CAFC4 nasa.gov. 3600 IN DS 41452 8 2 7490B7F47AF44D4C0BED3A7A2FEFEB50CF55E3209E5A82E30A44F9D4 AA9AE688 nasa.gov. 3600 IN RRSIG DS 8 2 3600 20210629234039 20210622234039 48498 gov. fqgUwqVAKQP2ScEGrNNn4NvnJn1GAOqOhXlGWdSBcIWQ6HLJ2p541Wbm 1L4x5K1XuXglgX2Gn3IJK6/R55egs7t5JvFO8CfqMkKLMGMRmnTiKIqt PLd9V7PYhsL8SrDSDYSf/JDvOp97LxR9uV+KgC+Vqf/M0A+4+y+L+oe4 lXmUdnZvRjNfs435Ga1vFfMBgIws8R+Al1UVeTQpyprjjA== ;; Received 450 bytes from 2620:74:28::2:30#53(c.gov-servers.net) in 1 ms www.nasa.gov. 600 IN CNAME www.nasawestprime.com. www.nasa.gov. 600 IN RRSIG CNAME 8 3 600 20210702135730 20210602134615 49875 nasa.gov. DIbgVYtuLyy+ikt51G8wGlSxvVLcSgI4wndLU3c+XASiaI4VWB6cJuxi V+uLoRWQM+CAhv+sQw3pAabUJEvYIISL/bBTdDNkgeE/nnuL94Yjwfx9 eKOZ**SmEwpCO+p70bjn1qWMWy5EVSCdC6wKNzYat/bGqtQKRLT85zg AYg= ;; Received 244 bytes from 95.100.168.66#53(a5-66.akam.net) in 19 ms复制代码
山东省网友说:你说得对!
山西省网友说:dig +trace +nodnssec 域名复制代码
浙江省网友说:zsbd
江西省网友说:我喜欢这种科普贴。