dig
dig
command stands for Domain Information Groper. It is used for retrieving information about DNS name servers. It is mostly used by network administrators for verifying and troubleshooting DNS problems and to perform DNS lookups. It replaces older tools such as nslookup
and the host
.
It has the following syntax: $ dig [server] [name] [type]
e.g. $ dig roadmap.sh
Visit the following resources to learn more: