I needed this for a project I'm working on. I have one upgrade planned but this is the basic script. It will get the whois details for any domain name that is registered anywhere. No need to update a file with whois server addresses or anything of that sort. It can look up the whois information for domains of ANY gTLD or ccTLD that has been registered (provided the ccTLD has a whois server of course).