DoWhois v 0.01alpha
(c) 1998-2002 Jahingo & Others
DoWhois is released under the GNU GPL.
Installation
DoWhois is written in perl and requires the following perl modules:
- CGI::Carp
- Date::Manip
- FileHandle
- Gandi::WhoisExtract (from http://open.gandi.net/)
- HTML::Template
- IO::Socket
- IPC::Open2
- LWP::UserAgent
- RPC::XML
- Time::Local
Installation is just a case of copying the extracted files into a location where cgi scripts can be run (eg. cgi-bin)
Usage
Included in this package are two sample clients.
dowhois.cgi is a simple cgi script client.
dowhois is a command line client which uses Data::Dumper to dump the returned data to stdout.
Filter Writing
The main item which makes DoWhois useful are the filters. These convert from raw whois output into key, value pairs (as listed in the dictionary).
They can be written in any language. The raw whois data is accepted via stdin and key, value pairs are output on stdout as colon delimeted pairs, one per line. For keys with multiple values, simply output multiple lines with the same key value.
If recursion is needed (eg. for 'thin' registried such as com/net/org) use the special key 'Recurse' (note this can only be specified once). Its value should be the whois server to recurse to or the url to use for a http lookup (a * should be used where the domain should be substituted).
