Email Deliverability · DNS · Reverse DNS · PTR · Email Authentication

Reverse DNS (PTR) Troubleshooting for Email Deliverability

· InboxPlacement.io Team

Reverse DNS troubleshooting: an IP reverse-resolves to a hostname whose forward lookup returns the same IP, with a separate mismatch example.

A valid reverse-DNS (PTR) record is a published sender requirement in Gmail and Yahoo guidance: the sending IP should reverse-resolve to a hostname whose forward A or AAAA lookup returns that same IP. Provider requirements can differ, and a correct PTR is one infrastructure signal—not a guarantee of inbox placement. Investigate missing or non-matching reverse/forward DNS before changing other parts of your sending setup.

Core concepts in plain language

  • A PTR record maps an IP address back to a hostname; an A record maps a hostname to an IPv4 address and an AAAA record maps it to an IPv6 address.
  • Forward-confirmed reverse DNS (FCrDNS) means the hostname returned by the PTR lookup resolves forward to the same sending IP. Gmail documents this forward-and-reverse check for sending servers.
  • Reverse DNS is separate from SMTP greeting identity and from message authentication. Record the sending server’s HELO/EHLO value when troubleshooting, but do not assume it must match the visible From domain or envelope-from domain; follow the recipient provider’s published requirements.
  • SPF, DKIM, and DMARC are separate authentication mechanisms; PTR is not an authentication record. A trusted receiver’s Authentication-Results header can report checks for one message, while SMTP replies and provider dashboards provide other evidence.

A practical step-by-step workflow

Collect these items first (what to gather before changing anything):

  • Sending IP address or addresses, identified from a trusted receiving system’s Received header or your mail provider’s logs.
  • The configured SMTP HELO/EHLO name and the visible From domain, recorded separately.
  • Published DNS records relevant to the sending host and domain: A/AAAA, PTR, SPF TXT, DKIM selector records, and the DMARC policy.
  • A recent message delivered to a mailbox you control, including the trusted receiver’s Authentication-Results and SMTP outcome where available.

Step 1 — Check current PTR and forward records

  1. Query reverse DNS for each sending IP (for example, run dig -x <ip> or use a DNS lookup tool).
  2. Query the returned hostname for its A or AAAA record.
  3. Confirm that the forward result includes the same sending IP (FCrDNS).

Example using documentation-only values: a reverse lookup for 198.51.100.23 returns mail.sender.example. If that hostname’s A record returns 198.51.100.23, the reverse and forward lookups match. This is not a live domain or result.

Step 2 — Compare PTR to your mail configuration

  1. Record the SMTP HELO/EHLO name your sending system announces. Confirm it is configured according to your mail provider’s and recipient provider’s requirements.
  2. Review the PTR hostname and SMTP greeting as separate infrastructure identities. Do not change either solely to make it match the visible From or envelope-from domain; recipient policies vary.

Step 3 — If PTR is missing or incorrect, coordinate the fix

  1. Identify who controls the IP’s reverse zone. For most cloud providers or ISPs, PTR changes must be requested to the IP owner (your host or upstream provider).
  2. Ask the IP owner to publish the reverse-DNS mapping required for your sending IP and recipient providers. Verify that the returned hostname’s A or AAAA record points back to the same IP; do not assume there is one universal PTR-count rule for every provider.
  3. Ask the provider to set the PTR and confirm the TTL and expected propagation time.

Step 4 — Verify related authentication and headers

  1. Independently confirm that SPF, DKIM, and DMARC remain correctly published for your sending domains. A PTR change does not require changing these authentication records.
  2. Send a test message to an inbox you control. Inspect the trusted receiver’s Authentication-Results header for SPF, DKIM, and DMARC; treat the header as that receiver’s report for that message, not as proof of inbox placement.
  3. Do not assume a single Authentication-Results pass proves inbox placement; it is a delivery/authentication signal only.

Step 5 — Retest and monitor

  1. Wait for DNS propagation (TTL-based; allow typical propagation windows).
  2. Re-run the PTR reverse/forward checks and resend test messages.
  3. Track DNS results and SMTP responses for the PTR change; review authentication and mailbox placement as separate signals over multiple deliveries.

Decision checklist (observed evidence → likely cause → recommended action)

Observed evidence (collect)Likely causeSafe recommended action
No PTR for a sending IP (dig -x returns NXDOMAIN)Reverse DNS is not configured by the IP ownerAsk the hosting provider or ISP to publish the required reverse-DNS record.
PTR hostname does not resolve back to the sending IPForward DNS is missing or points elsewhereCoordinate with the IP owner and DNS administrator so the PTR hostname’s A/AAAA record returns the sending IP.
SMTP HELO/EHLO differs from the PTR hostnameA possible provider-specific identity-policy issue; not a universal mismatch ruleCompare both values with the recipient provider’s documentation and ask the sending provider before changing either.
PTR and forward DNS match, but trusted Authentication-Results shows SPF/DKIM failureSeparate authentication configuration issueDiagnose SPF, DKIM signing/key publication, and DMARC alignment independently; follow provider guidance.
PTR is valid but mail is still quarantined or rejectedOther recipient checks, reputation, or policy signals may be involvedReview the SMTP response, trusted receiver headers, and provider dashboards; do not attribute the result to PTR alone.

Label all scenarios above as observational and instructive; they are illustrative of common cases, not exhaustive.

Examples (clearly labelled as illustrative)

Illustrative reverse DNS flow showing a sending IP, its PTR hostname, and a forward lookup that returns to the same IP, plus a separate mismatch case.

Synthetic, documentation-only IP addresses and reserved example hostnames; this is not a live DNS lookup or customer result.

Illustrative example A — missing reverse DNS:

  • Observation: dig -x 198.51.100.23 returns NXDOMAIN.
  • Possible cause: the IP owner has not published a reverse-DNS record.
  • Safe action: ask the IP owner to configure the appropriate PTR; then verify the forward lookup for its hostname.

Illustrative example B — forward lookup mismatch:

  • Observation: the PTR for 198.51.100.23 returns mail.sender.example, but that hostname’s A record returns 203.0.113.40.
  • Possible cause: reverse and forward DNS were configured inconsistently.
  • Safe action: coordinate with the IP owner and DNS administrator to correct the intended mapping. Do not change HELO/EHLO just to make it match a PTR without checking provider requirements.

The IP ranges and hostnames above are illustrative documentation examples only; they do not represent a live sender or DNS lookup.

Common mistakes and limitations

  • Treating a valid PTR as proof of inbox placement. It verifies one infrastructure condition; it does not guarantee acceptance, inbox delivery, or reputation.
  • Assuming the PTR must match the visible From or envelope-from domain. Provider documentation may specify reverse-DNS and SMTP identity checks, but these domains serve different roles.
  • Changing the PTR without checking forward DNS. A PTR hostname that does not resolve back to the sending IP fails the forward-confirmation check described in Gmail guidance.
  • Assuming a DNS update takes effect immediately. The IP owner’s processing and DNS cache TTLs affect timing.
  • Weakening DMARC as a routine response to a PTR issue. These are separate controls; any emergency policy change needs domain-owner authorization, narrow scope, a time limit, and rollback criteria.

How the topic connects to inbox placement

Gmail and Yahoo both list valid forward and reverse DNS for sending IPs in their sender guidance, alongside separate authentication and message-handling requirements. Gmail also describes how the PTR hostname must resolve forward to the sending IP. These requirements are provider-specific and can change, so check the current sender documentation before making a change. Fixing PTR is not a substitute for SPF, DKIM, DMARC, or good sending practices, and it does not guarantee where a message will land.

Simulated seed test with 26 of 40 messages in inbox, ten in spam and four unobserved.

Demo example. Mixed placement across providers. Synthetic results for feature explanation; not a live test or customer outcome.

Verification and next steps

Observed evidence to collect after fixes

  • Re-run reverse DNS queries (dig -x) for each sending IP.
  • Run forward DNS for the returned PTR hostname and confirm its A or AAAA record contains the same sending IP.
  • Send test messages to target providers; capture the trusted receiver’s Authentication-Results header and SMTP outcome where available.
  • Check provider dashboards where available (for example, Gmail Postmaster Tools for qualifying senders).

What each signal can and cannot prove

  • PTR present and FCrDNS verified: indicates forward-confirmed reverse-DNS configuration, not inbox placement.
  • Trusted Authentication-Results showing SPF, DKIM, or DMARC pass: records those checks for one message; it does not guarantee inbox placement or future acceptance.
  • SMTP delivery acceptance such as 250 OK: indicates acceptance at that SMTP stage; it does not show the final folder or long-term reputation.
  • Provider dashboards: useful for trends and policy enforcement status but require correct setup and interpretation.

Retest criteria (when to stop and when to continue)

  • Stop retesting a specific PTR fix after:
    • Reverse and forward DNS consistently return the intended sending IP, AND
    • Test messages show no new PTR-related SMTP errors or rejection. Review authentication and mailbox placement separately.
  • Continue troubleshooting if:
    • Authentication-Results still show failures, or
    • Mail is still being rejected/quarantined, or
    • Provider dashboards flag ongoing policy issues.

Common mistakes, restated as safe actions

Observed evidence → safe action summary:

  • Missing PTR: ask the IP owner to publish reverse DNS for the sending IP.
  • PTR hostname does not resolve back to the sending IP: coordinate the intended mapping with the IP owner and DNS administrator.
  • SMTP HELO/EHLO differs from the PTR hostname: verify the recipient provider’s policy before changing either value.
  • Authentication failures persist: diagnose SPF, DKIM, and DMARC separately, then re-evaluate.

FAQ

Do Gmail and Yahoo require reverse DNS for sending IPs?

Their current sender guidance lists valid forward and reverse DNS for sending IPs. Requirements can differ by provider and change over time, so consult the current documentation for each recipient service. A correct PTR does not guarantee inbox placement.

Who can create or change a PTR for my sending IP?

The owner of the IP’s reverse DNS zone (typically your hosting provider, cloud provider, or ISP) must set the PTR. Coordinate the change with that provider.

How long after changing PTR should I expect results?

DNS propagation is governed by TTL and provider processing. Allow time for the provider to apply the change and for DNS caches to expire before concluding the change completed.

After correcting the DNS configuration, run an InboxPlacement test to observe authentication signals and mailbox placement separately.

Related Reading

Sources