1 /**
2 * Copyright:
3 * (C) 2016 Martin Brzenska
4 *
5 * License:
6 * Distributed under the terms of the MIT license.
7 * Consult the provided LICENSE.md file for details
8 */
9 module libhosttokens.ccSLD;
10 
11 immutable string[][string] ccSLDs;
12 static this() {
13 
14 	/**
15 	* see: http://www.quackit.com/domain-names/country_domain_extensions.cfm
16 	*/
17 	ccSLDs = [
18 		"au":[
19 			"asn",
20 			"com",
21 			"net",
22 			"id",
23 			"org",
24 			"edu",
25 			"gov",
26 			"csiro",
27 			"act",
28 			"nsw",
29 			"nt",
30 			"qld",
31 			"sa",
32 			"tas",
33 			"vic",
34 			"wa"
35 			],
36 		"at":[
37 			"co",
38 			"or",
39 			"priv",
40 			"ac"
41 		],
42 		"fr":[
43 			"avocat",
44 			"aeroport",
45 			"veterinaire"
46 		],
47 		"hu":[
48 			"co",
49 			"film",
50 			"lakas",
51 			"ingatlan",
52 			"sport",
53 			"hotel"
54 		],
55 		"nz":[
56 			"ac",
57 			"co",
58 			"geek",
59 			"gen",
60 			"kiwi",
61 			"maori",
62 			"net",
63 			"org",
64 			"school",
65 			"cri",
66 			"govt",
67 			"health",
68 			"iwi",
69 			"mil",
70 			"parliament"
71 		],
72 		"li":[
73 			"ac",
74 			"co",
75 			"org",
76 			"net",
77 			"k12",
78 			"gov",
79 			"muni",
80 			"idf"
81 		],
82 		//todo: ru
83 		//todo: kr
84 		"za":[
85 			"ac",
86 			"gov",
87 			"law",
88 			"mil",
89 			"nom",
90 			"school",
91 			"net"
92 		],
93 		"uk":[
94 			"co",
95 			"org",
96 			"me",
97 			"ltd",
98 			"plc",
99 			"net",
100 			"sch",
101 			"ac",
102 			"gov",
103 			"mod",
104 			"mil",
105 			"nhs",
106 			"police"
107 		]
108 	];
109 }