WHOIS (Updated: 31-Mar-2002)There are two versions of WHOIS here; a Windows NT, 2000, XP, 98 or 95 MFC Intel/Alpha version, (binaries only), and a command line version with source code and "make file" for both Windows NT and OpenVMS VAX or Alpha. The first program is a command line "whois" client, as described in RFC954, written by me to work on VMS and Windows NT to XP. It lets you send a query about an internet domain to a suitable server. At the moment it detects .com, .mil, .uk and various other domains and tries to pick a sensible server, though this list will probably be expanded in future. It also tries to do the lookup again if the first server redirects it to another place for the lookup. If you know the server that you want to use you can force that with a command line switch. Here's some examples.
$ WHOIS Usage: whois \[ -h nic_server \] name_to_find \[ > output_file \]
For a list of whois servers try: whois -h whois.indiana.edu whois-servers
$ WHOIS yrl.co.uk
Using WHOIS server ns0.nic.uk, port 43, to find yrl.co.uk
Domain Name: YRL.CO.UK
Registered For: Yezerski Roper Ltd
Trading As: YRL
It builds on VAX or Alpha VMS 6.2 to 7.3 with UCX 4.2 or TCPIP 5.1, and Windows NT 4.0, 2000 or XP. Under VMS you can build it using MMS or MMK, or @MAKE if you don't have those. Set up the foreign command symbol with @SETUP .
For Window set up the C++ environment variables by running the setup batch file, e.g. C:\"Program Files"\"Microsoft Visual Studio"\VC98\bin\vcvars32.bat then use
and copy the executable to a directory in your command PATH. The command is used in exactly the same way on Windows and VMS systems.
Here are the binaries for a Windows Visual C++ WHOIS client, also written by me. Just pop them in a subdirectory of your choice and add a shortcut to "whois.exe". You will need the MFC run-time libraries installed, which you should obtain from a trusted source like http://www.winsite.com/info/pc/win95/misc/mfc42.zip/ (they are free). I have recently added an InstallShield version of the Windows WHOIS client, but you'll still need to put the MFC42 ddl's into your system directory by hand.
NOTE: If the above site is down, Download whois.zip and extract whois.exe.