[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Installing new Perl modules - solved!



At 14:13 2003-12-22, Godwin Stewart wrote:
You might have been making life unnecessarily complicated for your self.

Log in to your VPS and find out if there is already a whois implementation:

~ which whois
/usr/local/bin/whois

If there is, then you can invoke it directly in a PHP script.

Thanks for the hint - good to know that exists.

I found it here: /usr/bin/whois

Unfortunately, that's a bit of a black box, since I can't find how it knows which whois servers to use (which are subject to change). Or how it operates in general.

Tried (command line): /usr/bin/whois xs4all.nl
That works fine.
Then tried it for one of the name servers for thet domain: /usr/bin/whois ns.xs4all.nl

ERROR: invalid query

But WP Whois Proxy has no problems with this. ;-) Apart from that, it also makes (can make) all email addresses and server names/IP addresses into links (click-through) and can query abuse.net at the same time. And more handy stuff. ;)

So - yes it was (a bit) difficult to install (for me), but what I have now is certainly more powerful; and it's open source, too, and quite regularly updated. See a working demo here (not mine): http://grove.ufl.edu/~bro/cgi-bin/wp.cgi



--
Marjolein Katsma

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: