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 1.1.168.192) 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 1.1.168.192, the command here would be :

dig 1.1.168.192.in-addr.arpa PTR

Comments

Popular posts from this blog

How To Make IoT Messaging with BashShell

How To Make IoT Tweet with Python