What is a PTR record?
A pointer (PTR) record is a type of Domain Name System (DNS) record that resolves an IP address to a domain or hostname, unlike an A record which points a domain name to an IP address.
Meaning, that A record helps your computer to understand, that when accessing google.com, you should be redirected to 22.214.171.124. PTR record, on the other side, helps to understand that 126.96.36.199 should redirect to domain.tld (where 188.8.131.52 is your hosting IP and domain.tld is your domain name).
How to add a PTR record?
Unlike A record, a PTR record should be created on your server’s part. At Hostinger, you can create a PTR record by opening the VPS dashboard, choosing the server:
Opening the Settings page:
And setting PTR records:
Once PTR records are added you can delete them and add new ones if it’s needed:
It’s worth noting that any DNS Record changes trigger propagation, which can last up to 24 hours to fully propagate.
What are the requirements to set a PTR record?
For PTR record a dedicated IP address is required, so it can be set up on VPS only. A comprehensive guide about PTR records can be found in this article.
Also, you can set reverse DNS on your IP only when the mentioned domain is pointing to the mentioned IP.
So if you have VPS (184.108.40.206) and domain (domain.tld), the whole process for you would be the following:
Point domain to your VPS by A record
Wait for the propagation to be completed
Create a PTR record at your VPS
If you create a PTR record before the domain is pointing to the VPS IP, you will receive an error:
Record domain.tld IN A 220.127.116.11 not exist. If you have added the DNS record recently, allow a few hours for DNS to propagate.