mail.yourdomain.com. This guide shows you how to set it for your HostCloud VPS.
Why it matters
Normal DNS answers “what IP address isyourdomain.com?”. Reverse DNS answers the opposite: “what name belongs to this IP address?”. That answer is stored in a PTR record.
Many email providers check it. If your VPS sends email and its IP address has no matching reverse DNS, your messages are more likely to land in spam or be rejected.
You only need this if your VPS sends email, or if software you run asks for it.
Before you start
Set up the normal DNS record first. The name you choose, for examplemail.yourdomain.com, must have an A record pointing to your VPS’s IP address. Many mail servers only trust reverse DNS when both directions match. See Add DNS records.
Set the PTR record
1
Open your VPS
In the Client Area, click Services in the top menu, then open your VPS.
2
Open the Network tab
Click the Network tab. It lists your server’s IP addresses with their version (v4 or v6), type and Reverse DNS (PTR).
3
Edit the reverse DNS
On the IP address’s row, click the pencil icon next to the current reverse DNS name.
4
Enter the hostname and save
Type the full hostname, for example
mail.yourdomain.com, and save it.
Check it worked
On your computer, run one of these, using your VPS’s IP address in place of203.0.113.10:
The answer should be the hostname you entered.
Still stuck? Open a ticket with your server’s IP address and the hostname you want.