A reverse DNS record, or PTR, maps an IP address back to a host name. Receiving mail servers check it before they accept a message, and logs and traceroutes are much easier to read when it is set. You manage the PTR of every address we assign to you, IPv4 and IPv6 alike.
1. Create the forward record first
At your DNS provider, create an A record for the host name, and an AAAA record for IPv6, pointing to the address of the server:
mail.example.com. 3600 IN A 203.0.113.10
mail.example.com. 3600 IN AAAA 2001:db8:4a1:20::10
We accept a PTR only when its host name resolves back to the same address. Receiving mail servers run the same check, which is called forward-confirmed reverse DNS, so this step also saves you a delivery problem later.
2. Set the PTR
On the Network tab of your server, every address has a Reverse DNS field. Enter the host name and save. For IPv6, add the individual addresses you actually use, one per line: a /56 contains far more addresses than anyone could list, and only the ones you enter receive a record.
The change reaches our name servers within a minute. Resolvers that cached the previous answer keep it until its time to live runs out, which is one hour on our zones.
3. Check it
dig -x 203.0.113.10 +short
# mail.example.com.
dig mail.example.com A +short
# 203.0.113.10
Both answers must match. On a mail server, the name it announces when it greets other servers (myhostname in Postfix, primary_hostname in Exim) should be the same host name.
Addresses moved to another server
Additional addresses and blocks can be moved from the client area to another of your servers at the same site. Their PTR records move with them, so update them if the new server answers to a different name.