How to perform Reverse DNS lookup in Linux?

Reverse DNS lookup is another interesting topic that is not often discussed. As a Linux user, you have several different options to perform it. So, let’s talk a little bit more about it and how you can do it.

Reverse DNS – What is it? 

Reverse DNS or rDNS is a very beneficial service that supplies Reverse DNS zones for your domain name. The Reverse DNS zones are required for storing PTR records which are utilized for verification purposes. For instance, to check the IP address and if it points to the proper hostname.

What is the Linux Dig command?

Get ready to learn about a built-in utility tool that you can find on most Linux distros and use for domain probing. The tool is called Dig.

What is the Dig command?

Dig command is a built-in Linux command that you can access through the Terminal application and perform DNS queries. The full name is Domain Information Groper. You can troubleshoot your domain, get all kinds of information about it, including DNS records, name servers, and general network data. What is awesome about it is that it has more functionality than some other built-in tools like nslookup, and it is very easy to use. This is why many network administrators are using it daily, despite its basic command-line interface. 

If you are interested in Dig commands we recommend you to look at this article – 10 most used Dig commands!