How to install DIG dns tool on windows 10(如何在win10上安装dig)

This guide explains how to install dig dns tool on windows 10 in few steps. It is just a little bit modified How to install DIG dns tool on windows 7 guide.

 

1. First go to http://www.isc.org/downloads and look for BIND, click on download button

 

How to install DIG dns tool on windows 10(如何在win10上安装dig)

 

2. and choose right version, for my windows I'm downloading win - 64bit version

How to install DIG dns tool on windows 10(如何在win10上安装dig)

 

3. when we sucesfully downloaded the archive file, extract the zipfile content to a temporary directory on your workstation.

4. go into this directory and run as Administrator "BINDInstall.exe", then choose the "Tools only" option and target directory where to install dig, I had choosen c:\Program Files\dig 

How to install DIG dns tool on windows 10(如何在win10上安装dig)

 

5. Next add the path of the dig folder (c:\Program Files\dig\bin) to the system PATHS variable. We should do it following way:

within win 10 search box type environment variables

How to install DIG dns tool on windows 10(如何在win10上安装dig)

 

Then choose "Edit the system environment variable" and type admin passwd if needed. Following box will open. There is a button Environment Variables, click on it and

How to install DIG dns tool on windows 10(如何在win10上安装dig)

 

 add the path

How to install DIG dns tool on windows 10(如何在win10上安装dig)

How to install DIG dns tool on windows 10(如何在win10上安装dig)

Close all dialogs.

 

6. Now we should be able to run dig tool directly from the command line typing

dig

however an error dialog will open saying MSVCR110.dll is missing.

NOTE 24.10.2016: Within this step the dig tools should already work. MS Visual C++ redistributable should be already installed, if not...follow next steps

How to install DIG dns tool on windows 10(如何在win10上安装dig)

 

the dll is

MSVCR110.dll is the Microsoft Visual C++ Redistributable dll that is needed for projects built with Visual Studio 2011. The dll letters spell this out. MS = Microsoft, V = Visual, C = C++, R = Redistributable. For Winroy to get started, this file is probably needed. This error appears when you wish to run a software which require the Microsoft Visual C++ Redistributable 2012. The redistributable can easily be downloaded on the Microsoft website as x86 or x64 edition. Depending on the software you wish to install you need to install either the 32 bit or the 64 bit version. Refer the following link:         Visual C++ Redistributable for Visual Studio 2012 Update 4

          https://www.microsoft.com/en-us/download/details.aspx?id=30679

so download mentioned update and install it. (note: download and installing Visual Studio 2015 from the link: https://www.microsoft.com/en-us/download/details.aspx?id=48145 did not work )

 

How to install DIG dns tool on windows 10(如何在win10上安装dig)

How to install DIG dns tool on windows 10(如何在win10上安装dig)

7. Now it works!

How to install DIG dns tool on windows 10(如何在win10上安装dig)

Groups:

镜像站点:
ftp://ftp.nominum.com/pub/isc/bind9/
选择版本 9.9.7,如下图:

How to install DIG dns tool on windows 10(如何在win10上安装dig)