How to verify rDNS (reverse DNS)/PTR Record

RDNS (Reverse DNS) resolves an IP address to a domain name. To find rDNS for an IP address, you can use the command nslookup.

check rdns with nslookup

In the above screenshot, IP address 51.38.246.115 have reverse DNS set to ok.serverok.in

You also need to verify the hostname points to IP address. Many server providers check this before settings reverse dns entry.

Find rDNS using dig command

To find rDNS of an IP address, use the command

Example

Find rDNS using host command

Example

Back to Reverse DNS

Leave a Reply

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