From owner-freebsd-questions Tue Aug 7 11: 2:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from helios.soupnazi.org (valve.dub.net [64.81.252.98]) by hub.freebsd.org (Postfix) with ESMTP id D267437B40C for ; Tue, 7 Aug 2001 11:02:13 -0700 (PDT) (envelope-from mij@soupnazi.org) Received: by helios.soupnazi.org (Postfix, from userid 1000) id 8A1BD31FE; Tue, 7 Aug 2001 11:02:13 -0700 (PDT) Date: Tue, 7 Aug 2001 11:02:13 -0700 From: Jim Mock To: Drew Tomlinson Cc: "FreeBSD Questions (E-mail)" Subject: Re: How to Use 'whois' to Lookup Hostname From IP Address Message-ID: <20010807110213.B613@helios.soupnazi.org> Reply-To: mij@soupnazi.org References: <5CD46247635BD511B6B100A0CC3F023925A041@ldcmsx01.lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5CD46247635BD511B6B100A0CC3F023925A041@ldcmsx01.lc.ca.gov> User-Agent: Mutt/1.3.20i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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