Files
archived-web-master/scripts/countries.inc
Peter Kokot 0e511803a5 Refactor long array() syntax to short []
Since app is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`.
2018-12-10 03:26:03 +01:00

262 lines
7.4 KiB
PHP

<?php
/* GeoDNS zone IDs @ EasyDNS */
//"country-code" => "geozone_id", //geozone_name
return [
"NA East" => 1, //North America East
"NA West" => 2, //North America West
"Europe" => "3", //Europe
"Asia" => "4", //Asia
"North America" => 5, //North America
"South America" => 255, //South America
"AD" => "6", //Andorra
"AE" => "7", //United Arab Emirates
"AF" => "8", //Afghanistan
"AG" => "9", //Antigua and Barbuda
"AI" => "10", //Anguilla
"AL" => "11", //Albania
"AM" => "12", //Armenia
"AO" => "13", //Angola
"AQ" => "14", //Antarctica
"AR" => "15", //Argentina
"AS" => "16", //American Samoa
"AT" => "17", //Austria
"AU" => "18", //Australia
"AW" => "19", //Aruba
"AX" => "20", //Aland Islands
"AZ" => "21", //Azerbaijan
"BA" => "22", //Bosnia and Herzegovina
"BB" => "23", //Barbados
"BD" => "24", //Bangladesh
"BE" => "25", //Belgium
"BF" => "26", //Burkina Faso
"BG" => "27", //Bulgaria
"BH" => "28", //Bahrain
"BI" => "29", //Burundi
"BJ" => "30", //Benin
"BL" => "31", //Saint Bartelemey
"BM" => "32", //Bermuda
"BN" => "33", //Brunei Darussalam
"BO" => "34", //Bolivia
"BQ" => "35", //Bonaire, Saint Eustatius and Saba
"BR" => "36", //Brazil
"BS" => "37", //Bahamas
"BT" => "38", //Bhutan
"BV" => "39", //Bouvet Island
"BW" => "40", //Botswana
"BY" => "41", //Belarus
"BZ" => "42", //Belize
"CA" => "43", //Canada
"CC" => "44", //Cocos (Keeling) Islands
"CD" => "45", //Congo, The Democratic Republic of the
"CF" => "46", //Central African Republic
"CG" => "47", //Congo
"CH" => "48", //Switzerland
"CI" => "49", //Cote d'Ivoire
"CK" => "50", //Cook Islands
"CL" => "51", //Chile
"CM" => "52", //Cameroon
"CN" => "53", //China
"CO" => "54", //Colombia
"CR" => "55", //Costa Rica
"CU" => "56", //Cuba
"CV" => "57", //Cape Verde
"CW" => "58", //Curacao
"CX" => "59", //Christmas Island
"CY" => "60", //Cyprus
"CZ" => "61", //Czech Republic
"DE" => "62", //Germany
"DJ" => "63", //Djibouti
"DK" => "64", //Denmark
"DM" => "65", //Dominica
"DO" => "66", //Dominican Republic
"DZ" => "67", //Algeria
"EC" => "68", //Ecuador
"EE" => "69", //Estonia
"EG" => "70", //Egypt
"EH" => "71", //Western Sahara
"ER" => "72", //Eritrea
"ES" => "73", //Spain
"ET" => "74", //Ethiopia
"FI" => "75", //Finland
"FJ" => "76", //Fiji
"FK" => "77", //Falkland Islands (Malvinas)
"FM" => "78", //Micronesia, Federated States of
"FO" => "79", //Faroe Islands
"FR" => "80", //France
"GA" => "81", //Gabon
"GB" => "82", //United Kingdom
"GD" => "83", //Grenada
"GE" => "84", //Georgia
"GF" => "85", //French Guiana
"GG" => "86", //Guernsey
"GH" => "87", //Ghana
"GI" => "88", //Gibraltar
"GL" => "89", //Greenland
"GM" => "90", //Gambia
"GN" => "91", //Guinea
"GP" => "92", //Guadeloupe
"GQ" => "93", //Equatorial Guinea
"GR" => "94", //Greece
"GS" => "95", //South Georgia and the South Sandwich Islands
"GT" => "96", //Guatemala
"GU" => "97", //Guam
"GW" => "98", //Guinea-Bissau
"GY" => "99", //Guyana
"HK" => "100", //Hong Kong
"HM" => "101", //Heard Island and McDonald Islands
"HN" => "102", //Honduras
"HR" => "103", //Croatia
"HT" => "104", //Haiti
"HU" => "105", //Hungary
"ID" => "106", //Indonesia
"IE" => "107", //Ireland
"IL" => "108", //Israel
"IM" => "109", //Isle of Man
"IN" => "110", //India
"IO" => "111", //British Indian Ocean Territory
"IQ" => "112", //Iraq
"IR" => "113", //Iran, Islamic Republic of
"IS" => "114", //Iceland
"IT" => "115", //Italy
"JE" => "116", //Jersey
"JM" => "117", //Jamaica
"JO" => "118", //Jordan
"JP" => "119", //Japan
"KE" => "120", //Kenya
"KG" => "121", //Kyrgyzstan
"KH" => "122", //Cambodia
"KI" => "123", //Kiribati
"KM" => "124", //Comoros
"KN" => "125", //Saint Kitts and Nevis
"KP" => "126", //Korea, Democratic People's Republic of
"KR" => "127", //Korea, Republic of
"KW" => "128", //Kuwait
"KY" => "129", //Cayman Islands
"KZ" => "130", //Kazakhstan
"LA" => "131", //Lao People's Democratic Republic
"LB" => "132", //Lebanon
"LC" => "133", //Saint Lucia
"LI" => "134", //Liechtenstein
"LK" => "135", //Sri Lanka
"LR" => "136", //Liberia
"LS" => "137", //Lesotho
"LT" => "138", //Lithuania
"LU" => "139", //Luxembourg
"LV" => "140", //Latvia
"LY" => "141", //Libyan Arab Jamahiriya
"MA" => "142", //Morocco
"MC" => "143", //Monaco
"MD" => "144", //Moldova, Republic of
"ME" => "145", //Montenegro
"MF" => "146", //Saint Martin
"MG" => "147", //Madagascar
"MH" => "148", //Marshall Islands
"MK" => "149", //Macedonia
"ML" => "150", //Mali
"MM" => "151", //Myanmar
"MN" => "152", //Mongolia
"MO" => "153", //Macao
"MP" => "154", //Northern Mariana Islands
"MQ" => "155", //Martinique
"MR" => "156", //Mauritania
"MS" => "157", //Montserrat
"MT" => "158", //Malta
"MU" => "159", //Mauritius
"MV" => "160", //Maldives
"MW" => "161", //Malawi
"MX" => "162", //Mexico
"MY" => "163", //Malaysia
"MZ" => "164", //Mozambique
"NA" => "165", //Namibia
"NC" => "166", //New Caledonia
"NE" => "167", //Niger
"NF" => "168", //Norfolk Island
"NG" => "169", //Nigeria
"NI" => "170", //Nicaragua
"NL" => "171", //Netherlands
"NO" => "172", //Norway
"NP" => "173", //Nepal
"NR" => "174", //Nauru
"NU" => "175", //Niue
"NZ" => "176", //New Zealand
"OM" => "177", //Oman
"PA" => "178", //Panama
"PE" => "179", //Peru
"PF" => "180", //French Polynesia
"PG" => "181", //Papua New Guinea
"PH" => "182", //Philippines
"PK" => "183", //Pakistan
"PL" => "184", //Poland
"PM" => "185", //Saint Pierre and Miquelon
"PN" => "186", //Pitcairn
"PR" => "187", //Puerto Rico
"PS" => "188", //Palestinian Territory
"PT" => "189", //Portugal
"PW" => "190", //Palau
"PY" => "191", //Paraguay
"QA" => "192", //Qatar
"RE" => "193", //Reunion
"RO" => "194", //Romania
"RS" => "195", //Serbia
"RU" => "196", //Russian Federation
"RW" => "197", //Rwanda
"SA" => "198", //Saudi Arabia
"SB" => "199", //Solomon Islands
"SC" => "200", //Seychelles
"SD" => "201", //Sudan
"SE" => "202", //Sweden
"SG" => "203", //Singapore
"SH" => "204", //Saint Helena
"SI" => "205", //Slovenia
"SJ" => "206", //Svalbard and Jan Mayen
"SK" => "207", //Slovakia
"SL" => "208", //Sierra Leone
"SM" => "209", //San Marino
"SN" => "210", //Senegal
"SO" => "211", //Somalia
"SR" => "212", //Suriname
"SS" => "213", //South Sudan
"ST" => "214", //Sao Tome and Principe
"SV" => "215", //El Salvador
"SX" => "216", //Sint Maarten
"SY" => "217", //Syrian Arab Republic
"SZ" => "218", //Swaziland
"TC" => "219", //Turks and Caicos Islands
"TD" => "220", //Chad
"TF" => "221", //French Southern Territories
"TG" => "222", //Togo
"TH" => "223", //Thailand
"TJ" => "224", //Tajikistan
"TK" => "225", //Tokelau
"TL" => "226", //Timor-Leste
"TM" => "227", //Turkmenistan
"TN" => "228", //Tunisia
"TO" => "229", //Tonga
"TR" => "230", //Turkey
"TT" => "231", //Trinidad and Tobago
"TV" => "232", //Tuvalu
"TW" => "233", //Taiwan
"TZ" => "234", //Tanzania, United Republic of
"UA" => "235", //Ukraine
"UG" => "236", //Uganda
"UM" => "237", //United States Minor Outlying Islands
"US" => "238", //United States
"UY" => "239", //Uruguay
"UZ" => "240", //Uzbekistan
"VA" => "241", //Holy See (Vatican City State)
"VC" => "242", //Saint Vincent and the Grenadines
"VE" => "243", //Venezuela
"VG" => "244", //Virgin Islands, British
"VI" => "245", //Virgin Islands, U.S.
"VN" => "246", //Vietnam
"VU" => "247", //Vanuatu
"WF" => "248", //Wallis and Futuna
"WS" => "249", //Samoa
"YE" => "250", //Yemen
"YT" => "251", //Mayotte
"ZA" => "252", //South Africa
"ZM" => "253", //Zambia
"ZW" => "254", //Zimbabwe
];