rDNS – Reverse DNS

reverse-dns
reverse-dns

Reverse DNS (rDNS) is a method of resolving an IP address into a domain name, just as the domain name system (DNS) resolves domain names into associated IP addresses. One of the applications of reverse DNS is as a spam filter.

Reverse DNS is separate from forward DNS.
Forward DNS for “xyz.com” pointing to IP address “4.3.2.1”, does not necessarily mean that reverse DNS for IP “4.3.2.1” also points to “xyz.com”. This comes from two separate sets of data.

A special PTR record type is used to store reverse DNS entries. The name of the PTR record is the IP address with the segments reversed + “.in-addr.arpa”. For example the reverse DNS entry for IP 4.3.2.1 would be stored as a PTR-record for “1.2.3.4.in-addr.arpa”.

Many e-mail servers and spam filtering solution on the Internet are configured to reject e-mails from IP address which does not have reverse DNS.

How to ceck rDNS

You can check the rDNS for the IP "8.8.4.4" using the following commands.
 
$ host 8.8.4.4 
4.4.8.8.in-addr.arpa domain name pointer google-public-dns-b.google.com.

Or

$ dig PTR 4.4.8.8.in-addr.arpa +short 
google-public-dns-b.google.com.

Most of the case, you need to contact your Internet Service Provider ( ISP ) for updating the rDNS.  Make sure the to set proper A record for the hostname to the proposed IP before contacting ISP for adding rDNs .

About Suhesh KS 24 Articles
Mr. Suhesh KS is Linux System Administrator by profession with 11 Years of work experience in Linux system administration in web hosting, data center and data warehousing industry and have worked with reputed support companies. He has wide range of skills include team management, system administration ( Linux ), programming ( bash, perl, php, java ), web hosting, data center support, seo analysis.