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 host name, 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 8.8.8.8. PTR record, on the other side, helps to understand that 185.185.185.185 should redirect to domain.tld (where 185.185.185.185 is your hosting IP and domain.tld is your domain name).

How to add a PTR record?

Unlike A record, PTR record should be created on your server’s part. At Hostinger, you can create a PTR record in the Server Management section of your VPS order. 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 (185.185.185.185) and domain (domain.tld), the whole process for you would be the following:

  1. Point domain to your VPS by A record
  2. Wait for the propagation to be completed
  3. 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 185.185.185.185 not exist. If you have added the DNS record recently, allow a few hours for DNS to propagate.

NOTES:

Did this answer your question?