Just use a tool that does the work for you.
this is a good one:
http://whois.bw.org/
---------------------------------------------------------------------
Tim Woodcock twoodcock@baremetal.com
BareMetal.com Inc. http://baremetal.com/
Software Development Team
---------------------------------------------------------------------
Message received 2003-12-06 from 'feedback@webdivisor.com':
> Hello:
>
> Anyone know where I can find a list of WhoIS servers who support all domain extension checks. Unfortunately whois.opensrs.net only supports .com, .net. org, and .edu.
>
> -Thanks
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:52 EDT