Tag: PTR record

Testing Reverse DNS with Dig commandTesting Reverse DNS with Dig command

Testing if you have properly set a Reverse DNS zone and PTR records inside it is a straightforward task with the built-in tool Dig command. You can see if the IP address matches the domain name with a simple DNS lookup. So let’s get into it.

​What do we need?

  • Linux computer, or a Mac with Homebrew and Dig command installed.
  • The built-in tool that is called Dig command.
  • The IP address that you want to check.

​What is the Dig command?

The Dig command is a built-in command that you can find on any Linux distribution and serves for various DNS lookups, including a Reverse DNS lookup.

How does the Dig command work?


DNS record types for your Reverse DNS zoneDNS record types for your Reverse DNS zone

Here is a list of the different DNS record types you could add to your Reverse DNS zone. 

PTR record

The PTR record, or also known as a pointer record, has a very precise and important function. Its goal is to link the IP address to the domain name. In addition, there is a piece of good news, and it is able to perform successfully both with IPv4 addresses and IPv6 addresses. Moreover, this type of DNS record is an essential piece required for you to have Reverse DNS. It is able to exist only in the Reverse DNS zone. So, it would be best if you did not place it in the Forward DNS zone.

Learn how to configure your PTR record!


Getting familiar with rDNSGetting familiar with rDNS

What does rDNS mean?

Reverse DNS, or simply for short rDNS, is a service normally included in your managed DNS plan. With it, you are able to perform reverse DNS lookups. For that purpose, it allows you to make a Reverse DNS zone and add inside it multiple PTR records. They serve you to prove that the IP addresses are associated with the domain name.

Why is rDNS important?