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 192.168.1.200 is dnsclient.myrootdns.com. The following diagram shows a reverver lookup zone and a PTR record for the IP address 192.168.1.200
















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

2 comments:

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.

Vicky
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.

www.imarksweb.org

Design by infinityskins.blogspot