Facebook tracking pixel

MailGenius

What Is a PTR Record? Reverse DNS and Email Trust

A PTR record maps an IP address back to a hostname, the reverse of an A record. Point the lookup at 203.0.113.10 and the answer can be mail.example.com, while an A record for mail.example.com points the other way, from the name to the address.

Here's the question that exposes the gap: if reverse DNS affects whether your mail is trusted, why is it the one DNS record you probably can't edit in your own registrar's control panel?

Senders often verify SPF, watch DKIM alignment, and call their DNS setup finished. The reverse zone sits outside that work completely. It belongs to whoever holds the IP address block, which is usually your host, your ISP or a cloud provider, and that split ownership explains most of the confusion. Teams spend hours editing the wrong zone and then wonder why nothing changed.

This is the practical answer to what is a PTR record, written for people who have never opened a zone file. What the record does, how a lookup gets built, why receiving servers check it, who to ask when it's wrong, and how to prove a fix worked before your next send.

Table of Contents

What a PTR Record Does in Plain Terms

Think of caller ID. A forward lookup is you holding a name and asking for the number. A reverse lookup is the number arriving first, and the network answering with a name attached to it.

That's the whole concept behind a PTR record, short for Pointer record. Where an A record stores the address for a name, a PTR record stores the name for an address. Same database, opposite direction.

Record Direction Input Output
A record Name to IPv4 address mail.example.com 203.0.113.10
AAAA record Name to IPv6 address mail.example.com The server's IPv6 address, such as 2001:db8::10
PTR record IP address to name 203.0.113.10 mail.example.com

Cloudflare's DNS team frames it the same way in its announcement of Cloudflare Radar's new DNS section, describing PTR records as the mechanism reverse DNS uses to look up a domain name from a given IP address.

Where the answer actually lives

The record is stored in ordinary DNS, but filed under a name built from the address rather than from your domain. Your registrar's panel won't show it, because it sits in a separate zone operated by whoever holds the IP range. That filing detail explains almost every "I added the record and nothing changed" support ticket.

For mail, the practical use is a claim. When a server connects from 203.0.113.10, the receiving side can ask DNS what hostname that address claims to be. The answer might be mail.example.com, or smtp.example.com, or nothing at all.

Run a test before you finish reading. Find the public IP your mail sends from, then look up its reverse answer. A blank result means your server has no reverse DNS, and no amount of A record editing will change that.

How a Reverse DNS Lookup Works Step by Step

Take a sending IP of 192.0.2.25 and follow the lookup a receiving server would run on it.

  1. Start with the address. This is the only thing the receiving server knows when the connection opens. Everything else has to be asked for.
  2. Reverse the octets. Write the four numbers in the opposite order, giving you 25.2.0.192. Nothing is calculated here, the address is read backwards.
  3. Append the reverse zone. Add .in-addr.arpa to the end, which produces 25.2.0.192.in-addr.arpa. This is the name the query will target.
  4. Ask for the PTR record. The query goes out through normal DNS resolution, so it can be cached and it can fail like any other lookup.
  5. Read the answer. The authoritative server for that address block returns whatever hostname is stored, such as mail.example.com. That hostname becomes the input to the receiver's next check.

Why the address is written backwards

DNS reads names from right to left. The broadest part of the namespace comes last, and the most specific part comes first. Reversing the octets puts the individual address at the front and the giant address space at the end, which lets the delegation tree stay shallow instead of fanning out at the top.

The model comes from RFC 1035, published in November 1987 as part of the original DNS specification, and IPv4 reverse lookups still follow it today. The RIPE NCC reverse DNS documentation shows the same construction, with the address octets reversed under in-addr.arpa and a PTR value such as mail.example.com.

IPv6 uses a parallel namespace called ip6.arpa, where the hexadecimal digits are reversed one nibble at a time. The resulting name is very long and almost nobody types it by hand. Providers set it through a console.

Here is the shape of the whole process.

A four-step infographic illustrating how a reverse DNS lookup processes an IP address to find a hostname.

An empty answer isn't a broken lookup. It's DNS telling you that nobody has set a name for that address yet, which is a different problem from a server that won't respond.

If the hostname that comes back is the one you expected, the reverse side of the path works. If it comes back empty, you have something to request rather than something to debug.

Why Email Servers Check PTR Records and Which Myths to Drop

Reverse DNS isn't an authentication standard. It doesn't verify a cryptographic signature or consult a published list of allowed senders. It runs a consistency check on the connection itself, before your subject line is ever read.

The chain has three links. The IP 203.0.113.10 introduces itself as smtp.example.com. The receiver looks up the A record for smtp.example.com, or the AAAA record for IPv6, and gets 203.0.113.10 back. When the chain closes, the address and the name agree. When it doesn't, the receiver has evidence that the sending machine isn't maintained the way a legitimate mail server normally is.

Google's sender guidelines require exactly this pattern for mail sent to Gmail: the public sending IP must have a PTR record, and the hostname that record returns must resolve forward to the same IP.

A hand-drawn illustration explaining DNS PTR records through a post office metaphor and email authentication protocols.

What the receiver actually concludes

  • The chain closes. Address and name agree. This looks like a managed sender with stable infrastructure, so the connection starts with a little more benefit of the doubt.
  • The record is missing, stale or generic. A provider default like ec2-198-51-100-1.compute-1.amazonaws.com suggests a machine that was never set up for mail. Expect delayed acceptance, spam folder placement, or rejection on stricter systems.
  • The name resolves elsewhere. A hostname pointing at a different IP looks like an abandoned configuration. This is the version nobody notices for months.

The part people miss: this check runs on the connection, so it can fail while SPF and DKIM both pass. Passing three tests doesn't cover a fourth one you never ran.

That separation is why reverse DNS needs its own line in your setup rather than being assumed under email authentication explained. Our reverse DNS check confirms the sending IP matches the HELO FQDN, which is the same agreement a receiving server is looking for.

Two myths worth dropping

Myth one: every IP has a PTR record. Most don't. In a 2026 dataset, IPAPI's reverse DNS survey reported querying 3,702,258,432 routable IPv4 addresses and receiving 1,160,910,713 PTR records, or roughly 31.4%. A missing PTR is normal across the address space as a whole. That figure covers addresses in general rather than mail servers specifically, so treat it as proof that gaps are common, not as a pass mark.

Myth two: any hostname will do. Pointing the record at a provider's default name technically completes the lookup, but it tells the receiver your mail is running from an unconfigured cloud instance. When you're sending marketing mail from your own domain, the hostname should be one you control.

A PTR record does not prove who you are. It shows that the address is run by someone who keeps its name consistent, and consistency is the thing receiving servers are actually scoring.

Who Controls Your PTR Record and How to Change It

Before you file a ticket, find your setup.

IP setup Who sets the PTR How to request a change
Cloud server with a static public IP Cloud provider Provider console or support ticket
Line from an internet service provider Internet service provider Support request, often not available on residential lines
Dedicated server or colocation box Hosting company Ticket to hosting support with IP and hostname
Own IP block from a regional registry Holder of the block Delegation request to the registry or the block's ISP

The rule behind that table is simple. A PTR record isn't created in the same zone as your website's A record, and the reverse answer is controlled by the IP address owner. Cloudflare's reverse DNS explainer puts the responsible parties as the cloud host, internet service provider, or regional address authority.

So if you add an A record for mail.example.com in your own zone today, the reverse answer for 203.0.113.10 stays exactly as it was. Your side of the chain is ready and the other side hasn't moved.

Amazon's EC2 documentation takes this further for its own platform, recommending Elastic IP addresses for outbound email and requiring a corresponding forward A record before reverse DNS can be created for an Elastic IP. Providers do this because a PTR with no matching forward record is worse than no record at all.

The order that saves a support ticket

Reserve a stable public IP first. Publish mail.example.com as an A record pointing at it. Then ask the provider to point the PTR for that IP at mail.example.com. Verify both directions once the change lands. Doing these out of order is how you end up with a reverse record referencing a hostname that doesn't exist yet.

Note the coverage requirement too. Cloudflare's PTR record reference points to RFC 1912, which recommends a matching PTR for every IP address, including each address on a multihomed host. If you send from three IPs, you need three records, not one.

Your A record is yours to edit in seconds. The PTR answer for that same IP belongs to someone else, and it moves at the speed of their support queue.

Keep the hostname stable once it's set. Every rename is another provider request, and a fresh change is a fresh chance for a receiving server to see a mismatch mid-propagation. Before you ask, have the provider name, the exact IP and the exact hostname ready in one message.

How to Check and Fix a Broken PTR Record

Run the check yourself instead of trusting a setup guide.

  1. Find the sending IP. Pull it from the message headers of a real send or from your mail server settings. Don't assume the IP in your control panel is the one that connects to the outside world.
  2. Reverse the address. On macOS or Linux, dig -x 203.0.113.10. On Windows, nslookup 203.0.113.10. Write down whatever hostname comes back.
  3. Resolve that hostname forward. dig smtp.example.com or nslookup smtp.example.com, depending on your platform and the name you found.
  4. Compare the results. The forward lookup must return the same IP you started with. That's the whole test.
  5. Decide who fixes it. A wrong forward record is yours. A wrong or missing PTR belongs to the IP provider.

A four-step checklist illustration explaining how to check and fix a broken PTR DNS record.

Matching the symptom to the fix

Mismatch found Likely cause Fix
No PTR record returned Provider never set reverse DNS Ask the IP owner to create a PTR for the sending IP
PTR returns a generic provider hostname Default hostname left in place Request a PTR that matches your mail hostname
PTR hostname has no A or AAAA record Forward zone missing the hostname Add the A or AAAA record for the PTR hostname
Forward lookup returns a different IP Stale A record or the IP changed Update the A record or move the PTR to the correct IP
One IP in a sending pool has no PTR Only some addresses were configured Check every IP in the pool and fix each one

That last row causes more damage than the others because it's invisible. The IP that sends most of your volume passes, a secondary address handles a subset of sends, and the receiving server that happens to see the unconfigured one flags the message. Check every address, not just the busiest one. Our reverse DNS check runs the same query to confirm a valid PTR record exists and resolves to the same FQDN for the received-from server IP, and the MailGenius reverse DNS mismatch guide covers the specific case where the name and the banner disagree.

Retest after propagation, not within the hour. A record you changed five minutes ago may still be served from cache, which makes a good fix look broken and a broken fix look fine.

Three habits keep this from recurring. Give the host a descriptive name you own rather than a provider default. Keep that name unchanged across campaigns and server rebuilds. Log every change with a date, so the next person debugging a reputation dip has a timeline.

If a provider declines the change, ask for the reason in writing and check whether the address is shared. A shared IP often only offers a provider-chosen hostname, and that's worth knowing before you build a sending plan on top of it.

Run the Free Spam Test Before Your Next Send

Before the next campaign goes out, confirm one thing for every sending IP: a valid PTR that resolves forward to the same address. That single pass condition covers the connection check a receiving server runs before it ever reads your subject line.

A diagram illustrating how a pointer (PTR) record works between an IP address and a hostname for email deliverability.

Many teams can't tell you their reverse answer without looking it up, which is exactly the gap a test closes in a couple of minutes. The free email spam test sends a message to the address shown on screen and returns a full deliverability report: inbox versus spam placement, authentication feedback, spam trigger flags, a score, and tips to improve placement. Run it and read the reverse DNS line against what you expected.

Then work the loop. Fix the record with whoever owns the IP, send the test again, and confirm the score moved before you trust a real send. Fixing copy, formatting or authentication records and retesting is how you know a change worked rather than hoping it did. If you send from a pool, repeat it for each address, because one unchecked IP can still be the one that gets flagged.

Do the check today, while nothing is on fire, and fix what it flags before the next campaign depends on it.


Reverse DNS is one of the few deliverability signals you can verify in minutes and fix in an afternoon, once you know which party owns the record. MailGenius runs the reverse DNS check that matters, confirming a valid PTR that resolves forward to the same address for your sending IP, alongside SPF, DKIM and DMARC results, trigger flags and a final score in one report. Visit MailGenius and run the free spam test before your next send.

Free Email Spam Test:

Will your Email Land in the Spam Folder?

Send an email to the address below to see your Spam Score:
loading...
MailGenius users test over 1M emails per year! By using our Email Tester, you will agree to our Privacy Policy and Terms of Service. The sending email address will receive emails from MailGenius. All tests are hosted on public links.

Try MailGenius Today

Run a Free Email Deliverability Test - Send an Email to the Address Below, then Click “See Your Score”:

Free Email Spam Test:

Will your Email Land in the Spam Folder?

Send an email to the address below to see your Spam Score:
loading...
MailGenius users test over 1M emails per year! By using our Email Tester, you will agree to our Privacy Policy and Terms of Service. The sending email address will receive emails from MailGenius. All tests are hosted on public links.

Try MailGenius Today