Skip to main content
Reverse DNS turns your server’s IP address back into a name, such as mail.yourdomain.com. This guide shows you how to set it for your HostCloud VPS.

Why it matters

Normal DNS answers “what IP address is yourdomain.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 example mail.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.
The Network tab of the VPS panel, listing IP addresses with Version, Type and Reverse DNS (PTR) columns and a pencil icon to edit
The change can take a few minutes to show up.

Check it worked

On your computer, run one of these, using your VPS’s IP address in place of 203.0.113.10: The answer should be the hostname you entered.
If your server has more than one IP address, set reverse DNS for each one that sends email.
Still stuck? Open a ticket with your server’s IP address and the hostname you want.