in reply to Extracting domain names from FQDNs

Ovid, part of your problem appears to be in dealing with the new distributed whois system. There is a script which contains a list of definitions for default servers, this may be of assistance in getting your modules to correctly lookup foreign domain names.

Here is another script with an even larger list of definitions.

This one appears to be queen of the lists right now.

I didn't realise but it appears each country now has it's own whois database and you have to query the right one. Naturally there are no easy naming conventions.

I have found only one script which does the job properly... by contacting the root whois server, getting a reference to the correct server for the country, then querying that one: when in doubt, plunder a GPL project.

____________________
Jeremy
I didn't believe in evil until I dated it.