Reverse DNS (rDNS), implemented through PTR records, maps an IP address back to a hostname — the opposite direction of a normal DNS lookup, which maps a hostname to an IP. This unglamorous piece of configuration turns out to matter enormously for one specific, common use case: sending email.

What a PTR Record Actually Does

A PTR record answers the question "what hostname does this IP address belong to?" Many receiving mail servers check this as part of spam filtering — a server sending email with no PTR record, or one that does not match the sending domain reasonably, is treated as a strong signal of potential spam origin.

Why This Matters So Much for Dedicated Servers

Unlike shared hosting or managed email platforms where the provider handles this configuration invisibly, a dedicated server owner is responsible for setting up their own PTR record correctly — and many first-time dedicated server owners running their own mail server discover deliverability problems traced directly back to a missing or mismatched PTR record.

How to Configure It Correctly

  1. Decide on the hostname your server's mail service will use to identify itself (commonly matching your domain, like mail.yourdomain.com).
  2. Set the corresponding A record for that hostname pointing to your server's IP.
  3. Request your hosting provider set the PTR record for your IP to match that exact hostname — this typically must be done by the provider who controls the IP block, not by you directly through normal DNS management.
  4. Verify the configuration using an online reverse DNS lookup tool, confirming the forward and reverse records match consistently.

What "Forward-Confirmed Reverse DNS" Actually Checks

Sophisticated receiving mail servers do not simply check that a PTR record exists — they perform what is called forward-confirmed reverse DNS (FCrDNS): looking up the PTR record for the sending IP to get a hostname, then looking up that hostname's own A record to confirm it resolves back to the same original IP. Both directions must match for the check to fully pass. A common, easy-to-miss mistake is setting a PTR record to a hostname whose A record was never created, or points at a different IP entirely — this passes a superficial "PTR record exists" check while still failing the more thorough validation many providers actually perform, so verifying both directions explicitly (not just that the PTR record itself is set) is worth the extra minute.

Beyond Email: Other Uses of rDNS

  • Some network diagnostic and logging tools use rDNS lookups to identify traffic sources in a more readable form.
  • Certain security and abuse-detection systems factor in rDNS consistency as one signal among many.

Frequently Asked Questions

Can I set my own PTR record through my domain's DNS panel?

No — PTR records for an IP are controlled by whoever owns that IP block (your hosting provider), not through your domain registrar's standard DNS management.

Does a missing PTR record guarantee my email will be rejected?

Not always an outright rejection, but it significantly increases the likelihood of spam-folder placement or outright rejection by cautious receiving mail servers — a real, common, and avoidable deliverability problem.

Should the PTR hostname exactly match the domain I'm sending mail for?

Not necessarily identical, but it should be a hostname that reasonably and verifiably relates to your sending infrastructure (like mail.yourdomain.com) rather than a generic provider-assigned default, since that relationship is part of what receiving servers evaluate.

Setting up mail on your dedicated server? See our dedicated server plans or ask our team to configure your PTR record correctly.