So i am trying to setup the reverse dns for my server and i got it mapping correctly to my mail domain and i did a test on mail-test but reverse dns failed with: Spam Assasin RDNS_NONE
, but on mail authentication bellow shows is correctly authenticated with rDns: IP: xx.xxx.xxx.xx HELO: mail.xxxxxx.com rDNS: mail.xxxxxx.com
and also i did a test on MxToolBox for email health and i get this warning: Reverse DNS does not contain the hostname
, i checked my reverse lookup with dig -x xx.xxx.xxx.xx and the result was this, i get 2 dns results on ANSWER SECTION but one is only mail. and the other is the full one mail.xxxxxx.com, how to fix this? it have something to do with my issue?:
; <<>> DiG 9.11.3-1ubuntu1.13-Ubuntu <<>> -x xx.xxx.xxx.xx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9297
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;xx.xxx.xxx.xx.in-addr.arpa. IN PTR
;; ANSWER SECTION:
xx.xxx.xxx.xx.in-addr.arpa. 0 IN PTR mail.xxxxx.com.
xx.xxx.xxx.xx.in-addr.arpa. 0 IN PTR mail. //Why both? and why this only is only the subdomain wihtout the full one?
;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Sat Dec 05 20:08:59 UTC 2020
;; MSG SIZE rcvd: 101