Set reverse DNS (PTR) for your VPS IP
- 20.02.2026 00:57
-
- dns
- domain
- vps
Reverse DNS (rDNS / PTR record) maps an IP address back to a hostname (for example: 203.0.113.10 → mail.example.com). It is especially important if you send email from your VPS – many mail systems check that your IP has valid reverse DNS.
How reverse DNS should look (best practice)
For best deliverability, set up FCrDNS (forward-confirmed reverse DNS):
- PTR: your IP resolves to a hostname (example
mail.example.com) - A record: that hostname resolves back to the same IP
Step 1: Choose the PTR hostname
Typical choice is mail.yourdomain.tld or vps.yourdomain.tld. The hostname must be a fully qualified domain name (FQDN).
Step 2: Create the matching A record
Create an A record in your DNS zone:
- Name:
mail - Type: A
- Value: your VPS public IP
Step 3: Request PTR (reverse DNS) for your VPS IP
Reverse DNS is configured at the IP provider level. To set it for a GARMTECH VPS:
- Open My.GARMTECH → your VPS service.
- Copy the IP address that needs PTR.
- Create a support request and provide:
- IP address
- desired PTR hostname (FQDN)
Step 4: Verify
After PTR is set, you can verify from any Linux/macOS terminal:
dig -x 203.0.113.10 +short
And verify forward DNS:
dig mail.example.com +short
Related Articles
Comments
Add Comment