Author: Unknown
Email: Unknown
Date Submitted: April 16, 1998
Edited by: David S. Jackson <dsj@dsj.net>
Status: New Entry
Releases: All
Platform: All
Category: Common Problems with Linux\Unix Commands
Category Listing: How do I find someone's domain name (if I have their IP Address) or their IP Address (if I have their domain name)?


Issue:

Many new users ask how to find a friend's domain name if the IP address is known, or how to find an IP address if the domain name is known. This is now.

Response:

    $ nslookup
    Default Server: whatever.com
    Address: xxx.xxx.xxx.xxx
    > set q=ptr
    > 204.209.156.2
    2.156.209.204.in-addr.arpa      name = bambam.vu.com
    2.156.209.204.in-addr.arpa      name = www.vu.com
    > ^D
    $

References:

man nslookup. Also, try whois IPaddress and whois domain.name where IPaddress and domain.name are real values.