How to Configure Reverse DNS for BIND in KVM VPS (WHM)

How to Configure Reverse DNS for BIND in KVM VPS (WHM)

In the following article, we are going to discuss that how we can add Reverse DNS for BIND in KVM VPS (WHM).

Reverse DNS uses pointer records (PTR) to convert IP addresses to domain names. Forward DNS uses A records to convert domain names to IP addresses.

System requirements
PTR records require authoritative DNS nameservers before they can function properly. So make sure that they are set correctly before setting up PTR records.

To find the authoritative DNS nameservers of your server’s main IP address, trace the Start Of Authority (SOA). To do this, run the appropriate command.

Add the reverse DNS zone.

Login to WHM using root password then navigate to WHM’s Add a DNS Zone interface (WHM >> Home >> DNS Functions >> Add a DNS Zone) and enter the following information:

Your server’s IP address in the Ip text box.
The reverse DNS zone’s name in the Domain text box.

After you create your zone file, create each PTR record in WHM’s Edit DNS Zone interface (WHM >> Home >> DNS Functions >> Edit DNS Zone).

After your domain’s DNS information propagates, confirm that you properly configured reverse DNS.