---
title: "Set reverse DNS (rDNS) for your VPS"
url: https://help.endercloud.in/docs/set-reverse-dns-rdns
category: "VPS Hosting"
type: Guide
tags: ["dns", "email", "vps"]
keywords: "ptr record, reverse dns, rdns, mail server, email going to spam, fcrdns, hostname ip lookup, dig -x, nslookup ip, ipv6 rdns, powered-by.endercloud.in, set rdns, reverse dns setup, ptr record setup, mail server rdns, rdns not working, hostname for ip, emails going to spam vps"
difficulty: intermediate
time: "10 minutes"
updated: 2026-11-14
source: Endercloud Knowledge Base (official)
---

# Set reverse DNS (rDNS) for your VPS

> Reverse DNS maps your VPS IP back to a hostname. Mail servers check it. Set it in your VPS's Network section, after creating a matching A record for the hostname.

**Reverse DNS (rDNS)** turns an IP address back into a name, for example `203.0.113.10 → mail.yourdomain.com`. Normal DNS does the opposite. You set rDNS for your VPS IP from the VPS's **Network** section, where available for your location.

## Why it matters

-   **Email:** most mail servers look up the rDNS of the server sending mail. If it is missing, generic, or doesn't match, your emails are often rejected or sent to spam. If you run a mail server, this is a must.
    
-   **Trust and logs:** other servers and tools show the name instead of a bare IP, which looks more professional and is easier to recognise.
    

## Step 1: Create the forward (A) record first

rDNS works best when it matches in both directions. Before setting it, create an **A record** for the name you want, pointing to your VPS IP. For example, in your domain's DNS:

| Type | Name | Value |
| --- | --- | --- |
| A | `mail` | `203.0.113.10` (your VPS IP) |

Wait until the record works: `nslookup mail.yourdomain.com` should return your IP. See [Manage DNS records for your domain](/docs/manage-dns-records-for-your-domain).

## Step 2: Set the rDNS for your IP

| Location | Where to set it |
| --- | --- |
| **India** | Billing panel → **Servers** → **Manage** on your VPS → Server Panel → **Network** tab |
| **Germany** | Billing panel → **Servers** → **Manage** on your VPS → **Manage VPS** tab → **Network**, or [manage.endercloud.in](https://manage.endercloud.in). **IPv4 only**: IPv6 rDNS is not supported. |
| **USA** | Billing panel → **Servers** → **Manage** on your VPS → **Network** tab |

1.  Open the Network section for your VPS.
    
2.  Find your IPv4 address and its reverse DNS / PTR field.
    
3.  Enter the full hostname, for example `mail.yourdomain.com`, and save.
    

If you don't see an rDNS option for your VPS, [open a ticket](https://billing.endercloud.in/tickets/create) with the IP and the hostname you want, and our team will set it for you.

## Step 3: Check that it works

rDNS changes can take from a few minutes to a few hours to show everywhere. Then check from any computer:

```
nslookup 203.0.113.10
```

On Linux or macOS you can also use `dig -x 203.0.113.10 +short`. The answer should be your hostname.

## Tips for mail servers

-   Use the same name in three places: the rDNS, the A record, and the hostname your mail software announces (often called HELO/EHLO).
    
-   Also set up SPF, DKIM and DMARC records for your domain; rDNS alone doesn't guarantee delivery.
    
-   Sending bulk or unsolicited email breaks our [Terms](https://endercloud.in/terms) and can lead to suspension.
    

## Frequently asked questions

**Q: What is my rDNS before I change it?**

A default name set by us. On Germany VPS it is `powered-by.endercloud.in`. Run `nslookup YOUR-IP` to see yours.

**Q: Can I set rDNS for IPv6 on a Germany VPS?**

No, IPv6 reverse DNS is not supported on Germany VPS. Use IPv4 for mail.

**Q: Is rDNS the same as my server's hostname?**

No. The hostname is set inside your operating system; rDNS is set on the network. For mail servers it's best to make them match.
