1 var REG_NONE = NewRegistrar("none");
2 var REG_GANDI = NewRegistrar("gandi_v5");
3 var PROVIDER = NewDnsProvider("cloudflare");
9 var QUALIFY = function (name) {
10 return name + "." + DOMAIN + ".";
13 function loadTemplate(template) {
14 return function (domain, registrar) {
16 REGISTRAR = registrar;
19 for (var i = 2; i < arguments.length; i++) {
20 DYNAMIC_RECORDS = DYNAMIC_RECORDS.concat(arguments[i]);
23 require("src/" + template + ".js");
27 require("src/hosts.js");
29 var OPENSTREETMAP = loadTemplate("openstreetmap");
31 require("include/sshfp.js");
32 require("include/nominatim.js");
35 require("include/geo.js");
37 var GEO_NS_RECORDS = [];
40 OPENSTREETMAP_ORG_RECORDS = [
41 CNAME("_acme-challenge.tile", "bxve5ryiwwv7woiraq.fastly-validations.com.", TTL("10m"))
45 CNAME("_acme-challenge.tile", "21gvdfyyxjoc4lmsem.fastly-validations.com.", TTL("10m"))
48 OPENSTREETMAP("openstreetmap.org", REG_GANDI, OPENSTREETMAP_ORG_RECORDS, SSHFP_RECORDS, GEO_NS_RECORDS, NOMINATIM_RECORDS);
49 OPENSTREETMAP("openstreetmap.com", REG_GANDI);
50 OPENSTREETMAP("openstreetmap.net", REG_GANDI);
51 OPENSTREETMAP("openstreetmap.ca", REG_GANDI);
52 OPENSTREETMAP("openstreetmap.eu", REG_NONE);
53 OPENSTREETMAP("openstreetmap.pro", REG_GANDI);
54 OPENSTREETMAP("openstreetmap.gay", REG_GANDI);
55 OPENSTREETMAP("openstreetmaps.org", REG_GANDI);
56 OPENSTREETMAP("osm.org", REG_GANDI, OSM_ORG_RECORDS, SSHFP_RECORDS);
57 OPENSTREETMAP("openmaps.org", REG_GANDI);
58 OPENSTREETMAP("openstreetmap.io", REG_GANDI);
59 OPENSTREETMAP("osm.io", REG_GANDI);
60 OPENSTREETMAP("openstreetmap.li", REG_GANDI);
61 OPENSTREETMAP("openworldmap.org", REG_GANDI);
62 OPENSTREETMAP("freeosm.org", REG_GANDI);
63 OPENSTREETMAP("open-maps.org", REG_GANDI);
64 OPENSTREETMAP("open-maps.com", REG_GANDI);
65 OPENSTREETMAP("osmbugs.org", REG_GANDI);
66 OPENSTREETMAP("openstreetmap.ai", REG_GANDI);
67 OPENSTREETMAP("openstreetmap.am", REG_GANDI);
68 OPENSTREETMAP("openstreetmap.fi", REG_GANDI);
69 OPENSTREETMAP("openstreetmap.gr", REG_GANDI);
70 OPENSTREETMAP("openstreetmap.me", REG_GANDI);
71 OPENSTREETMAP("openstreetmap.mx", REG_GANDI);
72 OPENSTREETMAP("openstreetmap.nz", REG_GANDI);
73 OPENSTREETMAP("openstreetmap.pe", REG_GANDI);
74 OPENSTREETMAP("openstreetmap.ph", REG_GANDI);
75 OPENSTREETMAP("openstreetmap.sg", REG_GANDI);
76 OPENSTREETMAP("openstreetmap.tv", REG_GANDI);
77 OPENSTREETMAP("openstreetmap.wales", REG_GANDI);
78 OPENSTREETMAP("openstreetmapdata.org", REG_GANDI);
80 // Disable due to registration issue
81 // OPENSTREETMAP("openstreetmap.al", REG_NONE);
83 // Mastodon redirects to en.osm.town
84 var OPENSTREETMAP_TOWN = loadTemplate("openstreetmap-town");
85 OPENSTREETMAP_TOWN("openstreetmap.town", REG_GANDI);
87 // Domain owned by Amanda McCann
90 // Managed independently by Guillaume Rischard
94 var OSM_LI = loadTemplate("osm-li");
96 OSM_LI("osm.li", REG_GANDI);
98 var OPENSTREETMAP_UK = loadTemplate("openstreetmap-uk");
100 OPENSTREETMAP_UK("openstreetmap.uk", REG_GANDI);
101 OPENSTREETMAP_UK("openstreetmap.org.uk", REG_GANDI);
102 OPENSTREETMAP_UK("openstreetmap.co.uk", REG_GANDI);
104 var OPENSTREETMAP_ZA = loadTemplate("openstreetmap-za");
106 OPENSTREETMAP_ZA("openstreetmap.org.za", REG_NONE);
107 OPENSTREETMAP_ZA("osm.org.za", REG_NONE);
109 var OSMFOUNDATION = loadTemplate("osmfoundation");
111 OSMFOUNDATION("osmfoundation.org", REG_GANDI);
113 var STATEOFTHEMAP = loadTemplate("stateofthemap");
115 STATEOFTHEMAP("stateofthemap.org", REG_GANDI);
116 STATEOFTHEMAP("stateofthemap.com", REG_GANDI);
117 STATEOFTHEMAP("sotm.org", REG_GANDI);
119 // The domain is registation is managed by FOSSGIS.de
120 var STATEOFTHEMAP_EU = loadTemplate("stateofthemap-eu");
121 STATEOFTHEMAP_EU("stateofthemap.eu", REG_NONE);
123 // State of the Map Madagascar
124 var OPENSTREETMAP_MG = loadTemplate("openstreetmap-mg");
125 OPENSTREETMAP_MG("openstreetmap.mg", REG_GANDI);
127 var OPENGEODATA = loadTemplate("opengeodata");
128 OPENGEODATA("opengeodata.org", REG_GANDI);
130 var SWITCH2OSM = loadTemplate("switch2osm");
132 SWITCH2OSM("switch2osm.org", REG_GANDI);
133 SWITCH2OSM("switch2osm.com", REG_GANDI);
135 var OSM2PGSQL = loadTemplate("osm2pgsql");
137 OSM2PGSQL("osm2pgsql.org", REG_GANDI);
138 OSM2PGSQL("osm2pgsql.com", REG_GANDI);
140 var IDEDITOR = loadTemplate("ideditor");
142 IDEDITOR("ideditor.com", REG_GANDI);
144 var OSMWIKI = loadTemplate("osm-wiki");
145 OSMWIKI("osm.wiki", REG_GANDI);
147 var PTR_EQUINIX_AMS_IPV4 = loadTemplate("ptr_equinix_ams_ipv4");
149 PTR_EQUINIX_AMS_IPV4("96-27.86.199.82.in-addr.arpa", REG_NONE);
151 var PTR_EQUINIX_AMS_IPV6 = loadTemplate("ptr_equinix_ams_ipv6");
153 PTR_EQUINIX_AMS_IPV6(REV("2001:4d78:500:5e3::/64"), REG_NONE);
155 var PTR_EQUINIX_DUB_IPV4 = loadTemplate("ptr_equinix_dub_ipv4");
157 PTR_EQUINIX_DUB_IPV4("96-27.226.104.184.in-addr.arpa", REG_NONE);
159 var PTR_EQUINIX_DUB_IPV6 = loadTemplate("ptr_equinix_dub_ipv6");
161 PTR_EQUINIX_DUB_IPV6(REV("2001:470:1:b3b::/64"), REG_NONE);
163 var PTR_EQUINIX_AMS_UPLINK_IPV4 = loadTemplate("ptr_equinix_ams_uplink_ipv4");
165 PTR_EQUINIX_AMS_UPLINK_IPV4("72-29.86.199.82.in-addr.arpa", REG_NONE);
167 var PTR_EQUINIX_AMS_UPLINK_IPV6 = loadTemplate("ptr_equinix_ams_uplink_ipv6");
169 PTR_EQUINIX_AMS_UPLINK_IPV6(REV("2001:4d78:500:5e2::/64"), REG_NONE);
171 var PTR_EQUINIX_DUB_UPLINK_IPV4 = loadTemplate("ptr_equinix_dub_uplink_ipv4");
173 PTR_EQUINIX_DUB_UPLINK_IPV4("104-29.218.252.87.in-addr.arpa", REG_NONE);
175 var PTR_EQUINIX_DUB_UPLINK_IPV6 = loadTemplate("ptr_equinix_dub_uplink_ipv6");
177 PTR_EQUINIX_DUB_UPLINK_IPV6(REV("2001:4d78:fe03:1b::/64"), REG_NONE);
179 // No immediate plans
180 // External DNS and hosting still up
181 // freethepostcode.org
183 // External DNS and hosting
184 // openstreetmap.cymru