In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The full name of the Dig tool is Domain Information Searcher (Domain Information Groper), which can display the detailed DNS query process. It is a very powerful DNS fault diagnosis tool. This feature is generally built into Linux and Unix systems, but there are only nslookup tools in the Windows environment. Let me show you how to install the Dig tools in the Windows environment.
Download the Dig tools installation package Bind
Go to the following FTP image site and download the latest version of the bind installation package:
Ftp://ftp.nominum.com/pub/isc/bind9/
Download the corresponding installation package according to your own system
32-bit system download: BIND9.11.2.x86.zip
64-bit system download: BIND9.11.2.x64.zip
This paper takes the win7 64-bit system as an example:
Extract the BIND9.11.2.x64.zip and double-click vcredist_x64.exe (if it is 32-bit, the file name is vcredist_x86.exe) to install Microsoft Visual C++ 2012 Redistribution.
Copy dig.exe to the C:\ Windows\ System32\ directory as well
Finally, copy all the extracted dll files to the C:\ Windows\ System32\ directory. As shown in the following figure:
When the installation is complete, use the command "dig-version" to view and verify the dig tool version
The simplicity and utility of Dig tools
We can directly use the "dig domain name" to query eg: dig www.geekeden.net by DNS.
By default, the DNS server on which dig performs DNS queries is the DNS set locally on the computer, as shown below (my native DNS is set to 192.168.88.1):
You can modify the server of the dig query by adding a file named resolv.conf in the C:\ Windows\ System32\ drivers\ etc\ directory.
Create a new txt text file and copy the following two lines into the txt text file:
Nameserver114.114.114.114
Nameserver 8.8.8.8
Save the txt file name as resolv and change its extension to conf. At this point, the query DNS of dig should be 114.114.114.114.
Use the "dig domain a + trace" command to view the detailed DNS query process
C:\ Users\ Administrator > dig www.geekeden.net a + trace
; DiG 9.11.2 www.geekeden.net a + trace
;; global options: + cmd
. 418373 IN NS j.root-servers.net.
. 418373 IN NS i.root-servers.net.
. 418373 IN NS c.root-servers.net.
. 418373 IN NS f.root-servers.net.
. 418373 IN NS d.root-servers.net.
. 418373 IN NS a.root-servers.net.
. 418373 IN NS h.root-servers.net.
. 418373 IN NS m.root-servers.net.
. 418373 IN NS b.root-servers.net.
. 418373 IN NS l.root-servers.net.
. 418373 IN NS e.root-servers.net.
. 418373 IN NS k.root-servers.net.
. 418373 IN NS g.root-servers.net.
. 518398 IN RRSIG NS 8 0 518400 20170910050000 201
70828040000 15768. JeeYDB3PtC7VL/h7YEnBSPfdf/0JZPpc9fiOCGJizDyaBuoutXB4jbjj 6Ay
E0uBQyM3EhjgFhAtS3aAnqNk5Oh9Na7L7dlzLO9+nFHEGeYmJ67dn fNTdaFMMKM9c0976IuxSAg1R1/
XMTVuXydhbUsmJ9FnTbcuwX9eZLy6J IfSA6FcCr6e0XTy4+dfgOJQ96LPyCduHejcfgvKM9zcAB7vvR
7RGGF2W V/Y8xvbZ8NHaiKm4vc25Ws3BZBPPsQp5FUn13orBWOwHWEp9YYoP+ivb P6vJtPEcbUmNUt0
OHBU9kddAkQLWAGFI9h3fHV1SW6pvJYcXgItj0CIg hZlvYQ==
;; Received 1097 bytes from 114.114.114.114.53 (114.114.114) in 85 ms
Net. 172800 IN NS e.gtld-servers.net.
Net. 172800 IN NS f.gtld-servers.net.
Net. 172800 IN NS m.gtld-servers.net.
Net. 172800 IN NS i.gtld-servers.net.
Net. 172800 IN NS j.gtld-servers.net.
Net. 172800 IN NS b.gtld-servers.net.
Net. 172800 IN NS a.gtld-servers.net.
Net. 172800 IN NS c.gtld-servers.net.
Net. 172800 IN NS k.gtld-servers.net.
Net. 172800 IN NS h.gtld-servers.net.
Net. 172800 IN NS l.gtld-servers.net.
Net. 172800 IN NS g.gtld-servers.net.
Net. 172800 IN NS d.gtld-servers.net.
Net. 86400 IN DS 35886 8 2 7862B27F5F516EBE196804
44D4CE5E762981931842C465F00236401D 8BD973EE
Net. 86400 IN RRSIG DS 8 1 86400 20170910050000 2017
0828040000 15768. HVJYrTdcnXItAjsnQcaqGyGWQIQZADrN0QGu1Il9l13ivRX4YSB8uh21 WI3E
SQ2K/p958IT9x9YLKWgNDI2B9tohtudt1m9DF2J+99XQFmDpS2io dcpQhUE+4DQNgnIP4Yf/KdkoD+a
JWcNuH9aB15YXd+FlEe5rDPcfNFoy gqnmCvIzkmSov7ZXff/WZwLg3sXe4UZi1ZzcWVkNYQBZgbWkgh
Bvd+dJ 82PpelYDRWuqtQ0R9M9pKRob7bOG4ztuto U0yhG6Z 318CYIdPIzMhu/Nl
SfFOCsKzprcDc+ONgLI3flSpthzkTDmErGte7OKN qgXbvw==
;; Received 1173 bytes from 198.41.0.4 ms 53 (a.root-servers.net) in 64 ms
Geekeden.net. 172800 IN NS ns13.domaincontrol.com.
Geekeden.net. 172800 IN NS ns14.domaincontrol.com.
A1RT98BS5QGC9NFI51S9HCI47ULJG6JH.net. 86400 IN NSEC3 1 10-A1RUUFFJKCT2Q54P78F
8EJGJ8JBK7I8B NS SOA RRSIG DNSKEY NSEC3PARAM
A1RT98BS5QGC9NFI51S9HCI47ULJG6JH.net. 86400 IN RRSIG NSEC3 8 2 86400 20170902051
148 20170826040148 57899 net. GbP3l7TwhZFfdWLW2N8rpIyExllbjb4loGwGaEG3StDUOoKgcZ
Z/fnUS gd3V+5PeHXosHrzvjFsJy4zdIDMzibN+TK33OpQHN5l2iLXDzbZh8w7P umZRuWZy6Vqp1NJB
It6w21SB0LglKJVV1lqRV8NjFWynjSUpPfp+KfH7 YQM=
GSP53AEBTJ5D8AQS3150GCSFUS0VNNVL.net. 86400 IN NSEC3 1 10-GSPDAIMIF0NGHBI72P3
VL0QCD49V4L1R NS DS RRSIG
GSP53AEBTJ5D8AQS3150GCSFUS0VNNVL.net. 86400 IN RRSIG NSEC3 8 2 86400 20170901050
959 20170825035959 57899 net. NJCGE/XKI9xUR/I8QkZZU5BdhfFyQDM2N0gQhR+8JxFfY+aX1I
TcF/Da LgEYA66c3Bvrpv7LfJXScE1OK1G9w2Shs03M+CgnH837H6S2ARgSDr0R fIUurwUNPozcArBf
OxTT+HSn66mFn96xwC0k8f7QDVw7SQqDHmLj02qF ORs=
;; Received 673 bytes from 192.52.178.30 ms 53 (k.gtld-servers.net) in 102 ms
Www.geekeden.net. 3600 IN CNAME geekeden.net.
Geekeden.net. 600 IN A 148.66.136.214
Geekeden.net. 3600 IN NS ns13.domaincontrol.com.
Geekeden.net. 3600 IN NS ns14.domaincontrol.com.
;; Received 130 bytes from 216.69.185.7 ms 53 (ns13.domaincontrol.com) in 62 ms
C:\ Users\ Administrator >
Original link to this article: http://www.geekeden.net/windows/64.html
For more original content, please visit the geek paradise website: www.geekeden.net
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.