From owner-freebsd-questions Sat Dec 4 20:26:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id E279F15237 for ; Sat, 4 Dec 1999 20:26:55 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA47002; Sat, 4 Dec 1999 23:30:04 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199912050430.XAA47002@cc942873-a.ewndsr1.nj.home.com> Subject: Re: How do I find where an IP address is from? In-Reply-To: <19991204163756.A3242@converging.net> from D Tougas at "Dec 4, 1999 04:37:56 pm" To: dtougas@converging.net (D Tougas) Date: Sat, 4 Dec 1999 23:30:04 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG D Tougas wrote, > Hello, > > I am tring to write a script (maybe there is one that already does this...) > that takes the IP addresses from an apache log file and checks to see > what parts of the world people are browsing from. I can use nslookup > to find out what domain an IP address belongs to, but it seems that > whois no longer gives much information of any value. I would like some > way to find out what country an IP address or domain name is from, and > it has to be easy enough to put into a script. Can anyone help me out > with this, is there some utility that I am missing? Dunno how you can do better than 'whois -a ' in a script. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message