Господа, а не велосипед ли изобретаем? Вот вам скрипт на Perl, который выдает практически во всех случаях максимум информации.
CODE
#!/usr/bin/perl
use CGI qw(:standard);
$domain=param('domain');
$whois=‘/usr/bin/whois $domain‘;
print "Content-type: text/html\n\n";
print $whois;
Вот что выдает!
CODE
Whois Server Version 1.3
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Domain Name: WEBDESIGN.COM
Registrar: TUCOWS INC.
Whois Server: whois.opensrs.net
Referral URL: http://domainhelp.tucows.com
Name Server: NS.OKDIRECT.COM
Name Server: NS2.OKDIRECT.COM
Status: REGISTRAR-LOCK
Updated Date: 05-aug-2003
Creation Date: 13-aug-1997
Expiration Date: 12-aug-2006
>>> Last update of whois database: Tue, 10 Jan 2006 15:28:05 EST <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
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.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Registrant:
DigiMedia.com, L.P.
4245 Kemp Blvd., Ste 818
Wichita Falls, TX 76308
US
Domain name: WEBDESIGN.COM
Administrative Contact:
Day, Scott admin@digimedia.com
4245 Kemp Blvd., Ste 818
Wichita Falls, TX 76308
US
940-691-1800 Fax: 940-691-1803
Technical Contact:
Day, Scott admin@digimedia.com
4245 Kemp Blvd., Ste 818
Wichita Falls, TX 76308
US
940-691-1800 Fax: 940-691-1803
Registrar of Record: TUCOWS, INC.
Record last updated on 25-May-2004.
Record expires on 12-Aug-2006.
Record created on 13-Aug-1997.
Domain servers in listed order:
NS.OKDIRECT.COM 216.234.246.133
NS2.OKDIRECT.COM 216.234.246.134
Domain status: REGISTRAR-LOCK
The Data in the Tucows Registrar WHOIS database is provided to you by Tucows
for information purposes only, and may be used to assist you in obtaining
information about or related to a domain name's registration record.
Tucows makes this information available "as is," and does not guarantee its
accuracy.
By submitting a WHOIS query, you agree that you will use this data only for
lawful purposes and that, under no circumstances will you use this data to:
a) allow, enable, or otherwise support the transmission by e-mail,
telephone, or facsimile of mass, unsolicited, commercial advertising or
solicitations to entities other than the data recipient's own existing
customers; or (b) enable high volume, automated, electronic processes that
send queries or data to the systems of any Registry Operator or
ICANN-Accredited registrar, except as reasonably necessary to register
domain names or modify existing registrations.
The compilation, repackaging, dissemination or other use of this Data is
expressly prohibited without the prior written consent of Tucows.
Tucows reserves the right to terminate your access to the Tucows WHOIS
database in its sole discretion, including without limitation, for excessive
querying of the WHOIS database or for failure to otherwise abide by this
policy.
Tucows reserves the right to modify these terms at any time.
By submitting this query, you agree to abide by these terms.
NOTE: THE WHOIS DATABASE IS A CONTACT DATABASE ONLY. LACK OF A DOMAIN
RECORD DOES NOT SIGNIFY DOMAIN AVAILABILITY.
CODE
Whois Server Version 1.3
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Domain Name: HOSTOBZOR.COM
Registrar: ENOM, INC.
Whois Server: whois.enom.com
Referral URL: http://www.enom.com
Name Server: DNS1.NAME-SERVICES.COM
Name Server: DNS2.NAME-SERVICES.COM
Name Server: DNS3.NAME-SERVICES.COM
Name Server: DNS4.NAME-SERVICES.COM
Name Server: DNS5.NAME-SERVICES.COM
Status: REGISTRAR-LOCK
Updated Date: 06-mar-2005
Creation Date: 06-mar-2005
Expiration Date: 06-mar-2006
>>> Last update of whois database: Tue, 10 Jan 2006 15:28:05 EST <<<
NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the expiration
date of the domain name registrant's agreement with the sponsoring
registrar. Users may consult the sponsoring registrar's Whois database to
view the registrar's reported date of expiration for this registration.
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.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.
Registration Service Provided By: M-9.net, IHSP
Contact: domreg@m-9.net
Visit: http://M-9.net
Domain name: hostobzor.com
Administrative Contact:
M-9.net, IHSP
Vladimir Sergeev (domreg@m-9.net)
+7.8124681323
Fax: +7.95705928572350
Moskovskiy, 181
St-Petersburg, 190000
RU
Technical Contact:
M-9.net, IHSP
Vladimir Sergeev (domreg@m-9.net)
+7.8124681323
Fax: +7.95705928572350
Moskovskiy, 181
St-Petersburg, 190000
RU
Registrant Contact:
M-9.net, IHSP
Vladimir Sergeev (domreg@m-9.net)
+7.8124681323
Fax: +7.95705928572350
Moskovskiy, 181
St-Petersburg, 190000
RU
Status: Locked
Name Servers:
dns1.name-services.com
dns2.name-services.com
dns3.name-services.com
dns4.name-services.com
dns5.name-services.com
Creation date: 06 Mar 2005 10:20:44
Expiration date: 06 Mar 2006 10:20:44
Whois-Services: ypy7phx2pyb4pah.hostobzor.com@whois-services.com
The data in this whois database is provided to you for information
purposes only, that is, to assist you in obtaining information about or
related to a domain name registration record. We make this information
available "as is," and do not guarantee its accuracy. By submitting a
whois query, you agree that you will use this data only for lawful
purposes and that, under no circumstances will you use this data to: (1)
enable high volume, automated, electronic processes that stress or load
this whois database system providing you this information; or (2) allow,
enable, or otherwise support the transmission of mass unsolicited,
commercial advertising or solicitations via direct mail, electronic
mail, or by telephone. The compilation, repackaging, dissemination or
other use of this data is expressly prohibited without prior written
consent from us. The registrar of record is eNom. We reserve the right
to modify these terms at any time. By submitting this query, you agree
to abide by these terms.
Version 6.3 4/3/2002
Сорри за такой большой пост, не удержался!