---
title: "How to Set Reverse DNS (PTR) for Your IPv4 · CloudSat docs"
description: "Set, check and clear the PTR record of a CloudSat server's IPv4 from the Networking tab, so mail servers and logs see a matching hostname."
url: https://cloudsat.io/docs/reverse-dns
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

# Set reverse DNS for your IPv4

Set, check and clear the PTR record of a CloudSat server's IPv4 from the Networking tab, so mail servers and logs see a matching hostname.

CloudSat team Updated Nov 18, 2026 3 min read

Reverse DNS maps an IP address back to a hostname through a PTR record. Receiving mail servers check it, and a meaningful name makes logs and traceroutes easier to read. You set it yourself for the IPv4 address of each server, from the console.

## Before you start

Create the forward record first: an `A` record for the name you want (for example `mail.example.com`) that points at the server's IPv4. The console does not check it, but mail servers compare both directions and distrust a PTR whose name does not resolve back to the same address.

## Set the PTR record

1. Click **Servers** in the sidebar and open the server.
2. Open the **Networking** tab. The **Addresses and reverse DNS** card shows the current value next to **Reverse DNS** (**not set** on a new server).
3. In the field **PTR record for** followed by your IPv4, type the full hostname, for example `mail.example.com`.
4. Click **Save reverse DNS**. The console answers "Reverse DNS update requested."
5. The change runs as a **Set reverse DNS** action. Follow it in the server's **Activity** tab: when its status is **Done**, the new name appears next to **Reverse DNS**.

The button stays disabled until the server has an IPv4, which happens when the deploy is finished.

## Check the result

From any computer, look up the address, then the name:

```bash
dig -x 203.0.113.10 +short
dig +short mail.example.com A
```

The first command should print `mail.example.com.` and the second the same IPv4. DNS resolvers cache answers, so an old value can show up for a while after the change.

## Change or remove the record

- To change it, type the new hostname and click **Save reverse DNS** again.
- To remove it, empty the field and save. The **Reverse DNS** row goes back to **not set**.

Each change is recorded on your account **Activity** page as "Reverse DNS changed", with the new name or "cleared".

## What the console accepts

- A hostname made of letters, digits, hyphens and dots, such as `mail.example.com` or `vpn-01.example.net`, up to 253 characters.
- Capital letters are turned to lowercase, and a trailing dot is removed.
- Underscores, spaces and URLs are refused with "Enter a valid hostname, for example mail.example.com."

## IPv6 and other addresses

The form sets reverse DNS for the server's main IPv4 only. There is no field for the IPv6 address or for a floating IP. If you need a PTR record on one of those, open a ticket from **Support** with the category **Network or IP**, and give the address and the hostname you want. Until the IPv6 side matches, configure mail software to send over IPv4 only.

## Tips

- Use one name everywhere: the PTR record, the `A` record, the server's hostname and the name your mail server announces when it connects (for Postfix, the `myhostname` setting).
- Rebuilding a server keeps its IP addresses and its reverse DNS record. Deleting a server releases its addresses back to the pool, so the record stops being yours.
- Reverse DNS is one part of mail deliverability. SPF, DKIM and DMARC records matter as much: see [Send email from your server](https://cloudsat.io/docs/sending-email).
- Where the addresses are and how they behave: [Your server IPv4 and IPv6 addresses](https://cloudsat.io/docs/ip-addresses).

- [Your server IPv4 and IPv6 addresses](https://cloudsat.io/docs/ip-addresses): Previous Your server IPv4 and IPv6 addresses
- [Reserve and assign floating IPs](https://cloudsat.io/docs/floating-ips): Next Reserve and assign floating IPs
