On Mon, 30 Oct 2000, Shifter wrote:
> Hey folks,
> I'm in the process of building a PHP whois interface. Can you tell me
> which whois servers I should use? I would like to cover all of the
> TLDs that OpenSRS deals with.
> I was thinking whois.opensrs.net for starters. But I don't think it
> handles .ca. Which whois server should I use for that? What about
> .uk?
The whois in FreeBSD does all whois servers automatically. The c file
for whois mentions these:
#define NICHOST "whois.crsnic.net"
#define INICHOST "whois.networksolutions.com"
#define DNICHOST "whois.nic.mil"
#define GNICHOST "whois.nic.gov"
#define ANICHOST "whois.arin.net"
#define RNICHOST "whois.ripe.net"
#define PNICHOST "whois.apnic.net"
#define RUNICHOST "whois.ripn.net"
#define MNICHOST "whois.ra.net"
#define QNICHOST_TAIL ".whois-servers.net"
#define SNICHOST "whois.6bone.net"
The thing might compile under Linux perhaps, with some
adjustements? But I am not a coder...
If you are, I can send the full file, if you like. It is not big.
A simple shell script would to then, I assume, to interface it to
httpd.
--
Marc Schneiders (rest in header)
>
> When I'm finished, I plan to make it available to others (under GPL?
> maybe?).
>
> Thanks,
> Stephen
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf! It's FREE.
> http://im.yahoo.com/
>