Reverse DNS not found - postfix, ubuntu, LEMP

  • Posted January 25, 2014


I’ve been trying to set my mail up for the past 3 days…seems to be mostly working, but mail is being sent to spam folder a lot of times.

One issue I’m trying to fix is reverse DNS. If i run a check:


it returns “Host not found: 3(NXDOMAIN)”

hostname returns “ns1” hostname f- returns “

I’ve created an A record: my.ip.address

My Cname is: www @

I have two MX records: 10 (using for mail) 10

TXT record: “v=hotmail,etc”

Also an SRV and DO’s NS x 3

My mail.log and mail.err do not have any recent errors.

I"m new to this and just can’t figure out what’s causing the issues. I can post my config files or anything else if they’re helpful.



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.

Are you actually hosting your own nameserver? This article should give you some hints on getting your DNS set up using DigitalOcean’s nameservers. <br> <br> <br> <br>If you use your domain name as your droplet’s host name, DigitalOcean’s reverse DNS system set it up automatically…