Installing the dig command under Windows system

Source: Internet
Author: User
Tags nameserver nslookup

Dig is a small tool used for DNS query information under Linux, dig full name is Domain information Groper, similar to Nslookup, but more powerful than nslookup function. Windows only nslookup, we use http://members.shaw.ca/nicholas.fong/dig/to change the project provided by Windows version dig, the following steps:

1, download Dig package, is: Http://members.shaw.ca/nicholas.fong/dig/dig-files3.zip

2. Setting

Unzip this package, such as to put all the files in the compressed package into the C:\dig directory, and then edit the c:\dig\resolv.conf file, you need to use the DNS server specified in this file, in the same format as the/etc/resolv.conf under Linux, for example:

NameServer 8.8.8.8
NameServer 8.8.4.4

After saving, copy the file to the%windows%\system32\drivers\etc directory.

3. Setting Environment variables

Windows 7, right-click on "Computer"-"Properties"-"Advanced system Settings"-"Environment variables"-"System variables", find path, point "edit", at the end of the add; C:\dig OK.
This completes both installation.

CMD run: Dig--help to see the Help menu
Dig www.vpser.net operation results are as follows:

Reference article: http://blog.licess.com/windows-dig/

Installing the dig command under Windows system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.