I have set PTR record and it is correct but still Mx tool is showing "Reverse DNS is not a valid hostname"

I have set all SPF, DKIM, DMARC and MX records but still my mails are going to spam folder in gmail, outlook etc. I have set the PTR record by renaming my droplet name to hostname, I have used hostname and droplet name as my domain name itself. When I check my all records and tried mail-tester my mails are perfectly fine with score 10/10 but still emails are marked spam by google, outlook etc. When I connected with google they told that I have issue - Reverse DNS is not a valid hostname But when I check over my all records at they said all is fine then I can’t understand what’s wrong I am doing? Can someone help me to solve this issue?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


Keep in mind that DNS changes might take up to 24 hours in order to fully update due to DNS cache and general DNS propagation time.

You can use our DNS check tool to see if you get the correct DNS records.

Regards, Alex

Your DNS is looking pretty good. I did a further check at and it reports “SMTP Valid Hostname: Reverse DNS is not a Valid Hostname”. Unfortunately it does not go into more detail but if it is accurate, your SMTP software config (eg, Postfix) may need to be adjusted to make sure everything matches your domain name and PTR.

Another thing to keep in mind is that large email inbox providers (gmail, outlook) will take your IP address’s “reputation” into consideration when delivering the mail. Even if you’re not blacklisted, a new IP sending mail takes time to build up a good reputation.

Finally, since these are DNS changes, it can take some time to propagate fully.

Hope this helps - please let us know how it progresses or if you have any other questions.