Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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[] said: 553 We do not accept mail from IP addresses without reverse DNS. See (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.


Edit, extra: I'm seeing things such as

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

zone "" {

type master;

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



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

share|improve this question
up vote 2 down vote accepted

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, 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).

share|improve this answer
And you can't change it within DNS management of your server/domains? - I will ask them to set a reverse DNS, Thanks – Sander Schaeffer Feb 8 '14 at 13:06
I can use to check my reverse DNS, and it shows this: -> Check screenshot - Do or Don't I have a reverse DNS..? :s – Sander Schaeffer Feb 8 '14 at 13:13
Depends... some VPS providers let you set the reverse DNS with their web interface. -- The screenshot shows that 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 '14 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 – Sander Schaeffer Feb 8 '14 at 14:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.