Reverse DNS not found - postfix, ubuntu, LEMP

January 25, 2014 3.5k views
Hello, 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: host ns1.mydomain.com it returns "Host ns1.mydomain.com not found: 3(NXDOMAIN)" hostname returns "ns1" hostname f- returns "ns1.mydomain.com" I've created an A record: ns1.mydomain.com my.ip.address My Cname is: www @ I have two MX records: 10 xxxxxxxxxxxx.hotmail.com (using outlook.com for mail) 10 ns1.mydomain.com. TXT record: mydomain.com "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. Thanks!
1 Answer
Are you actually hosting your own nameserver? This article should give you some hints on getting your DNS set up using DigitalOcean's nameservers.

https://www.digitalocean.com/community/articles/how-to-set-up-a-host-name-with-digitalocean

If you use your domain name as your droplet's host name, DigitalOcean's reverse DNS system set it up automatically..
Have another answer? Share your knowledge.