3

As far as I can remember when setting up my VPS and mail server on it, I had configured the mail server correctly. However, a few of my clients get SMTP errors,

host mx1.zonnet.nl[62.58.50.9] said: 553 We do not accept mail from IP addresses without reverse DNS. See http://wikipedia.org/wiki/reverse_dns (in reply to RCPT TO command)

So could anyone get me further to address whether I've configured it wrong or even worse: Not configured at all.

And of course: How to resolve it?

Oh, I see that I didn't had BIND installed, so that may help most of you.

Sadly, most tutorials I find are about different subjects, instead of resolving reverse DNS on Ubuntu 12.04 VPS.

Thanks!

Edit, extra: I'm seeing things such as

Edit /etc/bind/named.conf.local and add the following:

zone "1.168.192.in-addr.arpa" {

type master;

file "/etc/bind/db.192";

};

Source

Where, 1.168.192, need to replaced with my networking IP, but what's my networking IP..? My IP(v4) is completely different than 1.168.192, which actually is 159.xxx.x.xxx.

1 Answer 1

8

You cannot set the reverse DNS yourself -- you have to ask your VPS provider to do that.

With an IP of 159.x.y.z the reverse DNS is basically a lookup of z.y.x.159.in-addr.arpa., as described in the Wikipedia article. With a local BIND you might get a reverse DNS configuration on your own server, but nobody else would ask your server and see it. So it has to be configured by the network operator who manages the IP address range and has the DNS zone delegation for it (most probably the VPS provider or its upstream ISP).

4
  • And you can't change it within DNS management of your server/domains? - I will ask them to set a reverse DNS, Thanks Feb 8, 2014 at 13:06
  • I can use digwebinterface.com to check my reverse DNS, and it shows this: -> Check screenshot i61.tinypic.com/2qiacf7.png - Do or Don't I have a reverse DNS..? :s Feb 8, 2014 at 13:13
  • 2
    Depends... some VPS providers let you set the reverse DNS with their web interface. -- The screenshot shows that ns3.uxw.nl. is the authoritative DNS server, but there is no reverse DNS entry for your IP. You can check that yourself with dig -x <IP>.
    – mschuett
    Feb 8, 2014 at 13:22
  • As far as I can see in the web interface, I can change ANY record in the DNS, all A, AAA, txt or other records. Strangely, I hardly can find any information about this on the web.. :s Feb 8, 2014 at 14:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .