LightYear
/Docs
DocsNetworkingConfigure Reverse DNS (PTR Records)

Configure Reverse DNS (PTR Records)

Set a custom reverse DNS record for your server's IP address to improve email deliverability and server identity.

beginner
3 min read
LightYear Team
Updated April 24, 2026
dnsrdnsptremail
Ready to get started?

What Is Reverse DNS?

A PTR record maps an IP address back to a hostname. Many mail servers reject email from IPs without a matching PTR record.

Setting a PTR Record

  1. Go to Servers → [Your Server] → Settings.
  2. Under Reverse DNS, enter your desired hostname, e.g. mail.example.com.
  3. Click Save.

Changes propagate within 5–15 minutes.

Verifying the PTR Record

>_BASH
$# Linux / macOS
$dig -x <YOUR_IP> +short
$
$# Windows
$nslookup <YOUR_IP>

Expected output: mail.example.com.

Requirements

  • The hostname must have a forward DNS A record pointing to the same IP.
  • PTR records are per-IP; each IP can have one PTR record.

Email Deliverability Checklist

CheckTool
PTR record setdig -x <IP>
SPF recorddig TXT example.com
DKIM configuredMail server logs
Not on blocklistsMXToolbox

Was this article helpful?

Your cookie choices for this website

This site uses cookies and related technologies, as described in our privacy policy, for purposes that may include site operation, analytics, and enhanced user experience. You may choose to consent to our use of these technologies, or manage your own preferences. Cookie policy