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

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



The script 'WP Whois' doesn't care about the way you tested, ie ns.xs4all.nl
as it is removing anything for the CNAME area and giving you the main site
name.  I tried it with sites I know which do not have a CNAME and WP still
thinks that there is a site located at that location, however going to
anyone's browser will return a site not found, etc, depending upon how your
error sections are setup.  

There is no need to find out which whois servers to use, as that is all in
the background, Verio handles that on all the VPS servers and more.

One thing to consider on utilizing the WP Whois, go to their disclaimer,
http://grove.ufl.edu/~bro/cgi-bin/ShowTrash.cgi?whois.crsnic.net which
states that you can not access their database except to register domain
names, etc, so if you are collecting information from them in any manner
other than what they state, you are at a potential lawsuit.  Better off to
modify Godwin's script for what you want to do, (by the way his script works
well!) and then you are not using anyone else's server which could go
against you.  Way too many lawsuits creeping up on people.  

For the program to create a link to an email address, all it is doing is
taking any email address you input and then giving it back to you as a link,
it again does not care whether the email address is valid or not.  And,
sending things out that way, could be considered spam, but that is another
story in itself.

John Oligario

-----Original Message-----
From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx] On
Behalf Of Marjolein Katsma
Sent: Monday, December 22, 2003 8:49 AM
To: vps-mail@xxxxxxxxxxxx
Subject: 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).


======================================================================
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: