Reverse DNS Lookup
Performing Reverse DNS Lookup converts an IP-address into it’s Hostname.
For this we need to write the IP-address in reverse order (for e.g. 192.168.1.1 will be 126.96.36.199) and then append “.in-addr.arpa.” to it. Next we need to make a query for a PTR Record using DIG. Let’s make a DNS PTR query for 188.8.131.52, the command here would be :
dig 184.108.40.206.in-addr.arpa PTR