MailSlurp logo

guides

What Is PTR? Reverse DNS, Email Sender Identity, and Why Receivers Care

Learn what a PTR record is, how reverse DNS works, and why PTR matters for email sender identity, spam filtering, and deliverability troubleshooting.

Use with your tools

PTR stands for pointer. A PTR record maps an IP address back to a hostname, which is why it is also called a reverse DNS record. Email providers use this lookup when checking the server that delivered a message.

If a campaign starts bouncing with a reverse-DNS error, check the sending IP rather than adding another record beside your website's DNS entries. PTR is normally managed by the company that controls that IP address.

Quick answer

Forward DNS maps a hostname to an IP address. Reverse DNS starts with the IP address and finds its hostname. For email, the useful check is whether that hostname resolves back to the sending IP.

What PTR means in DNS

PTR stands for pointer record.

It exists in the reverse-DNS side of the DNS system. If you start with an IP address and ask which hostname claims it, the PTR record is the answer you are looking for.

Example:

203.0.113.24 -> mail.example.com

That reverse mapping is what teams usually mean when they say "check the PTR."

PTR vs A vs MX

These records solve different jobs:

Record type Direction What it does
A or AAAA hostname -> IP maps a host to an IP address
MX domain -> mail host tells senders where mail for a domain should go
PTR IP -> hostname tells receivers which hostname claims a sending IP

This is why PTR comes up in deliverability work even though most people do not see it in a normal DNS or mailbox UI.

Why PTR matters for email

PTR is one of the signals that helps a receiver answer:

  • does this sending IP look like real mail infrastructure?
  • does the hostname behind it make sense?
  • does the sender identity look coherent?

A correct PTR does not guarantee inbox placement. Check it alongside:

  • SPF
  • DKIM
  • DMARC
  • Return-Path
  • message headers

When those signals tell a consistent story, delivery gets easier to reason about.

What receivers look for

A forward-confirmed reverse DNS check follows two lookups:

  1. Look up the sending IP's PTR record to get a hostname.
  2. Look up that hostname's A record for IPv4 or AAAA record for IPv6.
  3. Confirm the original sending IP is among the returned addresses.

For example, 203.0.113.24 might point to mail.example.com, and that hostname should resolve back to 203.0.113.24. These are documentation examples, not a live DNS test.

Gmail's sender guidelines require valid forward and reverse DNS for sending IPs. A missing PTR or a hostname that resolves to a different IP can cause rejection; it is more than a cosmetic hostname issue.

The PTR hostname does not have to match the visible From domain. A shared ESP may use its own hostname for the sending IP. Check forward/reverse consistency separately from SPF, DKIM and DMARC alignment.

Who controls the PTR record

This is the part that surprises many teams.

The owner of the IP address block usually controls the PTR record, not the owner of the sending domain.

That means PTR changes are often handled by:

  • your infrastructure provider
  • your cloud vendor
  • your ESP or relay provider
  • the network owner managing the IP range

So when a team says "we set up SPF and DKIM, why is PTR still wrong?" the answer is often that PTR lives with a different owner and workflow.

What PTR does not do

PTR is useful, but teams over-assign magic to it when they are under pressure.

PTR does not:

  • replace SPF
  • replace DKIM
  • satisfy DMARC by itself
  • guarantee inbox placement
  • fix poor content or bad recipient quality

It is one infrastructure trust signal, not the whole sender story.

PTR and Return-Path are different

These two get mixed up constantly.

  • PTR is reverse DNS for the sending IP
  • Return-Path is the envelope sender or bounce address associated with the message

They both influence sender trust, but they live in different parts of the system.

Use:

when you want to see both pieces together.

When teams should care about PTR

New sender infrastructure

If you are onboarding a new relay, SMTP service, or sending IP, PTR should be part of the rollout checklist.

Spam-placement investigations

If messages start drifting into spam and the sender identity looks inconsistent, PTR is one of the fastest infrastructure checks to run.

Warm-up and reputation work

Receiver trust is built from the whole sender posture. PTR belongs in that baseline.

Incident response

PTR helps teams rule out one class of infrastructure problem quickly so they can focus on the next likely cause.

PTR commands you can run right now

If you already have the sending IP, these are the quickest checks:

dig -x 203.0.113.24 +short
nslookup 203.0.113.24
host 203.0.113.24

Then take the returned hostname and confirm forward resolution:

dig mail.example.com +short

If the reverse lookup and the forward lookup tell different stories, the sender path needs cleanup before the next rollout.

A simple PTR validation workflow

  1. Pull the sending IP from the message headers.
  2. Run Reverse DNS lookup.
  3. Confirm the PTR hostname looks expected.
  4. Check that the hostname resolves forward correctly.
  5. Compare that result with SPF, DKIM, DMARC, and Return-Path.

If the PTR result still leaves the sender story unclear, use:

How MailSlurp turns PTR checks into sender proof

MailSlurp helps teams connect PTR checks to the actual message workflow, not just a DNS answer.

Use it to:

After a DNS correction, send again through the same provider and check the receiver's response. A successful DNS lookup and successful message delivery are separate results.

FAQ

What is PTR in simple terms?

PTR is the DNS record that maps an IP address back to a hostname.

Is PTR the same as reverse DNS?

PTR is the record type used by reverse DNS.

Does email need PTR?

Serious sender infrastructure should have a credible PTR setup because receiving systems use it as part of their trust evaluation.

Read DNS PTR record for the practical setup and troubleshooting workflow.