1

I noticed, that i had the rDNS for some server wrong. It did not cause any problems, but i am wondering, what can happen with wrong rDNS except from obviously getting spam point or even mail rejected, if it happens on a mail server.

So, what can happen for these errors:

  • rDNS missing
  • forward DNS missing (NXDOMAIN) for rDNS domainname
  • forward DNS does not point to the IP with the rDNS record
  • somebody else points his rDNS at my domain
  • my rDNS points at somebody else domain
Andrew B
  • 33,868
allo
  • 1,813

2 Answers2

2

Many spam filters check that the reverse DNS of a server that sends mail matches its forward DNS. In other words, if you use the DNS system to look up the IP address of your outgoing mail server you should get the host name, and if you look up that host name you should get the same IP address.

Apart from that, it's not really important. So if your server doesn't originate mail it probably won't matter if the rDNS is not set. And it doesn't really matter if somebody else points his rDNS at your domain (your fourth bullet point). But for your other bullet points you might find that outgoing mail gets blocked by some recipients.

2

If you're using TCP wrappers (tcpd) to control access to network resources and using host/domain names in the access lists then (by default) you need to have matching forward and reverse lookups. This is because the library does a forward lookup on the hostname returned by the reverse lookup - if the original IP isn't in the list that comes back then the connection is dropped.

Paul Haldane
  • 4,612