Installation and use of dig Domain name Resolution tool under windows
Windows under the nslookup parsing command tools, are already familiar. In addition, on linux or unix, the dig command tool is dominant in parsing.
The following mainly explains how dig installs and uses the dig command tool under windows.
The execution program of dig is in the Bind software package. First download the Bind software at https://www.isc.org/downloads/.
Download the corresponding version, and then extract the dig program in the directory
You can modify the environment variable so that it can be executed directly under cmd or command-line tools like the command program built into the windows system, instead of jumping to the Bind directory
My computer-Properties-Advanced Features-Environment variable environment variables
Edit the environment variable edit-path
Add the complete Bind software directory at the end, as shown below. The Bind software path must be separated by a semicolon before it can take effect.
% SystemRoot%\ system32;%SystemRoot%;%SystemRoot%\ System32\ Wbem;%SYSTEMROOT%\ System32\ WindowsPowerShell\ v1.0\; E:\ software\ BIND9.11.1.x64
Test dig
Open xshell and execute the command directly