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;
18 require("src/" + template + ".js");
22 // Ensure that the reverse DNS records are in RFC 4183 notation
25 var IPV4 = require("src/ipv4.json");
26 var IPV6 = require("src/ipv6.json");
28 var HOST_RECORDS = [];
30 for (var name in IPV4) {
31 HOST_RECORDS.push(A(name, IPV4[name]));
34 for (var name in IPV6) {
35 HOST_RECORDS.push(AAAA(name, IPV6[name]));
38 var OPENSTREETMAP = loadTemplate("openstreetmap");
40 require("include/sshfp.js");
41 require("include/nominatim.js");
44 require("include/geo.js");
46 var GEO_NS_RECORDS = [];
49 OPENSTREETMAP("openstreetmap.org", REG_GANDI);
50 OPENSTREETMAP("openstreetmap.com", REG_GANDI);
51 OPENSTREETMAP("openstreetmap.net", REG_GANDI);
52 OPENSTREETMAP("openstreetmap.ca", REG_GANDI);
53 OPENSTREETMAP("openstreetmap.eu", REG_NONE);
54 OPENSTREETMAP("openstreetmap.pro", REG_GANDI);
55 OPENSTREETMAP("openstreetmap.gay", REG_GANDI);
56 OPENSTREETMAP("openstreetmaps.org", REG_GANDI);
57 OPENSTREETMAP("osm.org", REG_GANDI);
58 OPENSTREETMAP("openmaps.org", REG_GANDI);
59 OPENSTREETMAP("openstreetmap.io", REG_GANDI);
60 OPENSTREETMAP("osm.io", REG_GANDI);
61 OPENSTREETMAP("openstreetmap.li", REG_GANDI);
62 OPENSTREETMAP("openworldmap.org", REG_GANDI);
63 OPENSTREETMAP("freeosm.org", REG_GANDI);
64 OPENSTREETMAP("open-maps.org", REG_GANDI);
65 OPENSTREETMAP("open-maps.com", REG_GANDI);
66 OPENSTREETMAP("osmbugs.org", REG_GANDI);
67 OPENSTREETMAP("openstreetmap.ai", REG_GANDI);
68 OPENSTREETMAP("openstreetmap.am", REG_GANDI);
69 OPENSTREETMAP("openstreetmap.fi", REG_GANDI);
70 OPENSTREETMAP("openstreetmap.gr", REG_GANDI);
71 OPENSTREETMAP("openstreetmap.me", REG_GANDI);
72 OPENSTREETMAP("openstreetmap.mx", REG_GANDI);
73 OPENSTREETMAP("openstreetmap.nz", REG_GANDI);
74 OPENSTREETMAP("openstreetmap.pe", REG_GANDI);
75 OPENSTREETMAP("openstreetmap.ph", REG_GANDI);
76 OPENSTREETMAP("openstreetmap.sg", REG_GANDI);
77 OPENSTREETMAP("openstreetmap.tv", REG_GANDI);
78 OPENSTREETMAP("openstreetmap.wales", REG_GANDI);
79 OPENSTREETMAP("openstreetmapdata.org", REG_GANDI);
80 OPENSTREETMAP("openstreetmap.org.nz", REG_GANDI);
82 // Disable due to registration issue
83 // OPENSTREETMAP("openstreetmap.al", REG_NONE);
85 D_EXTEND("openstreetmap.org",
86 CNAME("_acme-challenge.tile", "bxve5ryiwwv7woiraq.fastly-validations.com.", TTL("10m")),
88 // Uptime site at StatusCake
89 CNAME("uptime", "uptimessl-new.statuscake.com."),
98 CNAME("_acme-challenge.tile", "21gvdfyyxjoc4lmsem.fastly-validations.com.", TTL("10m")),
104 // Mastodon redirects to en.osm.town
105 var OPENSTREETMAP_TOWN = loadTemplate("openstreetmap-town");
106 OPENSTREETMAP_TOWN("openstreetmap.town", REG_GANDI);
108 // Domain owned by Amanda McCann
111 // Managed independently by Guillaume Rischard
115 var OSM_LI = loadTemplate("osm-li");
117 OSM_LI("osm.li", REG_GANDI);
119 var OPENSTREETMAP_UK = loadTemplate("openstreetmap-uk");
121 OPENSTREETMAP_UK("openstreetmap.uk", REG_GANDI);
122 OPENSTREETMAP_UK("openstreetmap.org.uk", REG_GANDI);
123 OPENSTREETMAP_UK("openstreetmap.co.uk", REG_GANDI);
125 var OPENSTREETMAP_ZA = loadTemplate("openstreetmap-za");
127 OPENSTREETMAP_ZA("openstreetmap.org.za", REG_NONE);
128 OPENSTREETMAP_ZA("osm.org.za", REG_NONE);
130 var OSMFOUNDATION = loadTemplate("osmfoundation");
132 OSMFOUNDATION("osmfoundation.org", REG_GANDI);
134 var STATEOFTHEMAP = loadTemplate("stateofthemap");
136 STATEOFTHEMAP("stateofthemap.org", REG_GANDI);
137 STATEOFTHEMAP("stateofthemap.com", REG_GANDI);
138 STATEOFTHEMAP("sotm.org", REG_GANDI);
140 // The domain is registation is managed by FOSSGIS.de
141 var STATEOFTHEMAP_EU = loadTemplate("stateofthemap-eu");
142 STATEOFTHEMAP_EU("stateofthemap.eu", REG_NONE);
144 // State of the Map Madagascar
145 var OPENSTREETMAP_MG = loadTemplate("openstreetmap-mg");
146 OPENSTREETMAP_MG("openstreetmap.mg", REG_GANDI);
148 var OPENGEODATA = loadTemplate("opengeodata");
149 OPENGEODATA("opengeodata.org", REG_GANDI);
151 var SWITCH2OSM = loadTemplate("switch2osm");
153 SWITCH2OSM("switch2osm.org", REG_GANDI);
154 SWITCH2OSM("switch2osm.com", REG_GANDI);
156 var OSM2PGSQL = loadTemplate("osm2pgsql");
158 OSM2PGSQL("osm2pgsql.org", REG_GANDI);
159 OSM2PGSQL("osm2pgsql.com", REG_GANDI);
161 var IDEDITOR = loadTemplate("ideditor");
163 IDEDITOR("ideditor.com", REG_GANDI);
165 var OSMWIKI = loadTemplate("osm-wiki");
166 OSMWIKI("osm.wiki", REG_GANDI);
168 var PTR_HE_DUB_IPV4 = loadTemplate("ptr_he_dub_ipv4");
170 PTR_HE_DUB_IPV4(REV("184.104.226.96/27"), REG_NONE);
172 var PTR_HE_DUB_IPV6 = loadTemplate("ptr_he_dub_ipv6");
174 PTR_HE_DUB_IPV6(REV("2001:470:1:b3b::/64"), REG_NONE);
176 var PTR_EQUINIX_AMS_IPV4 = loadTemplate("ptr_equinix_ams_ipv4");
178 PTR_EQUINIX_AMS_IPV4(REV("82.199.86.96/27"), REG_NONE);
180 var PTR_EQUINIX_AMS_IPV6 = loadTemplate("ptr_equinix_ams_ipv6");
182 PTR_EQUINIX_AMS_IPV6(REV("2001:4d78:500:5e3::/64"), REG_NONE);
184 var PTR_EQUINIX_DUB_IPV4 = loadTemplate("ptr_equinix_dub_ipv4");
186 PTR_EQUINIX_DUB_IPV4(REV("87.252.214.96/27"), REG_NONE);
188 var PTR_EQUINIX_DUB_IPV6 = loadTemplate("ptr_equinix_dub_ipv6");
190 PTR_EQUINIX_DUB_IPV6(REV("2001:4d78:fe03:1c::/64"), REG_NONE);
192 // No immediate plans
193 // External DNS and hosting still up
194 // freethepostcode.org
196 // External DNS and hosting
197 // openstreetmap.cymru