Page 1 of 1

whois querying

Posted: Thu Jul 15, 2004 1:16 pm
by visionmaster
Hello together,

I´m trying out programming whois with PHP.

Following command just works out fine:

whois -h whois.denic.de -- -T dn spiegel.de

I found the instruction on the German homepage http://www.denic.de.
Now I would like to implement some querying of some other tlds, such as .com, .net, ...

E.g. the command whois -h whois.godaddy.com cnn.com

outputs something, but no detailed infos such as the whois-query of whois.denic.de outputed. It seems some parameters are missing to obtain the e.g. adress information.

Can someone help?

Thanks,
visionmaster

Posted: Thu Jul 15, 2004 1:51 pm
by feyd
try using the NSI registry's whois server.. you can find the exact whois address on their site: http://www.nsiregistry.net

Posted: Fri Jul 16, 2004 2:18 am
by visionmaster
feyd wrote:try using the NSI registry's whois server.. you can find the exact whois address on their site: http://www.nsiregistry.net
Thanks for your response. Sorry, I can't find the list!

Regards,
visionmaster

Posted: Fri Jul 16, 2004 2:20 am
by feyd
whois.verisign-grs.com

the system at verisign will tell you which whois server has more spefic information (if it's not served from their servers)

Posted: Wed Jul 21, 2004 4:08 am
by RadixDev
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are high-volume and
automated except as reasonably necessary to register domain names or
modify existing registrations; the Data in VeriSign Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to access or
query the Whois database except as reasonably necessary to register
domain names or modify existing registrations. VeriSign reserves the right
to restrict your access to the Whois database in its sole discretion to ensure
operational stability. VeriSign may restrict or terminate your access to the
Whois database for failure to abide by these terms of use. VeriSign
reserves the right to modify these terms at any time.
Now does that basically means you cannot use their whois server from a PHP script? and is there any other whois servers which could look up other domains?

Posted: Wed Jul 21, 2004 5:54 am
by AGISB
I doubt you will find a domain registrar that lets you do this. The reason why why millions of spam emails are send is that in the past people were able to querry the whoisdatabases including all EMAIL addresses.

Posted: Wed Jul 21, 2004 5:59 am
by feyd
you could slap together your own private whois server.. that would skirt the VeriSign restriction.

Posted: Wed Jul 21, 2004 7:36 am
by RadixDev
Damn, i wanted to have a page where a user could type hostnameinto a textbox and the page will look it up on a whois server. Guess I have to link it to verisign's website...

Posted: Wed Jul 21, 2004 10:58 am
by evilmonkey
feyd wrote:you could slap together your own private whois server.. that would skirt the VeriSign restriction.
How would you go about doing that?