Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 11:02:13 -0700
From:      Jim Mock <mij@soupnazi.org>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   Re: How to Use 'whois' to Lookup Hostname From IP Address
Message-ID:  <20010807110213.B613@helios.soupnazi.org>
In-Reply-To: <5CD46247635BD511B6B100A0CC3F023925A041@ldcmsx01.lc.ca.gov>
References:  <5CD46247635BD511B6B100A0CC3F023925A041@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 07 Aug 2001 at 10:47:26 -0700, Drew Tomlinson wrote:
> I can't seem to figure out how to use whois to find the hostname from
> an IP address.  For example, I want to find the host name for 1.2.3.4.
> I have tried "whois 1.2.3.4" and get the error "whois:
> 4.whois-servers.net: No address associated with hostname".  If I try
> "whois 4.3.2.1.in-addr.arpa", I get the error "No match for
> "4.3.2.1.in-addr.arpa".  If I try some of the various options like
> "whois -a 1.2.3.4" it will return the name of the organization that
> owns the block of IP addresses but not the specific hostname for the
> address.
> 
> So how can I use the whois command to enter my IP address and have it
> return my domain name?

As far as I know, you can't.  That's not something that whois does.  Try
using nslookup and/or host instead.

- jim

-- 
jim mock <mij@soupnazi.org>              tech writer | iXsystems, Inc.
http://soupnazi.org/         work: jim@ixsystems.net | jim@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010807110213.B613>