comparison tld.conf @ 248:b0738685bf51

latest tld list; fix uninitialized variable
author Carl Byington <carl@five-ten-sg.com>
date Fri, 06 Jan 2012 22:07:45 -0800
parents 44ffef730bc4
children f92f24950bd3
comparison
equal deleted inserted replaced
247:33d080ace816 248:b0738685bf51
1 # 1 #
2 # icann tlds from http://www.icann.org/registries/listing.html as of 2008-04-30 2 # icann tlds from http://www.icann.org/registries/listing.html as of 2012-01-06
3 # 3 #
4 aero 4 aero
5 asia 5 asia
6 biz 6 biz
7 cat 7 cat
16 mobi 16 mobi
17 museum 17 museum
18 name 18 name
19 net 19 net
20 org 20 org
21 post
21 pro 22 pro
22 tel 23 tel
23 travel 24 travel
25 xxx
24 26
25 # 27 #
26 # iana root tlds from http://www.iana.org/cctld/cctld-whois.htm as of 2008-04-30 28 # iana root tlds from http://www.iana.org/domains/root/db/ as of 2012-01-06
27 # 29 #
28 # curl http://www.iana.org/domains/root/db/ 2>/dev/null | \ 30 curl http://www.iana.org/domains/root/db/ 2>/dev/null | \
29 # grep root.db.*country-code | \ 31 grep '<td>.*' | (\
30 # sed -e 's/.*root.db.\(..\)\.html.*code.........\([^<]*\)<.*/\1 # \2/g' | \ 32 while read tld; do
31 # sort >yyy 33 read ty
34 read name
35 tld=$(echo $tld | sed -r -e 's/^.*\/db\/(.*)\.html.*$/\1/g')
36 ty=$(echo $ty | sed -r -e 's/^.*<td>(.*)<\/td>.*$/\1/g')
37 name=$(echo $name | sed -r -e 's/^.*<td>(.*)<br\/>.*$/\1/g')
38 [ $ty == "country-code" ] && echo "$tld # $name"
39 done ) | sort >yyy
32 # 40 #
33 ac # Ascension Island 41 ac # Ascension Island
34 ad # Andorra 42 ad # Andorra
35 ae # United Arab Emirates 43 ae # United Arab Emirates
36 af # Afghanistan 44 af # Afghanistan
37 ag # Antigua and Barbuda 45 ag # Antigua and Barbuda
38 ai # Anguilla 46 ai # Anguilla
39 al # Albania 47 al # Albania
40 am # Armenia 48 am # Armenia
41 an # Netherlands Antilles 49 an # Netherlands Antilles (being phased out)
42 ao # Angola 50 ao # Angola
43 aq # Antarctica 51 aq # Antarctica
44 ar # Argentina 52 ar # Argentina
45 as # American Samoa 53 as # American Samoa
46 at # Austria 54 at # Austria
59 bj # Benin 67 bj # Benin
60 bl # Saint Barthelemy 68 bl # Saint Barthelemy
61 bm # Bermuda 69 bm # Bermuda
62 bn # Brunei Darussalam 70 bn # Brunei Darussalam
63 bo # Bolivia 71 bo # Bolivia
72 bq # Bonaire, Sint Eustatius and Saba
64 br # Brazil 73 br # Brazil
65 bs # Bahamas 74 bs # Bahamas
66 bt # Bhutan 75 bt # Bhutan
67 bv # Bouvet Island 76 bv # Bouvet Island
68 bw # Botswana 77 bw # Botswana
72 cc # Cocos (Keeling) Islands 81 cc # Cocos (Keeling) Islands
73 cd # Congo, The Democratic Republic of the 82 cd # Congo, The Democratic Republic of the
74 cf # Central African Republic 83 cf # Central African Republic
75 cg # Congo 84 cg # Congo
76 ch # Switzerland 85 ch # Switzerland
77 ci # Cote d'Ivoire 86 ci # Cote d&#39;Ivoire
78 ck # Cook Islands 87 ck # Cook Islands
79 cl # Chile 88 cl # Chile
80 cm # Cameroon 89 cm # Cameroon
81 cn # China 90 cn # China
82 co # Colombia 91 co # Colombia
83 cr # Costa Rica 92 cr # Costa Rica
84 cu # Cuba 93 cu # Cuba
85 cv # Cape Verde 94 cv # Cape Verde
95 cw # CuraƧao
86 cx # Christmas Island 96 cx # Christmas Island
87 cy # Cyprus 97 cy # Cyprus
88 cz # Czech Republic 98 cz # Czech Republic
89 de # Germany 99 de # Germany
90 dj # Djibouti 100 dj # Djibouti
149 kg # Kyrgyzstan 159 kg # Kyrgyzstan
150 kh # Cambodia 160 kh # Cambodia
151 ki # Kiribati 161 ki # Kiribati
152 km # Comoros 162 km # Comoros
153 kn # Saint Kitts and Nevis 163 kn # Saint Kitts and Nevis
154 kp # Korea, Democratic People's Republic of 164 kp # Korea, Democratic People&#39;s Republic of
155 kr # Korea, Republic of 165 kr # Korea, Republic of
156 kw # Kuwait 166 kw # Kuwait
157 ky # Cayman Islands 167 ky # Cayman Islands
158 kz # Kazakhstan 168 kz # Kazakhstan
159 la # Lao People's Democratic Republic 169 la # Lao People&#39;s Democratic Republic
160 lb # Lebanon 170 lb # Lebanon
161 lc # Saint Lucia 171 lc # Saint Lucia
162 li # Liechtenstein 172 li # Liechtenstein
163 lk # Sri Lanka 173 lk # Sri Lanka
164 lr # Liberia 174 lr # Liberia
165 ls # Lesotho 175 ls # Lesotho
166 lt # Lithuania 176 lt # Lithuania
167 lu # Luxembourg 177 lu # Luxembourg
168 lv # Latvia 178 lv # Latvia
169 ly # Libyan Arab Jamahiriya 179 ly # Libya
170 ma # Morocco 180 ma # Morocco
171 mc # Monaco 181 mc # Monaco
172 md # Moldova, Republic of 182 md # Moldova, Republic of
173 me # Montenegro 183 me # Montenegro
174 mf # Saint Martin (French part) 184 mf # Saint Martin (French part)
236 sl # Sierra Leone 246 sl # Sierra Leone
237 sm # San Marino 247 sm # San Marino
238 sn # Senegal 248 sn # Senegal
239 so # Somalia 249 so # Somalia
240 sr # Suriname 250 sr # Suriname
251 ss # South Sudan
241 st # Sao Tome and Principe 252 st # Sao Tome and Principe
242 su # Soviet Union (being phased out) 253 su # Soviet Union (being phased out)
243 sv # El Salvador 254 sv # El Salvador
255 sx # Sint Maarten (Dutch part)
244 sy # Syrian Arab Republic 256 sy # Syrian Arab Republic
245 sz # Swaziland 257 sz # Swaziland
246 tc # Turks and Caicos Islands 258 tc # Turks and Caicos Islands
247 td # Chad 259 td # Chad
248 tf # French Southern Territories 260 tf # French Southern Territories
256 to # Tonga 268 to # Tonga
257 tp # Portuguese Timor (being phased out) 269 tp # Portuguese Timor (being phased out)
258 tr # Turkey 270 tr # Turkey
259 tt # Trinidad and Tobago 271 tt # Trinidad and Tobago
260 tv # Tuvalu 272 tv # Tuvalu
261 tw # Taiwan 273 tw # Taiwan, Province of China
262 tz # Tanzania, United Republic of 274 tz # Tanzania, United Republic of
263 ua # Ukraine 275 ua # Ukraine
264 ug # Uganda 276 ug # Uganda
265 uk # United Kingdom 277 uk # United Kingdom
266 um # United States Minor Outlying Islands 278 um # United States Minor Outlying Islands
267 us # United States 279 us # United States
268 uy # Uruguay 280 uy # Uruguay
269 uz # Uzbekistan 281 uz # Uzbekistan
270 va # Holy See (Vatican City State) 282 va # Holy See (Vatican City State)
271 vc # Saint Vincent and the Grenadines 283 vc # Saint Vincent and the Grenadines
272 ve # Venezuela 284 ve # Venezuela, Bolivarian Republic of
273 vg # Virgin Islands, British 285 vg # Virgin Islands, British
274 vi # Virgin Islands, U.S. 286 vi # Virgin Islands, U.S.
275 vn # Viet Nam 287 vn # Viet Nam
276 vu # Vanuatu 288 vu # Vanuatu
277 wf # Wallis and Futuna 289 wf # Wallis and Futuna
278 ws # Samoa 290 ws # Samoa
291 xn--3e0b707e # Korea, Republic of
292 xn--45brj9c # India
293 xn--54b7fta0cc # Bangladesh
294 xn--80ao21a # Kazakhstan
295 xn--90a3ac # Serbia
296 xn--clchc0ea0b2g2a9gcd # Singapore
297 xn--fiqs8s # China
298 xn--fiqz9s # China
299 xn--fpcrj9c3d # India
300 xn--fzc2c9e2c # Sri Lanka
301 xn--gecrj9c # India
302 xn--h2brj9c # India
303 xn--j1amh # Ukraine
304 xn--j6w193g # Hong Kong
305 xn--kprw13d # Taiwan, Province of China
306 xn--kpry57d # Taiwan, Province of China
307 xn--lgbbat1ad8j # Algeria
308 xn--mgb9awbf # Oman
309 xn--mgba3a4f16a # Iran, Islamic Republic of
310 xn--mgbaam7a8h # United Arab Emirates
311 xn--mgbai9azgqp6j # Pakistan
312 xn--mgbayh7gpa # Jordan
313 xn--mgbbh1a71e # India
314 xn--mgbc0a9azcg # Morocco
315 xn--mgberp4a5d4ar # Saudi Arabia
316 xn--mgbx4cd0ab # Malaysia
317 xn--node # Georgia
318 xn--o3cw4h # Thailand
319 xn--ogbpf8fl # Syrian Arab Republic
320 xn--p1ai # Russian Federation
321 xn--pgbs0dh # Tunisia
322 xn--s9brj9c # India
323 xn--wgbh1c # Egypt
324 xn--wgbl6a # Qatar
325 xn--xkc2al3hye2a # Sri Lanka
326 xn--xkc2dl3a5ee0h # India
327 xn--yfro4i67o # Singapore
328 xn--ygbi2ammx # Palestinian Territory, Occupied
279 ye # Yemen 329 ye # Yemen
280 yt # Mayotte 330 yt # Mayotte
281 yu # Yugoslavia
282 za # South Africa 331 za # South Africa
283 zm # Zambia 332 zm # Zambia
284 zw # Zimbabwe 333 zw # Zimbabwe