We can install bind tool on windows 10. we also knew it as a dig tool install on windows. you don’t need to start any service to use this tool. so
Domain Information Groper, commonly known as dig is a command-line tool to get the DNS information about a domain name that is most popular in Linux and better DNS tool than windows NSLookup.
How To Install Bind Tool On Windows 10 / 8:
This is a free and open-source utility available for Windows machines. You need to download the tool from here and install it. Let’s see, how to install the dig tool in windows 10.
Once you have extracted the Zip file and now run the BindInstall with administrator rights.
Select “Tool only” and click on “Install“. if you want to set the Service account password, you can do that as well.
Install the required package “Microsoft Visual C++ 2017” if it’s not installed.
Once you click on “Install“, it will start installing it.
You will see a message “Bind installed successfully“.
Add dig path to windows variables:
Navigate to the installed location of the bind in your windows machine as shown below in the figure. you must be seeing the bind.exe file.
Copy the path and open the settings and type “path” where you have to open the “System environmental variables“.
You have to click on “environmental variables” and then “system variables“.
Click on Edit and give the path of the bind till bin directory and save it.
This is installed now. we can run the dig command, you can either use "PowerShell" or "cmd".
Basic Dig Query Commands:
I will show you a few basic dig command examples. I have found the IP address V4of a website using the dig command as you can see.
You can find IP v6 Address using dig curiousviral.com AAA
We can also specify the nameserver using dig A curiousviral.com @220.127.116.11
Find the looks up MX record using dig MX curiousviral.com
With “-x” options perform the reverse lookup when you specify the IP address.
dig -x 18.104.22.168
That’s it. so