Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install dig command under window

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Dig is a tool for DNS query information under Linux, the full name is Domain Information Groper, similar to nslookup, but more powerful than nslookup. There is only nslookup under Windows. If you also want to use the dig command, you have to install it yourself.

As part of bind, the official website of dig is as follows:

Http://www.bind9.net/download

Let's talk about the steps and how to install it.

Select a mirror site and click to enter, for example:

Ftp://ftp.nominum.com/pub/isc/bind9/

Select the latest version 9.9.7, as shown below:

If it is 64 bits, the download address is as follows:

Ftp://ftp.nominum.com/pub/isc/bind9/9.9.7/BIND9.9.7.x64.zip

If it is 32 bits, the download address is as follows:

Ftp://ftp.nominum.com/pub/isc/bind9/9.9.7/BIND9.9.7.x86.zip

Here, take the installation under Windows 7 64-bit as an example, extract BIND9.9.7.x64.zip, and double-click vcredist_x64.exe (if it is 32-bit, the file name is vcredist_x86.exe) to install Microsoft Visual C++ 2012 Redistribution.

Then copy all the dll files to the C:\ Windows\ System32\ directory. As shown in the following figure:

Then copy dig.exe to the C:\ Windows\ System32\ directory as well.

At this point, the installation is complete.

Open cmd and verify it. As shown in the following figure:

If you want to use Google Public DNS for dig queries, you need to add a file named resolv.conf in the C:\ Windows\ System32\ drivers\ etc\ directory.

The contents are as follows:

Nameserver 8.8.8.8

Nameserver 8.8.4.4

The query results are shown in the following figure:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report