Introduction to dig
It is a tool for querying DNS records, including ns records, a records, MX records and other related information.
What I use here is:
- Hardware: Raspberry pie 4B
- System: Raspberry PI OS (32 bit) with desktop
In the beginning, I used apt get to install it directly, like this
However, the installation is not successful, and the system prompts that the package cannot be located
sudo apt-get updateUpdate, install again
It should be noted here that the dig command is not directly installed, it is included in dnsutils, so we can not install dig, we should directly install dnsutils
Let’s have a try
I have already installed it here
To verify whether the installation is successful, type dig – V
Let’s take a look
Perfect curtain call!!!
Follow me for more