dig命令
Posted pyai
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dig命令相关的知识,希望对你有一定的参考价值。
在debian系统安装dig命令:apt install dnsutils
使用方式:dig +trace www.google.com
root@iZ2ze9geibp2xjlt9326d6Z:~# dig +trace pyai.top
; <<>> DiG 9.10.3-P4-Debian <<>> +trace pyai.top
;; global options: +cmd
. 246679 IN NS h.root-servers.net.
. 246679 IN NS a.root-servers.net.
. 246679 IN NS e.root-servers.net.
. 246679 IN NS c.root-servers.net.
. 246679 IN NS i.root-servers.net.
. 246679 IN NS l.root-servers.net.
. 246679 IN NS d.root-servers.net.
. 246679 IN NS b.root-servers.net.
. 246679 IN NS f.root-servers.net.
. 246679 IN NS m.root-servers.net.
. 246679 IN NS j.root-servers.net.
. 246679 IN NS g.root-servers.net.
. 246679 IN NS k.root-servers.net.
. 489962 IN RRSIG NS 8 0 518400 20200402170000 20200320160000 33853 . TnlIcY/HfOK5KuuGRI+QZgKjWk7nJwxSL8t3u4vI5vSE7ZtXMOOVmovd 03u/y0nmrxfo+ZkZqogoYtHZSt0r4Izx1rTifdcglt/1ba0vRspjw1k/ EN+pAzLVdXT38Wf5Nml08wUZqCkZRWQPJdM2auheXiKOSkvC2f66Cbvi 8SA8z8i1ZC36O6Ox0HvaZ4A1kz7v8tCuvP9XrvWhHjUuSo2fdoEcq4nX r10WOWtvX7UqNwteRVuXG7+Gq2/8Ny8Y+FUs4aegCytCL12zLHZ1BSv2 ybtlQ1tgUMZsZVJyZXRZeVCQX/zUwQqDjugWVhL1/13wEvB79hJgSn5u gCmaeQ==
;; Received 525 bytes from 100.100.2.136#53(100.100.2.136) in 0 ms
top. 172800 IN NS a.zdnscloud.com.
top. 172800 IN NS b.zdnscloud.com.
top. 172800 IN NS c.zdnscloud.com.
top. 172800 IN NS d.zdnscloud.com.
top. 172800 IN NS f.zdnscloud.com.
top. 172800 IN NS g.zdnscloud.com.
top. 172800 IN NS i.zdnscloud.com.
top. 172800 IN NS j.zdnscloud.com.
top. 86400 IN DS 56384 8 2 BA378C5913404EC654DF544F519B0FB287E140D64DAC5D59E3499623 93C17945
top. 86400 IN RRSIG DS 8 1 86400 20200403130000 20200321120000 33853 . 2R98UqeroK+ibBORhQ5/2LYbHCxcc+XGcsV9ZxNMJeSJxlgZhBH96QLd WxOfQ2XIj1890rBPIvM8Gti9vOF/fv1fO+1VW9hPQifYvQx+7QfRSqNa uDTqkmm0vwBjlWk3/s9/LwXzCy0HUEcV+sCmI6jUmEP8IVY+Cn3OhYA9 S4oJqx+G6pM69PKW0hDtnqpdxpgJ6oGlRBNQuY0WY8lshZAz6xRNH4LG QrqFTPg7ENseW8mZxaiJjTvalkk0q+39SUrSvaezVLSCuHOEt1DsPkia z1AiFdzhy0ESV1rp2eKL2w/5VcUgevIM/Rjec4Tx27D7etr8zekuk/E4 DGCQPA==
couldn't get address for 'i.zdnscloud.com': not found
couldn't get address for 'j.zdnscloud.com': not found
;; Received 665 bytes from 198.97.190.53#53(h.root-servers.net) in 100 ms
pyai.top. 3600 IN NS dns7.hichina.com.
pyai.top. 3600 IN NS dns8.hichina.com.
ieuk5v1aislpr3o0oslbejb3l8q6rjol.top. 3600 IN NSEC3 1 0 5 3A1B91E364D39AEB IEUL7PE0JAS41N2MK61DEHPBT8NIEN54 NS
ieuk5v1aislpr3o0oslbejb3l8q6rjol.top. 3600 IN RRSIG NSEC3 8 2 3600 20200422130309 20200222105147 36280 top. a5oT1U6Jdqfl31Ug1v4UjydTdhNtRXE+cXQBV5Q4SY+jDUBsuaeS/mTh LNrlQH5B+z9ElNusJjzfX9qrYGxYWfvbELCuVC8oo7CNFh/5ycAbChAC yx1rFqqfxRLsl3UZFC5oEgaATcOlbvpfHz2aT5T68uSmoUhlGAl3onkY U6w=
;; Received 331 bytes from 203.99.26.1#53(c.zdnscloud.com) in 183 ms
pyai.top. 600 IN CNAME pyai-ypyun.b0.aicdn.com.
;; Received 74 bytes from 106.11.211.54#53(dns8.hichina.com) in 6 ms
以上是关于dig命令的主要内容,如果未能解决你的问题,请参考以下文章