Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Perform Reverse DNS Lookup

Learn how to perform reverse DNS lookup with clear steps, practical tips, and troubleshooting advice for a smoother, more reliable result.

Table of Contents

This practical guide walks through how to perform reverse DNS lookup, explains the main requirements, and highlights common issues that may appear along the way.

Uses of Reverse DNS

The reason for using Reverse DNS is the same as the reason for using standard DNS (forward DNS). Domain names are easier to remember and recognize than a string of numbers. rDNS is less important than forward DNS, since forward DNS records are required to resolve a web page. Domains will still load without a Reverse DNS record.

Email servers often use rDNS to block incoming SPAM messages. Many mail servers are set to automatically reject incoming mail from IP addresses that do not have rDNS. Although the rDNS record can block spam, it is not a reliable method and is primarily used as an additional layer of protection. It's also worth noting that turning on rDNS can still lead to mail being rejected for a variety of reasons. In addition, rDNS is also used in analytics and logging to help provide human-readable data, instead of a log that is composed entirely of IP addresses.

Reverse DNS Lookup process

Reverse DNS Lookup process — How to Perform Reverse DNS Lookup

Forward DNS maps the hostname to the IP address, while rDNS (or Reverse DNS) indicates that the user is mapping the server's IP address back to the hostname. Using rDNS, the IP address is reversed, and then in-addr.arpa is added at the end. For example, if you used an IPv4 address 67.227.187.136 and used rDNS, it would become 136.187.227.67.in-addr.arpa.

This IP address's Reverse DNS resolution method uses PTR records. The PTR record contains the 'forward hostname' of the location where the IP is being used in normal DNS mapping or forward DNS. If a domain has a PTR record, a user can do an rDNS Lookup using one of the methods noted below.

It should also be noted that the rDNS setting is not specifically set by the domain nameservers but by the owner of the IP space via ARPA. This effectively pulls the PTR record from the in-addr.arpa zone file of one of its own specified nameservers.

Perform rDNS Lookup

Many online tools can be used to perform rDNS lookup. Here are some examples of these online tools:

  • MXToolbox.com
  • Whatismyip.com
  • IPLocation.net

You can also do rDNS lookup manually from the command line. In Linux, the command you will use is "dig" with the "-x" flag added.

If you're on a Windows machine, you usually use the 'nslookup' command , but you can also use 'ping -a' . An example of the Linux command and its output are shown below:

dig -x 8.8.8.8

Output:

;<<>> DiG 9.9.4-RedHat-9.9.4-61.el7 <<>> -x 8.8.8.8 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<

You can see the full rDNS PTR record for that IP in 'ANSWER SECTION' which leads 8.8.8.8 back to Google's subdomain, google-public-dns-a.google.com :

8.8.8.8.in-addr.arpa. 21599 IN PTR google-public-dns-a.google.com.

Set up rDNS

Setting up a Reverse DNS record is straightforward and can be beneficial in ensuring that an IP actually belongs to the domain it claims. If you're not sure who your DNS provider is, follow TipsMake 's helpful guide in determining where you should add an rDNS: DNS record where is the hosted DNS?

Key Takeaways

Use the information above as a practical reference for how to perform reverse DNS lookup. Review each step carefully, confirm any requirements, and choose the option that best fits your situation.

FAQ

What does this guide explain about Perform Reverse DNS Lookup?

It explains the main concepts, practical considerations, and useful steps related to perform reverse DNS lookup without requiring advanced knowledge.

Who can benefit from learning about Perform Reverse DNS Lookup?

This information is useful for readers who want a clear overview, practical guidance, and reliable steps related to perform reverse DNS lookup.

What should I check before applying this information?

Review the requirements, confirm that your device, software, or situation matches the instructions, and back up important data before making major changes.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.