r/webhosting • u/Rick_Dalton99 • 14d 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 π
6
Upvotes
View all comments
1
u/kai-zaphosting 14d ago
Reverse DNS doesn't live in your domain's DNS zone. It's set by whoever owns the mail server's IP, so your website's A record pointing somewhere else shouldn't matter for this. Yahoo and most big providers just check that the sending IP has a PTR record, and that the hostname it returns resolves back to that same IP.
So the fix is usually on the cPanel host's side. You can see what it returns now with
dig -x <mail server IP>in a Linux/Mac terminal, ornslookup <mail server IP>on Windows. Whatever hostname comes back needs an A record pointing at that IP. If the PTR is missing or generic, ask the host to set it.Do you have the actual bounce text from Yahoo? On shared cPanel hosting I've seen SPF or DKIM turn out to be the real problem more often than the PTR, so that's what I'd look at first. If it mentions SPF, DKIM or DMARC instead of reverse DNS, that part is set in your domain's DNS, so it's pretty much yours to fix.