Skip to main content

RDNS_NONE issue

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! My only idea based off that information - does the domain in the HELO also have a valid A record that resolves in DNS? Possibly relevant discussion here: RDNS_NONE hits when it shouldn't
    0
  • Serra
    This is the relevant data with the real IPs and domains removed. This is from the receiving server. The IP I'm sending on is 11.22.33.55. Which is also ns1 for the domain records. The sending server's HELO is fqdn.domain.com. [root@host ~]# dig a fqdn.domain.com ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.5 <<>> a fqdn.domain.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41078 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;fqdn.domain.com. IN A ;; ANSWER SECTION: fqdn.domain.com. 3600 IN A 11.22.33.44 ;; AUTHORITY SECTION: domain.com. 3600 IN NS ns2.domain.com. domain.com. 3600 IN NS ns1.domain.com. ;; ADDITIONAL SECTION: ns1.domain.com. 3600 IN A 11.22.33.55 ns2.domain.com. 3600 IN A 11.22.33.66 ;; Query time: 69 msec ;; SERVER: 10.10.10.10#53(10.10.10.10) ;; WHEN: Tue May 25 14:07:56 EDT 2021 ;; MSG SIZE rcvd: 126 [root@host ~]# dig -x 11.22.33.44 ; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.5 <<>> -x 11.22.33.44 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25914 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;26.33.22.11.in-addr.arpa. IN PTR ;; ANSWER SECTION: 26.33.22.11.in-addr.arpa. 86400 IN PTR fqdn.domain.com. ;; AUTHORITY SECTION: 33.22.11.in-addr.arpa. 259200 IN NS ns1.host.net. 33.22.11.in-addr.arpa. 259200 IN NS ns2.host.net. ;; Query time: 28 msec ;; SERVER: 10.10.10.10#53(10.10.10.10) ;; WHEN: Tue May 25 14:08:43 EDT 2021 ;; MSG SIZE rcvd: 123
    So as far as I can tell, yes, the HELO has a valid A record. The HELO A record does not match the sending IP, because of the /etc/mailips override.
    0
  • cPRex Jurassic Moderator
    Thanks for those details. In addition to customizing the /etc/mailips file, you may also want to adjust /etc/mailhelo in this case. We have more details on that here:
    0
  • Serra
    Thanks, that worked! Here is what I did: The server IP is 11.22.33.11 with an A record for fqdn.domain.com. I set /ect/mailips to 11.22.33.22 sitedomain.com: 11.22.33.22
    11.22.33.22 is actually NS1 for the domain. I set /etc/mailhelo to sitedomain.com: ns1.domain.com
    I set the PTR for 11.22.33.22 to ns1.domain.com. Doing that the HELO shows up on the email as ns1.domain.com and the PTR matches. This will need to be done for each domain in mailips, so each will need a mailhelo to match. So I guess that is the trick. Every mailips entry has to have a mailhelo to match and that HELO needs to have a PTR setup. Thanks again. That was very ugly and I couldn't do it without your help.
    0
  • cPRex Jurassic Moderator
    I'm glad that was it!
    0

Please sign in to leave a comment.