

Once you’ve installed dnsutils, run the dig -v command again to verify dig’s installation. To install dnsutils on Linux using apt-get, run the following commands: sudo apt-get update If the command returns anything other than dig’s version information, you may need to install dnsutils. Run the dig -v command to verify dig’s installation. If the command returns anything other than version information, verify your path variable configuration.ĭig is usually installed by default on Linux systems and you can accessed it from the command line with no additional installation. dig should return version information about itself. Once you’ve added the path variable, open a new Command Prompt window and verify dig’s installation by running the dig -v command. In the System properties window, click OK.

In the Edit environment variable screen, click New and enter the new path C:\Program Files\ISC BIND 9\bin (or C:\Program Files (x86)\ISC BIND 9 if you are using an x86 architecture). Under System Variables, select the Path variable and then click Edit. In the Advanced tab, click Environment Variables. To add the path to your system, open the Windows Control Panel and then open your System Properties. Once you’ve installed BIND 9, you need to add BIND to your system’s paths to make dig available from the command line. On the BIND 9 Installer screen, verify that the target directory is set to C:\Program Files\ISC BIND 9 (or C:\Program Files (x86)\ISC BIND 9 if you are using an x86 architecture) and select the Tools Only check box.

Extract the downloaded file and double-click the BINDinstall icon in the newly created directory. To install dig for Windows, go to BIND’s website and download the most current version of BIND 9.
