BW whois is a modern whois client that works as a
full-featured Web application or as a commandline
tool. It is flexible and configurable with
self-detecting CGI support, multiple security
options in the CGI mode, a mature TLD table,
database caching (using MySQL or PostgreSQL), and
many more options and features.