How to install dig on Kali Linux

infosecboy
Apr 13, 2021

--

You must install dnsutils if you need to get information from DNS name servers

apt-get install dnsutils (run as root user else write below code)

sudo apt install dnsutils

Now let’s check dig -h

How do I use dig command?

The syntax is:
dig Hostname
dig DomaiNameHere
dig @DNS-server-name Hostname
dig @DNS-server-name IPAddress
dig @DNS-server-name Hostname|IPAddress type

dig google.com

--

--