Key takeaways
- Point an A record for your mail hostname (for example mail.example.com) at the VPS IP.
- Then, in hPanel, set the PTR on that IP to the same hostname.
- Check both directions with dig before you send any mail.
On Hostinger, a PTR record (reverse DNS) is set in hPanel on a VPS, against the server's IP address. It maps that IP back to a hostname, so the mail server's identity can be checked. Hostinger's guide covers VPS servers only, and it needs an A record pointing your domain at the VPS first. If your mail runs through Hostinger's email hosting rather than your own server, this article does not apply to that service.
Research checked: 12 November 2026
Source: Hostinger, how to set up reverse DNS on a VPS. Research checked 12 November 2026.
The short answer
Point an A record for your mail hostname (for example `mail.example.com`) at the VPS IP. Then, in hPanel, set the PTR on that IP to the same hostname. Check both directions with `dig` before you send any mail.
Before you start
Hostinger's guide says your domain must already point to the VPS with an A record, and that you can find the VPS IP at the top of the "VPS information" tab. If you changed any records, wait up to 24 hours. Make the A record and the PTR in the same change window, so you can test both together. Check where the zone is managed: if the domain uses Hostinger nameservers, the A record goes in hPanel; if it uses other nameservers, it goes at that provider.
Set the PTR in hPanel
- In hPanel, open the VPS section and select your server.
- Open Settings.
- Go to the IP address tab.
- Click Set PTR record next to the IPv4 (or IPv6) address you use for mail.
- In the pop-up, enter the PTR record name. Use the mail hostname, for example `mail.example.com`, then click Save.
To change it later, use Delete in the same section and set a new record. Hostinger says propagation must complete before the record is active, but it does not give a time for the PTR itself, so test rather than assume.
Verify both directions
Use the documentation IP `203.0.113.10` as a stand-in for your VPS address.
``` dig -x 203.0.113.10 +short # expected: mail.example.com.
dig A mail.example.com +short # expected: 203.0.113.10 ```
Both answers must match. A PTR that points to a hostname which resolves to a different IP is treated as a mismatch by many receivers. If the first command returns nothing, the PTR is not live yet or was set on the wrong IP. Repeat both checks from a second network before you rely on them.
What to do next
Set your mail server's HELO or EHLO name to the same `mail.example.com` hostname. A HELO name that differs from the PTR gives receivers two different identities for the same server. Keep the hostname stable; changing it means setting the PTR again and repeating the checks.
If your VPS also has an IPv6 address and mail leaves over it, set a PTR for that address too. Hostinger's guide puts the IPv4 and IPv6 options in the same IP address tab, so repeat the steps for the IPv6 address and test it with `dig -x <ipv6-address> +short`. Confirm which address your sending tool actually uses, rather than assuming one is covered by the other.
Write the date and the hostname in a short note when you set the record. If you ever see a mismatch, that note tells you what the record was supposed to be, which is the first thing to compare against.