2003-01-18 11:51:20 +00:00
|
|
|
<?php
|
|
|
|
/*
|
2005-07-27 09:57:53 +00:00
|
|
|
Whois.php PHP classes to conduct whois queries
|
|
|
|
|
|
|
|
Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic
|
|
|
|
|
|
|
|
Maintained by David Saez (david@ols.es)
|
|
|
|
|
|
|
|
For the most recent version of this package visit:
|
|
|
|
|
2005-08-31 15:26:22 +00:00
|
|
|
http://www.phpwhois.org
|
2005-07-27 09:57:53 +00:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
2003-01-18 11:51:20 +00:00
|
|
|
*/
|
|
|
|
|
2005-03-02 15:10:49 +00:00
|
|
|
/* servers.whois v18 Markus Welters 2004/06/25 */
|
2003-02-09 14:52:15 +00:00
|
|
|
/* servers.whois v17 ross golder 2003/02/09 */
|
2003-01-18 11:51:20 +00:00
|
|
|
/* servers.whois v16 mark jeftovic 2001/02/28 */
|
|
|
|
|
2005-09-05 15:24:03 +00:00
|
|
|
$this->DATA_VERSION = '18';
|
2005-03-02 15:10:49 +00:00
|
|
|
|
2003-01-18 11:51:20 +00:00
|
|
|
$this->DATA = array(
|
2005-09-30 08:28:33 +00:00
|
|
|
'aero' => 'aero',
|
2005-09-29 15:02:39 +00:00
|
|
|
'ag' => 'ag',
|
|
|
|
'at' => 'at',
|
|
|
|
'au' => 'au',
|
|
|
|
'biz' => 'biz',
|
|
|
|
'be' => 'be',
|
|
|
|
'br' => 'br',
|
|
|
|
'ca' => 'ca',
|
|
|
|
'ch' => 'ch',
|
|
|
|
'cn' => 'cn',
|
|
|
|
'com' => 'gtld',
|
2005-10-04 15:30:45 +00:00
|
|
|
'coop' => 'coop',
|
2005-10-21 15:12:43 +00:00
|
|
|
'cz' => 'cz',
|
2005-09-29 15:02:39 +00:00
|
|
|
'de' => 'de',
|
|
|
|
'es' => 'es',
|
|
|
|
'fm' => 'fm',
|
|
|
|
'hu' => 'hu',
|
|
|
|
'info' => 'info',
|
2005-11-07 16:45:39 +00:00
|
|
|
'int' => 'int',
|
2005-09-29 15:02:39 +00:00
|
|
|
'is' => 'is',
|
|
|
|
'li' => 'ch',
|
|
|
|
'lu' => 'lu',
|
|
|
|
'lt' => 'lt',
|
|
|
|
'museum' => 'museum',
|
2005-10-14 18:07:38 +00:00
|
|
|
'mx' => 'mx',
|
|
|
|
'name' => 'name',
|
|
|
|
'net' => 'gtld',
|
|
|
|
'nl' => 'nl',
|
|
|
|
'nu' => 'nu',
|
|
|
|
'org' => 'org',
|
2005-10-15 10:18:20 +00:00
|
|
|
'pro' => 'pro',
|
|
|
|
'se' => 'se',
|
2005-11-06 09:02:20 +00:00
|
|
|
'travel' => 'travel',
|
2005-10-15 10:18:20 +00:00
|
|
|
'tv' => 'gtld',
|
|
|
|
'uk' => 'uk',
|
|
|
|
'us' => 'us',
|
|
|
|
'ws' => 'ws',
|
2005-09-29 15:02:39 +00:00
|
|
|
'za.org' => 'za',
|
|
|
|
'za.net' => 'za'
|
2003-01-18 11:51:20 +00:00
|
|
|
);
|
|
|
|
|
2005-03-02 15:10:49 +00:00
|
|
|
/* If whois Server needs any parameters, enter it here */
|
|
|
|
|
|
|
|
$this->WHOIS_PARAM = array(
|
2005-07-25 07:24:57 +00:00
|
|
|
'com.whois-servers.net' => '=',
|
2005-10-10 12:22:00 +00:00
|
|
|
'net.whois-servers.net' => '=',
|
2005-08-26 06:46:49 +00:00
|
|
|
'de.whois-servers.net' => '-T dn,ace '
|
2005-03-02 15:10:49 +00:00
|
|
|
);
|
|
|
|
|
2005-07-25 07:24:57 +00:00
|
|
|
/* TLD's that have special whois servers or that can only be reached via HTTP */
|
|
|
|
|
|
|
|
$this->WHOIS_SPECIAL = array(
|
2005-09-05 14:47:54 +00:00
|
|
|
'ad' => '',
|
2005-11-07 17:30:38 +00:00
|
|
|
'ae' => 'http://www.nic.ae/english/whois/display.jsp?domain={domain}.{tld}&queryType=domain&check=on',
|
2005-11-07 17:18:30 +00:00
|
|
|
'af' => 'whois.nic.af',
|
2005-09-05 16:50:12 +00:00
|
|
|
'ai' => 'http://whois.offshore.ai/cgi-bin/whois.pl?domain-name={domain}.{tld}',
|
|
|
|
'al' => '',
|
|
|
|
'az' => '',
|
|
|
|
'ba' => '',
|
|
|
|
'bb' => 'http://domains.org.bb/regsearch/getdetails.cfm?DND={domain}.{tld}',
|
2005-07-25 07:24:57 +00:00
|
|
|
'bg' => 'http://www.register.bg/bg-nic/displaydomain.pl?domain={domain}.{tld}&search=exist',
|
2005-09-05 16:50:12 +00:00
|
|
|
'bi' => 'whois.nic.bi',
|
|
|
|
'bj' => 'whois.nic.bj',
|
|
|
|
'by' => '',
|
2005-11-11 08:13:21 +00:00
|
|
|
'es' => '',
|
2005-07-25 07:24:57 +00:00
|
|
|
'co.za' => 'http://co.za/cgi-bin/whois.sh?Domain={domain}.{tld}',
|
|
|
|
'fm' => 'http://www.dot.fm/query_whois.cfm?domain={domain}&tld=fm',
|
|
|
|
'gs' => 'http://www.adamsnames.tc/whois/?domain={domain}.{tld}',
|
|
|
|
'in' => 'whois.ncst.ernet.in',
|
|
|
|
'ms' => 'http://www.adamsnames.tc/whois/?domain={domain}.{tld}',
|
2005-11-17 06:21:39 +00:00
|
|
|
'mt' => 'http://www.um.edu.mt/cgi-bin/nic/whois?domain={domain}.{tld}',
|
2005-07-25 07:24:57 +00:00
|
|
|
'net.au' => 'whois.aunic.net',
|
2005-10-10 12:35:26 +00:00
|
|
|
'pe' => 'http://nic.pe/detpublic.php?decid=B&ndom={domain}.{tld}',
|
2005-11-21 17:20:50 +00:00
|
|
|
'pr' => 'whois.uprr.pr',
|
2005-10-15 10:18:20 +00:00
|
|
|
'pro' => 'whois.registry.pro',
|
2005-07-25 07:24:57 +00:00
|
|
|
'tc' => 'http://www.adamsnames.tc/whois/?domain={domain}.{tld}',
|
|
|
|
'tf' => 'http://www.adamsnames.tc/whois/?domain={domain}.{tld}',
|
2005-11-06 09:02:20 +00:00
|
|
|
'travel' => 'http://www.whois.travel/whois.cgi?TLD={tld}&dn={domain}&TYPE=DOMAIN',
|
2005-07-25 07:24:57 +00:00
|
|
|
'vg' => 'http://www.adamsnames.tc/whois/?domain={domain}.{tld}',
|
|
|
|
'za.net' => 'whois.za.net',
|
|
|
|
'za.org' => 'whois.za.net'
|
2003-02-16 00:26:42 +00:00
|
|
|
);
|
2003-01-18 11:51:20 +00:00
|
|
|
?>
|