Global PTR Record – Setup Guide for Entire Server

digital-oceanemailptr-record

Digital Ocean droplet running CentOS 7 with Plesk Panel installed.

Trying to improve the email deliverability and overall state of the mail server.

Want to set up a PTR record and apply this to the DNS template so that it can be applied to all domains hosted on the server.

Setting up PTR records in Plesk

Not entirely sure what I should be using to set up this record.

  1. The droplet (server IP) is provided by Digital Ocean.

  2. We do not use Digital Ocean's DNS for the domains hosted however.

  3. We use custom nameservers that we host on another server, the root domain and GLUE records are registered via Namecheap. (Example: ns1.example.com, ns2.example.com).

  4. The server's hostname is a sub-domain on the same domain as our custom nameservers. (Example: vps-01.example.com).

If I need to contact a provider to ask about the correct details to be using for the PTR record, who is it that I need to contact? Or can I source the information myself based on our set up?

Please note: This is not a question about Plesk but specifically to do with the format and set up/provision of PTR DNS record.

Best Answer

PTR records for reverse lookups don't go in your domain's DNS zone. Instead, they must go into the reverse zone that IP is delegated to. In case of a single DO machine without its own netblock, that will be DOs DNS server. They should provide some kind of interface to do this.

Related Topic