Issues with eMail in Google Postmaster Tools and mxtoolbox

castris

Verified User
Joined
Apr 16, 2021
Messages
75
Location
Arcenillas
Hello

My client is getting that incorrect result from Postmaster Tools and MXToolbox or at least the information used to describe the issue is incorrect or deficient.

Google: Needs improvement — Set up reverse DNS records for a domain
MXToolbox - Reverse DNS is not a valid Hostname

Sending IP addresses must have a PTR record. The hostname specified in the PTR record must have a forward DNS that refers to the sending IP address.

Well the domain has two IPs, one IPv4 and one IPv6
Both:
- Are defined in the SPF.
- Have a valid PTR, which points to the hostname that is declared as the sender of the email. This is valid for IPV and IVP6 protocols.
- Of course, the sender hostname is identified as such.

However, after passing all the SPT, DKIM, DMARC controls, postmaster tools insists that there is a deficiency

Any ideas?

## Proof of Concept

Hostname: cloud500.burcode.com
Bash:
❯ digs cloud500.burcode.com
51.91.159.179
❯ digs AAAA cloud500.burcode.com
2001:41d0:404:200::338c
❯ digs -x 51.91.159.179
cloud500.burcode.com.
❯ digs -x 2001:41d0:404:200::338c
cloud500.burcode.com.
❯ telnet cloud500.burcode.com 25
Trying 51.91.159.179...
Connected to cloud500.burcode.com.
Escape character is '^]'.
220 cloud500.burcode.com ESMTP Exim 4.98 Fri, 13 Sep 2024 08:44:43 +0200
❯ telnet cloud500.burcode.com 25
Trying 2001:41d0:404:200::338c...
Connected to cloud500.burcode.com.
Escape character is '^]'.
220 cloud500.burcode.com ESMTP Exim 4.98 Fri, 13 Sep 2024 08:45:33 +0200


I'm pretty confused because this is the first time I've had DNS warnings, and even more so when I don't see the technical answer to why these warnings.

It's clear that asking Google or MXToolbox for support is not possible, and customers see these warnings and get upset. And rightly so.

It is curious that Google itself, in the headers, indicates the absolute validity of IPV6, which is where the email came from, both in SPF, DKIM and DMARC.

Bash:
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass [email protected] header.s=x header.b=YS6YujVb;
       spf=pass (google.com: domain of [email protected] designates 2001:41d0:404:200::338c as permitted sender) [email protected];
       dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=burcode.com
Received-SPF: pass (google.com: domain of [email protected] designates 2001:41d0:404:200::338c as permitted sender) client-ip=2001:41d0:404:200::338c; 
Authentication-Results: mx.google.com;
       dkim=pass [email protected] header.s=x header.b=YS6YujVb;
       spf=pass (google.com: domain of [email protected] designates 2001:41d0:404:200::338c as permitted sender) [email protected];
       dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=burcode.com
 
Last edited:
Hostname: cloud500.burcode.com
Wel that is your hostname but look at this:
Your reverse (PTR) record:
68.230.98.87.in-addr.arpa -> burcode.com

so there is your mistake. Go to the panel of your server provider/datacenter of where you set this up (so not in DA!!) and change this to cloud500.burcode.com and you should be fine.
 
HI

burcode.com?

My hostname is not burcode.com is cloud500.burcode.com

Ip is 87.98.230.68 and PTR of IP is burcode.com

This IP is a additional IP (shared ip)
Main IP and sender ip is 2001:41d0:404:200::338c and PTR is cloud500.burcode.com


If server has 200 domains in shared IP (is not a primary IP), does IP nedd a a PTR for every domain?

Also ip for sender is IPV6

Code:
cloud500.burcode.com.
dig  +short -x 2001:41d0:404:200::338c

I not mistake, almost inthis case.

## Update

To avoid coincidences or thoughts about the final domain, I have put what I have been doing for many years.
A PTR for each IP with a hots + sequence factor.

Code:
❯ dig +short -x 87.98.230.68
cloud5001.burcode.com.
❯ dig +short -x 87.98.230.89
cloud5002.burcode.com.
❯ dig +short -x 87.98.230.102
cloud5003.burcode.com.
 
Last edited:
@castris

Exim -> IPV4/6 outgoing -> google mail server -< Check PTR from incoming IPV4/6 -> matching with your server hostname .

so if your client using addition IPs to sending email, you need to make PTR with your server hostname too.
 
@castris

Exim -> IPV4/6 outgoing -> google mail server -< Check PTR from incoming IPV4/6 -> matching with your server hostname .

so if your client using addition IPs to sending email, you need to make PTR with your server hostname too.
@Ohm J This is not all correct.. Server only needs that every IP has PTR. Not same PTR for every aditional IP.

Also, if you read the postm, you can see that the sender is not even an IP4 in the case in question. It is the main IP, since exim is not configured in my case to send the mail with the additional IPs.

Thanks.
 
My hostname is not burcode.com is cloud500.burcode.com
Oke sorry, normally hostname and hostname domain are on the same ip, so hence my mistake.
Could be a cache issue indeed.

This is not all correct.. Server only needs that every IP has PTR. Not same PTR for every aditional IP.
That's not all correct either. A PTR isn't needed on every ip but on every ip which is sending mail.

Google: Needs improvement — Set up reverse DNS records for a domain
Out of curiosity, where exactly do you test this? Because if I use postmaster tools it only sees my domain and says "verified". Or do you use another test?
 
@Richard G In first instance two stest fails. After changes only fails Postmaster Tools.

But for fails now.

But there're a messga ethta is fixed: Última actualización: jue, 12 sept, a las 2:00. (Last updated: Thu, Sep 12, 2:00 AM.)

This message is the same after one hour in 2 server difereents, and same google account login.

Best regards
 

Attachments

  • CleanShot 2024-09-13 at 18.50.03.jpg
    CleanShot 2024-09-13 at 18.50.03.jpg
    169 KB · Views: 4
Back
Top