Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 1999 22:00:39 -0800
From:      Gregory Sutter <gsutter@pobox.com>
To:        matt <matt@S02.ARPA-CANADA.NET>
Cc:        FreeBSD-Stable@FreeBSD.ORG
Subject:   Re: Little whois patch.
Message-ID:  <19991205220039.Z94590@azazel.zer0.org>
In-Reply-To: <Pine.BSF.4.20.9912042141330.41590-200000@s02.arpa-canada.net>
References:  <Pine.BSF.4.20.9912042141330.41590-200000@s02.arpa-canada.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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