February 9, 2026 8 min read

What Is a PTR Record and Do I Need One for Email?

A PTR record (pointer record or reverse DNS) maps an IP address back to a hostname. Yes, you need one if you send email from a dedicated IP. Mailbox providers check PTR records to verify that your sending IP has legitimate reverse DNS pointing to a real hostname. Missing or misconfigured PTR records can cause emails to be rejected or filtered to spam.

How PTR Records Work

DNS typically works forward: you query a hostname (like mail.example.com) and get an IP address (like 192.0.2.1). PTR records work in reverse: you query an IP address and get a hostname.

Forward DNS (A record): mail.example.com → 192.0.2.1

Reverse DNS (PTR record): 192.0.2.1 → mail.example.com

This reverse lookup lets receiving mail servers verify that the IP address connecting to them has a legitimate hostname identity.

Why PTR Records Matter for Email

Mailbox providers use PTR records as a basic spam check. Legitimate email senders typically:

Spammers often send from dynamic IPs, compromised computers, or servers without proper reverse DNS. Checking PTR records helps filter out these sources.

What Happens Without a PTR Record

If your sending IP lacks a PTR record:

PTR Record Best Practices

Match Forward and Reverse DNS

Your PTR record hostname should resolve back to your IP address. This is called Forward-Confirmed reverse DNS (FCrDNS).

Example of proper configuration:

Both directions match, confirming the relationship.

Use a Meaningful Hostname

The hostname in your PTR record should look legitimate:

Avoid hostnames that look automatically generated or unrelated to your domain.

One IP, One PTR

Each IP address should have exactly one PTR record. Multiple PTR records for the same IP can cause unpredictable lookup results.

How to Set Up a PTR Record

PTR records are different from regular DNS records. You cannot add them through your domain registrar or standard DNS provider.

Who Controls PTR Records

The organization that owns the IP address controls its PTR record. This is typically:

Setup Process

  1. Identify who controls your sending IP address
  2. Contact their support or find their reverse DNS settings
  3. Request or configure the PTR record to point to your hostname
  4. Ensure your forward DNS (A record) matches
  5. Verify the configuration using lookup tools

Common Provider Instructions

AWS EC2: Request reverse DNS through the EC2 console or AWS support. Requires Elastic IP.

Google Cloud: Set PTR records for Compute Engine instances through the console.

DigitalOcean: PTR records are set automatically based on droplet name when using their DNS.

Checking Your PTR Record

Verify your PTR record configuration using these methods:

Command Line

On Linux or Mac, use the dig command:

dig -x 192.0.2.1

Or use nslookup:

nslookup 192.0.2.1

Online Tools

MXToolbox and similar services offer reverse DNS lookup tools. Enter your IP address to see the PTR record and verify it resolves correctly.

PTR Records and Shared IPs

If you send email through an email service provider using shared IPs, they handle PTR records for you. The PTR record will point to their hostname, not yours.

This is normal and expected. Receiving servers understand that shared infrastructure uses the provider's hostnames. Your domain reputation is established through authentication (SPF, DKIM, DMARC) rather than PTR records.

You only need to worry about PTR records when:

Troubleshooting PTR Issues

No PTR Record Found

Contact your IP provider to set up reverse DNS. This is the most common issue and usually requires a support ticket or configuration change with whoever assigned your IP.

PTR Does Not Match Forward DNS

Ensure the hostname in your PTR record has an A record pointing back to the same IP. Both lookups must be consistent.

Generic or ISP Hostname

If your PTR shows something like "192-0-2-1.isp.com", you have default ISP reverse DNS. Request a custom PTR record for your sending hostname.

Multiple PTR Records

If multiple PTR records exist for your IP, receiving servers may get inconsistent results. Remove duplicates so only one PTR record exists.

Frequently Asked Questions

What is a PTR record?
A PTR record (pointer record) is a type of DNS record that maps an IP address to a hostname. This is the reverse of an A record, which maps a hostname to an IP. PTR records are also called reverse DNS or rDNS.
Do I need a PTR record to send email?
Yes, if you send from a dedicated IP address. Many mailbox providers check PTR records and may reject or spam-filter email from IPs without proper reverse DNS. If you use shared IPs from an email platform, they manage PTR records for you.
How do I set up a PTR record?
PTR records are controlled by whoever owns the IP address, usually your hosting provider, cloud provider, or ISP. Contact them to set up reverse DNS pointing to your mail server hostname. You cannot add PTR records through your regular domain DNS provider.
What should my PTR record say?
Your PTR record should return a meaningful hostname like mail.yourdomain.com or smtp.yourdomain.com. That hostname should have an A record pointing back to the same IP address, creating Forward-Confirmed reverse DNS.
Is PTR the same as reverse DNS?
Yes, PTR records are reverse DNS. The terms are used interchangeably. PTR is the technical DNS record type name; reverse DNS describes the function of mapping IPs back to hostnames.

Ready to Improve Your Email Deliverability?

SortedIQ helps high-volume senders maximize inbox placement and sender reputation.

Talk to Our Team