《2022年dig命令的使用.域名服务器教程.docx》由会员分享,可在线阅读,更多相关《2022年dig命令的使用.域名服务器教程.docx(5页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、2022年dig命令的使用.域名服务器教程摘要:dig吩咐的运用.dig 吩咐运用方法.dig server domain name#用dig 查看区传送.dig server domain name AXFRrootgnu123 root# dig 192.168.1.103 localhost AXFR; <<>> DiG 9.2.1 <<>> 192.168.1.103 localhost AXFR; global options: printcmdlocalhost. 86400 IN SOA localhost. root.localh
2、ost. 2022010400 10800 900 604800 86400localhost. 86400 IN NS localhost.localhost. 86400 IN A 127.0.0.1localhost. 86400 IN SOA localhost. root.localhost. 2022010400 10800 900 604800 86400; Query time: 154 msec; SERVER: 192.168.1.103#53(192.168.1.103); WHEN: Thu Mar 3 17:32:08 2022; XFR size: 5 record
3、s# 用 dig 查看反向解析dig -x 210.52.83.228 server rootgnu123 root# dig +nssearchSOA . jjzhang.sohu-. 2022030302 1800 600 1209600 1800 from server in 29 ms.SOA . jjzhang.sohu-. 2022030302 1800 600 1209600 1800 from server in 12 ms.SOA . jjzhang.sohu-. 2022030302 1800 600 1209600 1800 from server in 39 ms.#
4、查找一个域的授权 dns 服务器dig +nssearch# 从根服务器起先追踪一个域名的解析过程dig + tracerootgnu123 root# dig + trace; Invalid option; <<>> DiG 9.2.1 <<>> + trace; global options: printcmd; Got answer:; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23658; flags: qr rd ra; QUERY: 1, ANSWER:
5、 2, AUTHORITY: 3, ADDITIONAL: 3; QUESTION SECTION:;. IN A; ANSWER SECTION:. 19 IN A 61.135.133.104. 19 IN A 61.135.133.103; AUTHORITY SECTION:. 463 IN NS . 463 IN NS . 463 IN NS .; ADDITIONAL SECTION:. 90811 IN A 61.135.131.86. 87397 IN A 61.135.131.1. 88784 IN A 61.135.132.1; Query time: 10 msec; S
6、ERVER: 202.99.96.68#53(202.99.96.68); WHEN: Thu Mar 3 17:47:54 2022; MSG SIZE rcvd: 160; Got answer:; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55773; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0; QUESTION SECTION:;trace. IN A; AUTHORITY SECTION:. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2022030201 1800 900 604800 86400; Query time: 39 msec; SERVER: 202.99.96.68#53(202.99.96.68); WHEN: Thu Mar 3 17:47:54 2022; MSG SIZE rcvd: 98# 查看你运用的是哪个 F root dns serverdig +norec F.ROOT-SERVERS.NET HOSTNAME.BIND CHAOS TXT