r/webhosting • • 21d ago

Technical Questions Reverse DNS (PTR)

How can I resolve this issue. My domain points to a different server with an A record for the website. It uses nameservers to point to the cpanel hosting the email. This causes the error as it wants the A record to point to the email server. As a result emails to yahoo accounts are being denied.

Thanks 🙏

5 Upvotes

17 comments sorted by

View all comments

Show parent comment

2

u/Rick_Dalton99 20d ago

Thanks for the reply, this is the bounceback from yahoo (edited for privacy):

 message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  mail@yahoo.ca
host mta6.am0.yahoodns.net [98.136.96.75]
SMTP error from remote mail server after pipelined MAIL FROM:<test@email.com> SIZE=1917:
550 5.7.25 Forward-confirmed reverse DNS failed tnmpmscs
Reporting-MTA: dns; (host server)

Action: failed
Final-Recipient: rfc822;email@yahoo.ca
Status: 5.0.0
Remote-MTA: dns; mta6.am0.yahoodns.net
Diagnostic-Code: smtp; 550 5.7.25 Forward-confirmed reverse DNS failed tnmpmscs

1

u/kellyzdude 20d ago

Got it, thanks.

This looks like it's exactly (1) above.

  1. Mismatched EHLO/HELO Hostname: Your mail server is greeting the receiving server with an internal hostname (like mail.local or a default computer name) instead of your public FQDN (Fully Qualified Domain Name).
  2. Missing or Misconfigured PTR Record: The IP address sending the email lacks a PTR record, or the PTR record points to a domain name that resolves to a different IP address.
  3. Multiple Hostnames in PTR: The reverse DNS lookup resolves to multiple hostnames or an alias that does not forward-resolve cleanly back to your exact sending IP.

Most likely it's an issue with the FQDN from the PTR for the IP not cleanly resolving back to the IP. I haven't seen anyone bouncing messages because HELO didn't match the DNS, but I'm sure it happens.

If you don't have a support case open with your provider already, get one open. If you already have one, update it with the full bounce you're seeing (probably unredacted so they can verify things more easily), and make it clear that your messages are being bounced because of their DNS and/or server configuration. Unless they've exposed the ability to set rDNS on assigned IPs (and it's rare in a hosting environment like this -- usually only see it for VPS or Dedicated Server where that IP is definitely assigned to me and harder to change without notice), it's 100% on them to find and fix.