I decided to pick up some old piece of code, which was coded in 2002, and actually it still works. The title says it all.

WIFREE.si WHOIS Tool