phpWhois.org/src/whois.servers.php

256 lines
12 KiB
PHP
Raw Normal View History

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
2005-07-27 09:57:53 +00:00
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
*/
/* servers.whois v18 Markus Welters 2004/06/25 */
/* servers.whois v17 ross golder 2003/02/09 */
2003-01-18 11:51:20 +00:00
/* servers.whois v16 mark jeftovic 2001/02/28 */
2006-12-20 17:53:38 +00:00
$this->DATA_VERSION = '19';
2003-01-18 11:51:20 +00:00
$this->DATA = array(
2007-04-16 16:25:47 +00:00
'bz' => 'gtld',
2005-09-29 15:02:39 +00:00
'com' => 'gtld',
2006-12-18 17:28:40 +00:00
'jobs' => 'gtld',
2005-09-29 15:02:39 +00:00
'li' => 'ch',
2005-10-14 18:07:38 +00:00
'net' => 'gtld',
2012-04-05 14:46:20 +00:00
'su' => 'ru',
'tv' => 'gtld',
'za.org' => 'zanet',
2012-04-04 14:51:56 +00:00
'za.net' => 'zanet',
// Punicode
'xn--p1ai' => 'ru'
2003-01-18 11:51:20 +00:00
);
2009-12-29 11:34:51 +00:00
/* Non UTF-8 servers */
$this->NON_UTF8 = array(
2011-07-08 18:37:19 +00:00
'br.whois-servers.net' => 1,
2011-07-08 18:20:31 +00:00
'ca.whois-servers.net' => 1,
2011-06-26 08:51:11 +00:00
'cl.whois-servers.net' => 1,
2011-06-26 09:07:27 +00:00
'hu.whois-servers.net' => 1,
2011-07-08 18:37:19 +00:00
'is.whois-servers.net' => 1,
'pt.whois-servers.net' => 1,
'whois.interdomain.net' => 1,
'whois.lacnic.net' => 1,
'whois.nicline.com' => 1,
2011-06-26 09:10:32 +00:00
'whois.ripe.net' => 1
2009-12-29 11:34:51 +00:00
);
/* If whois Server needs any parameters, enter it here */
$this->WHOIS_PARAM = array(
2010-08-23 11:28:46 +00:00
'com.whois-servers.net' => 'domain =$',
'net.whois-servers.net' => 'domain =$',
'de.whois-servers.net' => '-T dn,ace $',
2010-08-23 16:58:57 +00:00
'jp.whois-servers.net' => 'DOM $/e'
);
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' => '',
2011-07-08 16:44:05 +00:00
'ae' => 'whois.aeda.net.ae',
2005-11-07 17:18:30 +00:00
'af' => 'whois.nic.af',
2006-07-25 17:20:01 +00:00
'ai' => 'http://whois.offshore.ai/cgi-bin/whois.pl?domain-name={domain}.ai',
2005-09-05 16:50:12 +00:00
'al' => '',
'az' => '',
'ba' => '',
2006-07-25 17:20:01 +00:00
'bb' => 'http://domains.org.bb/regsearch/getdetails.cfm?DND={domain}.bb',
'bg' => 'http://www.register.bg/bg-nic/displaydomain.pl?domain={domain}.bg&search=exist',
2012-03-29 11:32:18 +00:00
'bh' => 'whois.nic.bh',
2005-09-05 16:50:12 +00:00
'bi' => 'whois.nic.bi',
'bj' => 'whois.nic.bj',
'by' => '',
'bz' => 'whois2.afilias-grs.net',
2008-06-30 10:16:44 +00:00
'cy' => '',
2009-07-21 09:10:32 +00:00
'es' => '',
2011-06-26 10:07:23 +00:00
'fj' => 'whois.usp.ac.fj',
'fm' => 'http://www.dot.fm/query_whois.cfm?domain={domain}&tld=fm',
2010-11-05 12:09:56 +00:00
'jobs' => 'jobswhois.verisign-grs.com',
'ke' => 'kenic.or.ke',
'la' => 'whois.centralnic.net',
2007-05-30 08:13:57 +00:00
'gr' => '',
2006-07-25 17:20:01 +00:00
'gs' => 'http://www.adamsnames.tc/whois/?domain={domain}.gs',
'gt' => 'http://www.gt/Inscripcion/whois.php?domain={domain}.gt',
2008-06-17 12:23:36 +00:00
'me' => 'whois.meregistry.net',
2006-06-12 14:38:15 +00:00
'mobi' => 'whois.dotmobiregistry.net',
2006-07-25 17:20:01 +00:00
'ms' => 'http://www.adamsnames.tc/whois/?domain={domain}.ms',
2010-04-13 08:14:47 +00:00
'mt' => 'http://www.um.edu.mt/cgi-bin/nic/whois?domain={domain}.mt',
2011-06-26 07:59:10 +00:00
'nl' => 'whois.domain-registry.nl',
2010-04-13 08:14:47 +00:00
'ly' => 'whois.nic.ly',
2011-01-24 12:09:00 +00:00
'pe' => 'kero.rcp.net.pe',
2005-11-21 17:20:50 +00:00
'pr' => 'whois.uprr.pr',
'pro' => 'whois.registry.pro',
'sc' => 'whois2.afilias-grs.net',
2006-07-25 17:20:01 +00:00
'tc' => 'http://www.adamsnames.tc/whois/?domain={domain}.tc',
'tf' => 'http://www.adamsnames.tc/whois/?domain={domain}.tf',
2008-05-17 18:17:30 +00:00
've' => 'whois.nic.ve',
2006-07-25 17:20:01 +00:00
'vg' => 'http://www.adamsnames.tc/whois/?domain={domain}.vg',
// Second level
'net.au' => 'whois.aunic.net',
'ae.com' => 'whois.centralnic.net',
'br.com' => 'whois.centralnic.net',
'cn.com' => 'whois.centralnic.net',
'de.com' => 'whois.centralnic.net',
'eu.com' => 'whois.centralnic.net',
'hu.com' => 'whois.centralnic.net',
'jpn.com'=> 'whois.centralnic.net',
'kr.com' => 'whois.centralnic.net',
'gb.com' => 'whois.centralnic.net',
'no.com' => 'whois.centralnic.net',
'qc.com' => 'whois.centralnic.net',
'ru.com' => 'whois.centralnic.net',
'sa.com' => 'whois.centralnic.net',
'se.com' => 'whois.centralnic.net',
2007-12-21 17:55:10 +00:00
'za.com' => 'whois.centralnic.net',
'uk.com' => 'whois.centralnic.net',
'us.com' => 'whois.centralnic.net',
'uy.com' => 'whois.centralnic.net',
'gb.net' => 'whois.centralnic.net',
'se.net' => 'whois.centralnic.net',
'uk.net' => 'whois.centralnic.net',
2005-07-25 07:24:57 +00:00
'za.net' => 'whois.za.net',
'za.org' => 'whois.za.net',
'co.za' => 'http://co.za/cgi-bin/whois.sh?Domain={domain}.co.za',
'org.za' => 'http://www.org.za/cgi-bin/rwhois?domain={domain}.org.za&format=full'
2003-02-16 00:26:42 +00:00
);
/* handled gTLD whois servers */
$this->WHOIS_GTLD_HANDLER = array(
'whois.bulkregister.com' => 'enom',
2008-03-05 18:09:52 +00:00
'whois.dotregistrar.com' => 'dotster',
2007-04-17 09:28:45 +00:00
'whois.namesdirect.com' => 'dotster',
'whois.psi-usa.info' => 'psiusa',
'whois.www.tv' => 'tvcorp',
2008-05-17 17:49:17 +00:00
'whois.tucows.com' => 'opensrs',
2010-08-11 12:27:42 +00:00
'whois.35.com' => 'onlinenic',
'whois.nominalia.com' => 'genericb',
'whois.encirca.com' => 'genericb',
'whois.corenic.net' => 'genericb'
);
/* Non ICANN TLD's */
$this->WHOIS_NON_ICANN = array (
'agent' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'agente' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'america' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'amor' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'amore' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'amour' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'arte' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'artes' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'arts' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'asta' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'auction' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'auktion' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'boutique' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'chat' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'chiesa' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'church' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'cia' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'ciao' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'cie' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'club' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'clube' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'com2' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'deporte' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'ditta' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'earth' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'eglise' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'enchere' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'escola' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'escuela' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'esporte' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'etc' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'famiglia' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'familia' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'familie' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'family' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'free' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'hola' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'game' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'ges' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'gmbh' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'golf' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'gratis' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'gratuit' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'iglesia' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'igreja' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'inc' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'jeu' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'jogo' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'juego' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'kids' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'kirche' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'krunst' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'law' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'legge' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'lei' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'leilao' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'ley' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'liebe' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'lion' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'llc' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'llp' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'loi' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'loja' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'love' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'ltd' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'makler' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'med' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'mp3' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'not' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'online' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'recht' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'reise' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'resto' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'school' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'schule' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'scifi' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'scuola' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'shop' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'soc' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'spiel' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'sport' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'subasta' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'tec' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'tech' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'tienda' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'travel' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'turismo' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'usa' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}',
'verein' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'viaje' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'viagem' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'video' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'voyage' => 'http://www.new.net/search_whois.tp?domain={domain}&tld={tld}',
'z' => 'http://www.adns.net/whois.php?txtDOMAIN={domain}.{tld}'
);
2003-01-18 11:51:20 +00:00
?>