OSDN Git Service

htmlsc(): Just sugar for htmlspecialchars(), and a foundation
[pukiwiki/pukiwiki_sandbox.git] / spam / domain.ini.php
index 389b264..e3dcf2e 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: domain.ini.php,v 1.6 2007/07/15 14:14:28 henoheno Exp $
+// $Id: domain.ini.php,v 1.16 2008/07/19 01:11:09 henoheno Exp $
 // Domain related setting
 
 // Domains who have 2nd and/or 3rd level domains
@@ -7,6 +7,68 @@ $domain   = array();
 $_pattern = array();
 
 // ------------------------------
+// ccTLD: Antigua and Barbuda
+// NIC  : http://www.nic.ag/
+// Whois: http://ns1.nic.ag/tools/whois.pl
+$domain['ag'] = array(
+       // AG Blocked or Reserved Domain Names Policy
+       // http://www.nic.ag/reserved-names-policy.htm
+       // "Available extensions are .AG, .COM.AG, .ORG.AG, .NET.AG, .CO.AG, and .NOM.AG."
+       // http://www.nic.ag/
+       'co'  => TRUE,
+       'com' => TRUE,
+       'net' => TRUE,
+       'nom' => TRUE,
+       'org' => TRUE,
+);
+
+// ------------------------------
+// ccTLD: Anguilla
+// NIC  : http://nic.com.ai/
+// Whois: http://whois.ai/
+$domain['ai'] = array(
+       // "Anguilla domains of ".ai", "off.ai", "com.ai", "net.ai",
+       //  and "org.ai" can be registered by anyone. The cost is
+       //  $100 every 2 years."
+       'com' => TRUE,
+       'net' => TRUE,
+       'off' => TRUE,
+       'org' => TRUE,
+);
+
+// ------------------------------
+// ccTLD: Argentina
+// NIC  : http://www.nic.ar/
+// Whois: http://www.nic.ar/
+$domain['ar'] = array(
+       // http://www.nic.ar/en/faq1.html
+       // 18. "How can I register an .edu.ar domain?"
+       // 25. "Which subdomains are authorized under .AR and what are the requirements?"
+       'com' => TRUE,
+       'edu' => TRUE,
+       'gov' => TRUE,
+       'int' => TRUE,
+       'mil' => TRUE,
+       'net' => TRUE,
+       'org' => TRUE,
+);
+
+// ------------------------------
+// ccTLD: Austria
+// NIC  : http://www.nic.at/en/
+// Whois: http://www.nic.at/en/domainsuche/
+$domain['at'] = array(
+       // "nic.at administrates the data of all domains below .at, .co.at and .or.at."
+       // http://www.nic.at/en/uebernic/
+       // 'ac' is reserved, 'gv' are governmental use
+       // http://www.nic.at/en/faq/domain_registration/
+       'co' => TRUE,
+       'or' => TRUE,
+       'ac' => TRUE,
+       'gv' => TRUE,
+);
+
+// ------------------------------
 // ccTLD: Australia
 // http://www.auda.org.au/
 // NIC  : http://www.aunic.net/
@@ -38,6 +100,32 @@ $domain['au'] = array(
 );
 
 // ------------------------------
+// ccTLD: Azerbaijan
+// NIC  : http://nic.az/
+// Whois: http://nic.az/
+$domain['az'] = array(
+       // "The .az, com.az, net.az, int.az, gov.az, org.az,
+       //  .edu.az, .info.az, .pp.az, .mil.az, .name.az,
+       //   pro.az and biz.az names are open and unrestricted"
+       // http://nic.az/
+       // http://www.whois.az/cgi-bin/stat.cgi?lang=en
+       'biz'   => TRUE,
+       'co'    => TRUE,        // Not open and restricted?
+       'com'   => TRUE,
+       'edu'   => TRUE,
+       'ganja' => TRUE,        // Not open and restricted?
+       'gov'   => TRUE,
+       'info'  => TRUE,
+       'int'   => TRUE,
+       'mil'   => TRUE,
+       'name'  => TRUE,
+       'net'   => TRUE,
+       'org'   => TRUE,
+       'pp'    => TRUE,
+       'pro'   => TRUE,
+);
+
+// ------------------------------
 // ccTLD: Bahrain
 // NIC  : http://www.inet.com.bh/ (.bh policies not found)
 // Whois: (Not available) http://www.inet.com.bh/
@@ -84,38 +172,38 @@ $domain['br'] = array(
        'tv'   => TRUE,
 
        // Categories for professionals
-       'adm' => TRUE, // Administrators
-       'adv' => TRUE, // Advocates (Lawers)
-       'arq' => TRUE, // Architects
-       'ato' => TRUE, // Actors
-       'bio' => TRUE, // Biologists
-       'bmd' => TRUE, // Biomedics
-       'cim' => TRUE, // Correctors
-       'cng' => TRUE, // Scenographers
-       'cnt' => TRUE, // Counter (Accountants)
-       'ecn' => TRUE, // Economists
-       'eng' => TRUE, // Engineers
-       'eti' => TRUE, // IT specialists
-       'fnd' => TRUE, // 'Fonoaudiologos', Speech therapists?
-       'fot' => TRUE, // Photographers
-       'fst' => TRUE, // Physiotherapists
-       'ggf' => TRUE, // Geographers
-       'jor' => TRUE, // Journalists
-       'lel' => TRUE, // Auctioneers
-       'mat' => TRUE, // Mathematicians and Statisticians
-       'med' => TRUE, // Doctors
-       'mus' => TRUE, // Musicians
-       'not' => TRUE, // Notaries
-       'ntr' => TRUE, // Nutritionists
-       'odo' => TRUE, // Dentists
-       'ppg' => TRUE, // (Propaganda) Advertising executives and professionals
-       'pro' => TRUE, // Professors
-       'psc' => TRUE, // Psychologists
-       'qsl' => TRUE, // Amateur radio operators
-       'slg' => TRUE, // Sociologists
-       'trd' => TRUE, // Translators
-       'vet' => TRUE, // Veterinarians
-       'zlg' => TRUE, // Zoologists
+       'adm'  => TRUE, // Administrators
+       'adv'  => TRUE, // Advocates (Lawers)
+       'arq'  => TRUE, // Architects
+       'ato'  => TRUE, // Actors
+       'bio'  => TRUE, // Biologists
+       'bmd'  => TRUE, // Biomedics
+       'cim'  => TRUE, // Correctors
+       'cng'  => TRUE, // Scenographers
+       'cnt'  => TRUE, // Counter (Accountants)
+       'ecn'  => TRUE, // Economists
+       'eng'  => TRUE, // Engineers
+       'eti'  => TRUE, // IT specialists
+       'fnd'  => TRUE, // 'Fonoaudiologos', Speech therapists?
+       'fot'  => TRUE, // Photographers
+       'fst'  => TRUE, // Physiotherapists
+       'ggf'  => TRUE, // Geographers
+       'jor'  => TRUE, // Journalists
+       'lel'  => TRUE, // Auctioneers
+       'mat'  => TRUE, // Mathematicians and Statisticians
+       'med'  => TRUE, // Doctors
+       'mus'  => TRUE, // Musicians
+       'not'  => TRUE, // Notaries
+       'ntr'  => TRUE, // Nutritionists
+       'odo'  => TRUE, // Dentists
+       'ppg'  => TRUE, // (Propaganda) Advertising executives and professionals
+       'pro'  => TRUE, // Professors
+       'psc'  => TRUE, // Psychologists
+       'qsl'  => TRUE, // Amateur radio operators
+       'slg'  => TRUE, // Sociologists
+       'trd'  => TRUE, // Translators
+       'vet'  => TRUE, // Veterinarians
+       'zlg'  => TRUE, // Zoologists
 
        // Categories for people
        'blog' => TRUE,
@@ -126,6 +214,17 @@ $domain['br'] = array(
 );
 
 // ------------------------------
+// ccTLD: Belize
+// NIC  : http://www.belizenic.bz/
+// Whois: http://www.belizenic.bz/
+$domain['bz'] = array(
+       // http://www.belizenic.bz/reg-guide.php
+       'com' => TRUE,
+       'net' => TRUE,
+       'org' => TRUE,
+);
+
+// ------------------------------
 // ccTLD: China
 // NIC  : http://www.cnnic.net.cn/en/index/
 // Whois: http://ewhois.cnnic.cn/
@@ -179,6 +278,122 @@ $domain['cn'] = array(
 );
 
 // ------------------------------
+// ccTLD: Dominican Republic
+// NIC  : http://www.nic.do/ingles/
+// Whois: http://www.nic.do/whois-hin.php3
+$domain['do'] = array(
+       // Frequently Asked Questions: 1. What is domain DO?
+       // http://www.nic.do/ingles/faq.php3
+       'art' => TRUE,
+       'com' => TRUE,
+       'edu' => TRUE,
+       'gob' => TRUE,
+       'gov' => TRUE,
+       'mil' => TRUE,
+       'net' => TRUE,
+       'org' => TRUE,
+       'sld' => TRUE,
+       'web' => TRUE,
+);
+
+// ------------------------------
+// ccTLD: Guyana
+// NIC  : http://registry.gy/
+// Whois: http://registry.gy/whois.php
+$domain['gy'] = array(
+       // Registration
+       // http://registry.gy/register.html
+       'co'  => TRUE,
+       'com' => TRUE,
+       'net' => TRUE,
+);
+
+// ------------------------------
+// ccTLD: Heard and McDonald Islands
+// NIC  : http://www.registry.hm/
+// Whois: http://www.registry.hm/HR_whois.php
+$domain['hm'] = array(
+       // REGISTRY.HM Registration Policy
+       // http://www.registry.hm/HR_conditions.php
+       // No information here, but there maybe at least three reserved domains
+       'com' => TRUE,
+       'net' => TRUE,
+       'org' => TRUE,
+);
+
+// ------------------------------
+// ccTLD: Hungary
+// NIC  : http://www.nic.hu/English/
+// Whois: http://www.domain.hu/domain/English/domainsearch/
+$domain['hu'] = array(
+       // Delegation rules - Secondary level public domains
+       // http://www.domain.hu/domain/English/sld.html
+       '2000'     => TRUE,
+       'agrar'    => TRUE,
+       'bolt'     => TRUE,
+       'casino'   => TRUE,
+       'city'     => TRUE,
+       'co'       => TRUE,
+       'erotica'  => TRUE,
+       'erotika'  => TRUE,
+       'film'     => TRUE,
+       'forum'    => TRUE,
+       'games'    => TRUE,
+       'hotel'    => TRUE,
+       'info'     => TRUE,
+       'ingatlan' => TRUE,
+       'jogasz'   => TRUE,
+       'konyvelo' => TRUE,
+       'lakas'    => TRUE,
+       'media'    => TRUE,
+       'news'     => TRUE,
+       'org'      => TRUE,
+       'priv'     => TRUE,
+       'reklam'   => TRUE,
+       'sex'      => TRUE,
+       'shop'     => TRUE,
+       'sport'    => TRUE,
+       'suli'     => TRUE,
+       'szex'     => TRUE,
+       'tm'       => TRUE,
+       'tozsde'   => TRUE,
+       'utazas'   => TRUE,
+       'video'    => TRUE,
+
+       // Delegation rules - List of protected names
+       // http://www.domain.hu/domain/English/specnev.html
+       // Some of restricted domains seems available like 'ac', and 'gov'.
+       'ac'     => TRUE,
+       'arpa'   => TRUE,
+       'biz'    => TRUE,
+       'co'     => TRUE,
+       'com'    => TRUE,
+       'dns'    => TRUE,
+       'e-mail' => TRUE,
+       'email'  => TRUE,
+       'firm'   => TRUE,
+       'ftp'    => TRUE,
+       'gov'    => TRUE,
+       'ind'    => TRUE,
+       'info'   => TRUE,
+       'internet' => TRUE,
+       'iskola' => TRUE,
+       'mail'   => TRUE,
+       'mx'     => TRUE,
+       'net'    => TRUE,
+       'nom'    => TRUE,
+       'ns'     => TRUE,
+       'nui'    => TRUE,
+       'org'    => TRUE,
+       'pp'     => TRUE,
+       'priv'   => TRUE,
+       'sport'  => TRUE,
+       'tm'     => TRUE,
+       'web'    => TRUE,
+       'www'    => TRUE,
+);
+
+// ------------------------------
 // ccTLD: India
 // NIC  : http://www.inregistry.in/
 // Whois: http://www.inregistry.in/whois_search/
@@ -199,48 +414,6 @@ $domain['in'] = array(
 );
 
 // ------------------------------
-// ccTLD: South Korea
-// NIC  : http://www.nic.or.kr/english/
-// Whois: http://whois.nida.or.kr/english/
-$domain['kr'] = array(
-       // .kr domain policy [appendix 1] : Qualifications for Second Level Domains
-       // http://domain.nida.or.kr/eng/policy.jsp
-
-       // Organizational
-       'co'  => TRUE,
-       'ne ' => TRUE,
-       'or ' => TRUE,
-       're ' => TRUE,
-       'pe'  => TRUE,
-       'go ' => TRUE,
-       'mil' => TRUE,
-       'ac'  => TRUE,
-       'hs'  => TRUE,
-       'ms'  => TRUE,
-       'es'  => TRUE,
-       'sc'  => TRUE,
-       'kg'  => TRUE,
-
-       // Geographic
-       'seoul'     => TRUE,
-       'busan'     => TRUE,
-       'daegu'     => TRUE,
-       'incheon'   => TRUE,
-       'gwangju'   => TRUE,
-       'daejeon'   => TRUE,
-       'ulsan'     => TRUE,
-       'gyeonggi'  => TRUE,
-       'gangwon'   => TRUE,
-       'chungbuk'  => TRUE,
-       'chungnam'  => TRUE,
-       'jeonbuk'   => TRUE,
-       'jeonnam'   => TRUE,
-       'gyeongbuk' => TRUE,
-       'gyeongnam' => TRUE,
-       'jeju'      => TRUE,
-);
-
-// ------------------------------
 // ccTLD: Japan
 // NIC  : http://jprs.co.jp/en/
 // Whois: http://whois.jprs.jp/en/
@@ -327,6 +500,65 @@ $domain['jp'] = array(
 );
 
 // ------------------------------
+// ccTLD: South Korea
+// NIC  : http://www.nic.or.kr/english/
+// Whois: http://whois.nida.or.kr/english/
+$domain['kr'] = array(
+       // .kr domain policy [appendix 1] : Qualifications for Second Level Domains
+       // http://domain.nida.or.kr/eng/policy.jsp
+
+       // Organizational
+       'co'  => TRUE,
+       'ne ' => TRUE,
+       'or ' => TRUE,
+       're ' => TRUE,
+       'pe'  => TRUE,
+       'go ' => TRUE,
+       'mil' => TRUE,
+       'ac'  => TRUE,
+       'hs'  => TRUE,
+       'ms'  => TRUE,
+       'es'  => TRUE,
+       'sc'  => TRUE,
+       'kg'  => TRUE,
+
+       // Geographic
+       'seoul'     => TRUE,
+       'busan'     => TRUE,
+       'daegu'     => TRUE,
+       'incheon'   => TRUE,
+       'gwangju'   => TRUE,
+       'daejeon'   => TRUE,
+       'ulsan'     => TRUE,
+       'gyeonggi'  => TRUE,
+       'gangwon'   => TRUE,
+       'chungbuk'  => TRUE,
+       'chungnam'  => TRUE,
+       'jeonbuk'   => TRUE,
+       'jeonnam'   => TRUE,
+       'gyeongbuk' => TRUE,
+       'gyeongnam' => TRUE,
+       'jeju'      => TRUE,
+);
+
+// ------------------------------
+// ccTLD: Moldova (No whois server)
+// NIC  : http://www.register.md/
+// Whois:
+//   http://www.max.md/whois/ Second level only
+//   http://www.host.md/
+$domain['md'] = array(
+       // http://www.host.md/ by MoldData (http://www.molddata.md/)
+       // "MoldData, a state enterprise" http://www.iana.org/reports/md-report-22oct03.htm
+       // http://www.molddata.md/services/domain/molddata.txt
+       'com'  => TRUE,
+       'co'   => TRUE,
+       'info' => TRUE,
+       'org'  => TRUE,
+       'host' => TRUE,
+);
+
+// ------------------------------
 // ccTLD: Mexico
 // NIC  : http://www.nic.mx/
 // Whois: http://www.nic.mx/es/Busqueda.Who_Is
@@ -341,6 +573,48 @@ $domain['mx'] = array(
 );
 
 // ------------------------------
+// ccTLD: Montenegro
+// NIC  : http://www.nic.me/
+// Whois: http://www.nic.me/
+$domain['me'] = array(
+       // http://www.domain.me/index.php?page=6
+       'co'  => TRUE,
+       'its' => TRUE,
+       'net' => TRUE,
+       'org' => TRUE,
+       'priv' => TRUE,
+
+       'ac'  => TRUE,
+       'edu' => TRUE,
+       'gob' => TRUE,
+);
+
+// ------------------------------
+// ccTLD: New Zealand
+// NIC  : http://www.dnc.org.nz/
+// Whois: http://www.dnc.org.nz/
+$domain['nz'] = array(
+       // Second Level Domains
+       // http://www.dnc.org.nz/content/second_level_domains.pdf
+       'ac'     => TRUE,
+       'co'     => TRUE,
+       'gen'    => TRUE,
+       'geek'   => TRUE,
+       'maori'  => TRUE,
+       'net'    => TRUE,
+       'org'    => TRUE,
+       'school' => TRUE,
+
+       // policies and procedures: Moderated Second Level Domains
+       // http://www.dnc.org.nz/story/30043-35-1.html
+       'cri'        => TRUE, // Crown Research Institutes
+       'govt'       => TRUE,
+       'iwi'        => TRUE, // Traditional Maori tribes
+       'mil'        => TRUE,
+       'parliament' => TRUE,
+);
+
+// ------------------------------
 // ccTLD: Poland
 // NIC  : http://www.dns.pl/english/
 // Whois: http://www.dns.pl/cgi-bin/en_whois.pl
@@ -717,84 +991,33 @@ $domain['ua'] = array(
        'net' => TRUE,
        'org' => TRUE,
 
-       // Regional
-       'cherkassy'  => TRUE,
-       'ck'         => TRUE,
-
-       'chernigov'  => TRUE,
-       'cn'         => TRUE,
-
-       'chernovtsy' => TRUE,
-       'cv'         => TRUE,
-
-       'crimea'     => TRUE,
-       'cr'         => TRUE,
-
-       'dnepropetrovsk' => TRUE,
-       'dp'             => TRUE,
-
-       'donetsk'    => TRUE,
-       'dn'         => TRUE,
-
-       'ivano-frankivsk' => TRUE,
-       'if'              => TRUE,
-
-       'kharkov'    => TRUE,
-       'kh'         => TRUE,
-
-       'kherson'    => TRUE,
-       'ks'         => TRUE,
-
-       'khmelnitskiy' => TRUE,
-       'km'           => TRUE,
-
-       'kiev'       => TRUE,
-       'kv'         => TRUE,
-
-       'kirovograd' => TRUE,
-       'kr'         => TRUE,
-
-       'lugansk'    => TRUE,
-       'lg'         => TRUE,
-
-       'lutsk'      => TRUE,
-       'lt'         => TRUE,
-
-       'lviv'       => TRUE,
-       'lv'         => TRUE,
-
-       'nikolaev'   => TRUE,
-       'mk'         => TRUE,
-
-       'odessa'     => TRUE,
-       'od'         => TRUE,
-
-       'poltava'    => TRUE,
-       'pl'         => TRUE,
-
-       'rovno'      => TRUE,
-       'rv'         => TRUE,
-
-       'sebastopol' => TRUE,
-       'sb'         => TRUE,
-
-       'sumy'       => TRUE,
-       'sm'         => TRUE,
-
-       'ternopil'   => TRUE,
-       'te'         => TRUE, // Seems not 'tr'
-
-       'uzhgorod'   => TRUE,
-       'uz'         => TRUE,
-
-       'vinnica'    => TRUE,
-       'vn'         => TRUE,
-
-       'zaporizhzhe' => TRUE,
-       'zp'          => TRUE,
-
-       'zhitomir'   => TRUE,
-       'zt'         => TRUE,
+       // Regional (long and short)
+       'cherkassy'       => TRUE,      'ck' => TRUE,
+       'chernigov'       => TRUE,      'cn' => TRUE,
+       'chernovtsy'      => TRUE,      'cv' => TRUE,
+       'crimea'          => TRUE,      'cr' => TRUE,
+       'dnepropetrovsk'  => TRUE,      'dp' => TRUE,
+       'donetsk'         => TRUE,      'dn' => TRUE,
+       'ivano-frankivsk' => TRUE,      'if' => TRUE,
+       'kharkov'         => TRUE,      'kh' => TRUE,
+       'kherson'         => TRUE,      'ks' => TRUE,
+       'khmelnitskiy'    => TRUE,      'km' => TRUE,
+       'kiev'            => TRUE,      'kv' => TRUE,
+       'kirovograd'      => TRUE,      'kr' => TRUE,
+       'lugansk'         => TRUE,      'lg' => TRUE,
+       'lutsk'           => TRUE,      'lt' => TRUE,
+       'lviv'            => TRUE,      'lv' => TRUE,
+       'nikolaev'        => TRUE,      'mk' => TRUE,
+       'odessa'          => TRUE,      'od' => TRUE,
+       'poltava'         => TRUE,      'pl' => TRUE,
+       'rovno'           => TRUE,      'rv' => TRUE,
+       'sebastopol'      => TRUE,      'sb' => TRUE,
+       'sumy'            => TRUE,      'sm' => TRUE,
+       'ternopil'        => TRUE,      'te' => TRUE, // Seems not 'tr'
+       'uzhgorod'        => TRUE,      'uz' => TRUE,
+       'vinnica'         => TRUE,      'vn' => TRUE,
+       'zaporizhzhe'     => TRUE,      'zp' => TRUE,
+       'zhitomir'        => TRUE,      'zt' => TRUE,
 );
 
 // ------------------------------