From owner-freebsd-stable Sun Dec 5 22: 2:11 1999 Delivered-To: freebsd-stable@freebsd.org Received: from azazel.zer0.org (azazel.zer0.org [209.133.53.200]) by hub.freebsd.org (Postfix) with ESMTP id 2BF3814DDA for ; Sun, 5 Dec 1999 22:02:08 -0800 (PST) (envelope-from gsutter@azazel.zer0.org) Received: (from gsutter@localhost) by azazel.zer0.org (8.9.3/8.9.2) id WAA44301; Sun, 5 Dec 1999 22:00:39 -0800 (PST) (envelope-from gsutter) Date: Sun, 5 Dec 1999 22:00:39 -0800 From: Gregory Sutter To: matt Cc: FreeBSD-Stable@FreeBSD.ORG Subject: Re: Little whois patch. Message-ID: <19991205220039.Z94590@azazel.zer0.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: Organization: Zer0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 04, 1999 at 09:44:42PM -0500, matt wrote: > > I noticed that the Canadian Internic was being left out of the > whois command line opts, so I thought I'd add it to the options. I really > have no clue who to send this to, or if I should use send-pr maybe, but > it's technically not a problem. Hopefully one of the committers can give > me feedback on where this should go. It's diffed against 3.3-stable, does > nothing but give 'whois -c' for whois.internic.ca, us Canadians feel left > out, cheers. =) For a while now, I've been using a whois wrapper written by Greg Woods. It works very well, querying the appropriate registrars for .com, .net, .org, etc., as well as country-specific TLDs. IP requests are handled as well. Using this would solve all the problems that I've read in this thread, without requiring modifications to 'whois' itself. ftp://ftp.weird.com/pub/local/awhois.sh Examples (output snipped): scapegoat gsutter ~ $awhois mircosoft.com Registrant: YELLOW AGENCY (MIRCOSOFT7-DOM) Domain Name: MIRCOSOFT.COM scapegoat gsutter ~ $awhois internic.ca Subdomain: internic.ca Organization: Internic.ca Inc. scapegoat gsutter ~ $awhois come.to Tonic whoisd V1.0 come ns.come.to 193.79.64.100 ns1.fortunecity.com 204.198.135.24 scapegoat gsutter ~ $awhois 204.71.200 Cable & Wireless USA (NETBLK-CW-PROVIDER) CW-PROVIDER 204.71.0.0 - 204.71.255.255 Internet Systems, Inc. (NETBLK-CW-BLK-INTERNET-CONN) CW-BLK-INTERNET-CONN 204.71.176.0 - 204.71.207.0 Yahoo (NETBLK-NET-SNV-YAHOO1) NET-SNV-YAHOO1 204.71.200.0 - 204.71.201.255 Greg -- Gregory S. Sutter Cole's Law: Thinly sliced cabbage. mailto:gsutter@pobox.com http://www.pobox.com/~gsutter/ PGP DSS public key 0x40AE3052 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message