Skip to content
Português

Reverse DNS (rDNS)

Regular DNS links a name to an IP address. Reverse DNS, also called a PTR record, links an IP address to a name. It is especially important for mail servers, but it doesn’t guarantee that your messages will reach the inbox.

Where you manage the domain’s DNS, create one of these records:

Type Name Target
A mail.yourdomain.com The VPS’s IPv4 address
AAAA mail.yourdomain.com The VPS’s IPv6 address, if you will use it

Wait for the change to spread across the internet. The name must point to the IP address before you continue. On Linux or macOS, check it with:

Terminal window
dig +short A mail.yourdomain.com

For IPv6, replace A with AAAA. On Windows, you can use nslookup mail.yourdomain.com. The result should show the VPS’s IP address.

Use the option shown on your service page. It depends on your VPS.

Illustrative sketch. Your screen may differ depending on your plan.
  1. Enter the name next to the IP address.
  2. Click Save. To remove the record, clear the name and save.
  3. For IPv6, use + Add host PTR to choose an address from the subnet.

Configurar DNS Reverso means “Set up reverse DNS”. This button may appear in the sidebar for services in Canada and Europe. Its window is only available in Portuguese.

Illustrative sketch. Your screen may differ depending on your plan.
  1. Enter the name in DNS Reverso (Hostname), without http://.
  2. Click Confirmar (confirm).
  3. To remove the record, click Apagar (delete).

Reverso Atual means “current reverse DNS”, and Cancelar means “cancel”.

If you see this tab, click Add Reverse DNS, choose the IP address, enter the name and save.

  • The name doesn’t point to the IP address yet: check the DNS record and wait a little longer.
  • The name is invalid: use a full name, such as mail.yourdomain.com.
  • You don’t see the option: contact support and include the IP address and the name you want.