Tuesday, January 20, 2009

How to do reverse lookup for an ip address on command line

To perform reverse lookup for an IP address, following conditions needs to be satisfied.

1. A reverse lookup DNS zone is to be created for a Domain in which the host computer with the IP address exists.

2. Make sure a PTR record is added for the IP Address in DNS by dns server.

Assume, the domain name is myrootdns.com, the host name for the IP address is dnsclient.myrootdns.com. The following diagram shows a reverver lookup zone and a PTR record for the IP address

Now on the command prompt run nslookup The ip address is mapped to dnsclient.myrootdns.com


Cindy Dy said...

Looking for a good site that is more interesting and knowledgeable? Here are some information that may useful for future reference. Visit our page @ www.gofastek.com.


Leslie Lim said...

Thank you for posting some kind of information. It was really helpful since I am doing some research now.


Design by infinityskins.blogspot