Different ways/commands to check the RDNS entry for your IP Address

RDNS is the abbreviation of Reverse Domain Name System. Working principle of RDNS is just opposite to that of normal DNS, Domain Name System. The RDNS is a pointer(PTR) record entry which helps to find out the host-name associated with the IP address. This is one of the way to show the genuinity of the server to public network. You had better to set the RDNS properly to avoid receiving emails from your server to Spam folder of the recipient. We can simply find-out the RDNS entry of an IP address using different command from command-line. Here is some common example are illustrated with the commands dig, host, nslookup.

The reverse DNS database of the Internet is routed in the Address and Routing Parameter Area (arpa) top-level domain of the Internet. IPv4 uses the in-addr.arpa domain and the ip6.arpa domain is delegated for IPv6. The process of reverse resolving an IP address uses the pointer DNS record type (PTR record).

Different methods to find out the RDNS entry are:

You can use the following commands to find out the RDNS entry of a server. Please see the details:

1. host


host IP.Address


host domain name pointer lax02s20-in-f22.1e100.net.

2. nslookup


nslookup IP.Address


nslookup     name = lax02s20-in-f22.1e100.net.

3, dig


dig -x IP.Address


dig -x +short

Uses of RDNS

The most common uses of the reverse DNS include:
1. The original use of the rDNS: network troubleshooting via tools such as traceroute, ping, and the “Received:” trace header field for SMTP e-mail, web sites tracking users (especially on Internet forums), etc.

2. One e-mail anti-spam technique: checking the domain names in the rDNS to see if they are likely from dialup users, dynamically assigned addresses, or other inexpensive internet services.

3. A forward-confirmed reverse DNS (FCrDNS) verification can create a form of authentication showing a valid relationship between the owner of a domain name and the owner of the server that has been given an IP address.

Thanks 🙂

Post navigation

Arunlal Ashok

DevOps Engineer. Linux lover. Traveller.
Always happy for an open discussion! Write to arun ((@)) crybit ((dot)) com.

3 thoughts on “Different ways/commands to check the RDNS entry for your IP Address

Leave a Reply

Your email address will not be published. Required fields are marked *