The FreeBSD whois client "knows" this as well. For any TLD, you can use
a whois server a ${tld}.whois-servers.net. For example:
$ host ca.whois-servers.net
ca.whois-servers.net is a nickname for eider.cira.ca
eider.cira.ca has address 64.26.149.100
eider.cira.ca mail is handled (pri=10) by mail.cira.ca
$ host info.whois-servers.net
info.whois-servers.net is a nickname for whois.afilias.net
whois.afilias.net has address 129.33.96.134
$ host uk.whois-servers.net
uk.whois-servers.net is a nickname for whois.nic.uk
whois.nic.uk has address 195.66.240.162
$
That's pretty cool too. Saves me lots of hassle. :)
On Sat, Dec 14, 2002 at 03:19:38PM -0500, Derek J. Balling wrote:
>
> On Saturday, December 14, 2002, at 05:49 AM, Paul Chvostek wrote:
> > I don't bother with a custom whois client. In my .tcshrc, I use:
> >
> > set junk='/./,/^$/p'
> > alias whois "whois \!:* | sed -Ene '/^The [dD]ata in /,/abide by
> > th/d;/(modify|abide by) th/d;/^(pol|NO|RE)/d' -e '$junk' "
>
> True, but md's client also "knows" where to find different ccTLD domain
> registration info, has a fairly complete IP allocation table (so it
> queries the right RIR, etc.)
>
> IOW, that is just one of MANY cool features. :)
>
> D
--
Paul Chvostek <[EMAIL PROTECTED]>
Operations / Abuse / Whatever +1 416 598-0000
it.canada - hosting and development http://www.it.ca/