忍受不了windows的nslookup,连打这个命令都很陌生~
还是linux的dig好用,也习惯点。
下载dig for windows的版本
https://downloads.isc.org/isc/bind9/9.16.30/BIND9.16.30.x64.zip [下载时间:2023/12/21 10:36]
http://members.shaw.ca/nicholas.fong/dig/dig-files3.zip
ftp://ftp.isc.org/isc/bind9/9.17.18/bind-9.17.18.tar.xz
在D盘创建一个新文件夹dig,然后解压到里面!
来源:http://baiqiuyi.com/windows/dig-for-windows.html
还是linux的dig好用,也习惯点。
下载dig for windows的版本
https://downloads.isc.org/isc/bind9/9.16.30/BIND9.16.30.x64.zip [下载时间:2023/12/21 10:36]
http://members.shaw.ca/nicholas.fong/dig/dig-files3.zip
ftp://ftp.isc.org/isc/bind9/9.17.18/bind-9.17.18.tar.xz
在D盘创建一个新文件夹dig,然后解压到里面!
cd /d D:\dig
检测文件的完整性
D:\dig>sha1sum *
489a8ca7c7851088ade58c404ddde1a926559003 cygwin1.dll
57487baeaa0eb2848557b7ca54ed9183eafc73fa dig.exe
97dbd755d67a5829c138a4708be7a4f26ed0894c host.exe
d22e4b8956e1831ff0f9d07620ec19bf171f0c29 libbind9.dll
81588f0be7d3c6b320edc314532d9f2d0a105594 libdns.dll
e0bd7187bbc01003abfe7472e64b68cd1bdb6bab libeay32.dll
f445362e728a902796ec6871a79c6307054974e4 libisc.dll
b3255c0e4808a703f95c217a91ffcd6940e680c9 libisccfg.dll
dfbde4f9e25fd49a0846e97fd813d6876dc94067 liblwres.dll
61b8f573db448ae6351ae3475c2e7c482d81533c msvcr70.dll
da39a3ee5e6b4b0d3255bfef95601890afd80709 resolv.conf
4a578ecd09a2d0c8431bdd8cf3d5c5f3ddcddfc9 sha1sum.exe
9d9ec0e2cf59e14d9db618d10b55b881bb7d195b whois.exe
我的电脑,右键属性,高级,系统变量
修改
变量名:PATH
变量值:c:\windows\system32;d:\dig
#system32后面的分号不能有空格!
测试:
C:\Documents and Settings\Administrator>dig google.com
; <<>> DiG 9.3.2 <<>> google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 797
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 66.249.89.99
google.com. 300 IN A 66.249.89.104
;; Query time: 109 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Thu Sep 16 23:31:02 2010
;; MSG SIZE rcvd: 60
检测文件的完整性
D:\dig>sha1sum *
489a8ca7c7851088ade58c404ddde1a926559003 cygwin1.dll
57487baeaa0eb2848557b7ca54ed9183eafc73fa dig.exe
97dbd755d67a5829c138a4708be7a4f26ed0894c host.exe
d22e4b8956e1831ff0f9d07620ec19bf171f0c29 libbind9.dll
81588f0be7d3c6b320edc314532d9f2d0a105594 libdns.dll
e0bd7187bbc01003abfe7472e64b68cd1bdb6bab libeay32.dll
f445362e728a902796ec6871a79c6307054974e4 libisc.dll
b3255c0e4808a703f95c217a91ffcd6940e680c9 libisccfg.dll
dfbde4f9e25fd49a0846e97fd813d6876dc94067 liblwres.dll
61b8f573db448ae6351ae3475c2e7c482d81533c msvcr70.dll
da39a3ee5e6b4b0d3255bfef95601890afd80709 resolv.conf
4a578ecd09a2d0c8431bdd8cf3d5c5f3ddcddfc9 sha1sum.exe
9d9ec0e2cf59e14d9db618d10b55b881bb7d195b whois.exe
我的电脑,右键属性,高级,系统变量
修改
变量名:PATH
变量值:c:\windows\system32;d:\dig
#system32后面的分号不能有空格!
测试:
C:\Documents and Settings\Administrator>dig google.com
; <<>> DiG 9.3.2 <<>> google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 797
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 66.249.89.99
google.com. 300 IN A 66.249.89.104
;; Query time: 109 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Thu Sep 16 23:31:02 2010
;; MSG SIZE rcvd: 60
来源:http://baiqiuyi.com/windows/dig-for-windows.html
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:http://jackxiang.com/post/3978/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2023-12-21 10:37
评论列表