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

Syntax:

host IP.Address

Example:

host 74.125.224.150

150.224.125.74.in-addr.arpa domain name pointer lax02s20-in-f22.1e100.net.

2. nslookup

Syntax:

nslookup IP.Address

Example:

nslookup 74.125.224.150

150.224.125.74.in-addr.arpa     name = lax02s20-in-f22.1e100.net.

3, dig

Syntax:

dig -x IP.Address

Example:

dig -x 74.125.224.150 +short
lax02s20-in-f22.1e100.net.

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 A

Senior System Developer at Zeta. Linux lover. Traveller. Let's connect! Whether you're a seasoned DevOps pro or just starting your journey, I'm always eager to engage with like-minded individuals. Follow my blog for regular updates, connect on social media, and let's embark on this DevOps adventure together! Happy coding and deploying!

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 *