The nslookup parsing command tools under Windows are already familiar. In addition, on Linux or UNIX, the Dig command tool is more dominant in parsing.
Under the main instructions below, dig how to install and use the Dig Command tool under Windows.
Dig's execution program is in the BIND software package, the first to download the Bind software, https://www.isc.org/downloads/
650) this.width=650; "title=" image "style=" Background-image:none; "border=" 0 "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m01/98/63/wkiom1k7pj7tzrv_aaecrykdvnm086.png "height=" 439 "/>
Download the corresponding version, then unzip the dig program under the directory
650) this.width=650; "title=" image "style=" Background-image:none; "border=" 0 "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m00/98/64/wkiol1k7pkdsxdezaagbxtaq7v8883.png "height=" 341 "/>
The environment variable can be modified so that it can be executed directly under CMD or command-line tools, just like a command program built into the Windows system, without having to jump to the bind directory
My Computer-Properties-advanced features-environment variables environment variables
650) this.width=650; "title=" image "style=" Background-image:none; "border=" 0 "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m01/98/63/wkiom1k7pkhbgjeuaaee23andb0737.png "height=" 418 "/>
Edit environment variable Edit-path
650) this.width=650; "title=" image "style=" Background-image:none; "border=" 0 "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m01/98/64/wkiol1k7pktypty0aaf2cf4iyog707.png "height=" 538 "/>
In the end, add the complete bind software directory, as below, before and after the bind software path is separated by semicolons to take effect
%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot%\system32\windowspowershell\v1.0\ ; E:\software\BIND9.11.1.x64;
Test dig
Open Xshell, execute command directly
650) this.width=650; "title=" image "style=" Background-image:none; "border=" 0 "alt=" image "src=" http://s3.51cto.com/ Wyfs02/m00/98/63/wkiom1k7pkbjilsjaaez53d1rqm600.png "height=" 314 "/>
Windows dig Domain name resolution tool installation and use