Reverse DNS record (PTR)
What PTR is, why mail and logs need it, how to set it in the machine panel, and how to check that the record has applied.
Updated August 23, 2026
A regular DNS record translates a name into an address. A reverse record, PTR, does the opposite: it returns a name from an address. Only the owner of the address can set it, so it lives not in your DNS zone but in the machine's control panel.
Where to set it
The “Access” tab in the control panel at /hosting/vds/m/<id>, the reverse address record (PTR) block. Enter the fully qualified domain name — for example, mail.example.com — and save. Changes don't propagate through DNS instantly: usually from a few minutes to an hour.
The name must be real: a forward A record pointing back to your machine's address must exist for it. The pair “A points to the address, PTR points to the name” is called forward-confirmed reverse DNS, and that's exactly what mail recipients check.
Why you need it
- Email. Almost all major mail systems reject or mark as spam emails from an address without a PTR, or with a PTR that doesn't match the forward record. This is the first thing they check.
- Logs and reports. Third-party servers will write your name in their logs instead of bare numbers, and investigating incidents becomes easier.
- Service trust. Some APIs and IRC networks restrict clients without a correct reverse record.
For a regular website, PTR is not required, but it doesn't hurt either.
Verification
dig -x <address> +short
host <address>
dig mail.example.com A +short
The first two commands should return the name you set, the third — your machine's address. If the results don't match, there's no correspondence and your email will keep landing in spam.
It's also worth tidying up the machine's own name:
hostnamectl set-hostname mail.example.com
hostname -f
Many mail servers identify themselves in the HELO command with the system hostname, and it must match the PTR as well.
Common mistakes
| Mistake | What happens | Solution |
|---|---|---|
| PTR is set, but there's no A record | The match check fails | Create an A record for the machine's address |
| An address is entered in the PTR instead of a name | The record is meaningless | Enter the fully qualified domain name |
| Checking immediately after saving | The old value is still in the cache | Wait and repeat dig -x |
| The system hostname is different | HELO doesn't match the PTR | hostnamectl set-hostname |
A PTR alone is not enough for email delivery. You also need SPF, DKIM, and DMARC in your zone — read about record types in DNS without magic.
Remember: the address is tied to the machine, and when you delete it, it returns to the shared pool along with the reverse record. You can't order a second address, so one machine means one name in PTR.