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 OPENSTREETMAP = loadTemplate("openstreetmap");
30 require("include/sshfp.js");
31 require("include/nominatim.js");
34 require("include/geo.js");
36 var GEO_NS_RECORDS = [];
39 OPENSTREETMAP("openstreetmap.org", REG_GANDI);
40 OPENSTREETMAP("openstreetmap.com", REG_GANDI);
41 OPENSTREETMAP("openstreetmap.net", REG_GANDI);
42 OPENSTREETMAP("openstreetmap.ca", REG_GANDI);
43 OPENSTREETMAP("openstreetmap.eu", REG_NONE);
44 OPENSTREETMAP("openstreetmap.pro", REG_GANDI);
45 OPENSTREETMAP("openstreetmap.gay", REG_GANDI);
46 OPENSTREETMAP("openstreetmaps.org", REG_GANDI);
47 OPENSTREETMAP("osm.org", REG_GANDI);
48 OPENSTREETMAP("openmaps.org", REG_GANDI);
49 OPENSTREETMAP("openstreetmap.io", REG_GANDI);
50 OPENSTREETMAP("osm.io", REG_GANDI);
51 OPENSTREETMAP("openstreetmap.li", REG_GANDI);
52 OPENSTREETMAP("openworldmap.org", REG_GANDI);
53 OPENSTREETMAP("freeosm.org", REG_GANDI);
54 OPENSTREETMAP("open-maps.org", REG_GANDI);
55 OPENSTREETMAP("open-maps.com", REG_GANDI);
56 OPENSTREETMAP("osmbugs.org", REG_GANDI);
57 OPENSTREETMAP("openstreetmap.ai", REG_GANDI);
58 OPENSTREETMAP("openstreetmap.am", REG_GANDI);
59 OPENSTREETMAP("openstreetmap.fi", REG_GANDI);
60 OPENSTREETMAP("openstreetmap.gr", REG_GANDI);
61 OPENSTREETMAP("openstreetmap.me", REG_GANDI);
62 OPENSTREETMAP("openstreetmap.mx", REG_GANDI);
63 OPENSTREETMAP("openstreetmap.nz", REG_GANDI);
64 OPENSTREETMAP("openstreetmap.pe", REG_GANDI);
65 OPENSTREETMAP("openstreetmap.ph", REG_GANDI);
66 OPENSTREETMAP("openstreetmap.sg", REG_GANDI);
67 OPENSTREETMAP("openstreetmap.tv", REG_GANDI);
68 OPENSTREETMAP("openstreetmap.wales", REG_GANDI);
69 OPENSTREETMAP("openstreetmapdata.org", REG_GANDI);
70 OPENSTREETMAP("openstreetmap.org.nz", REG_GANDI);
72 // Disable due to registration issue
73 // OPENSTREETMAP("openstreetmap.al", REG_NONE);
75 D_EXTEND("openstreetmap.org",
76 CNAME("_acme-challenge.tile", "bxve5ryiwwv7woiraq.fastly-validations.com.", TTL("10m")),
84 CNAME("_acme-challenge.tile", "21gvdfyyxjoc4lmsem.fastly-validations.com.", TTL("10m")),
89 // Mastodon redirects to en.osm.town
90 var OPENSTREETMAP_TOWN = loadTemplate("openstreetmap-town");
91 OPENSTREETMAP_TOWN("openstreetmap.town", REG_GANDI);
93 // Domain owned by Amanda McCann
96 // Managed independently by Guillaume Rischard
100 var OSM_LI = loadTemplate("osm-li");
102 OSM_LI("osm.li", REG_GANDI);
104 var OPENSTREETMAP_UK = loadTemplate("openstreetmap-uk");
106 OPENSTREETMAP_UK("openstreetmap.uk", REG_GANDI);
107 OPENSTREETMAP_UK("openstreetmap.org.uk", REG_GANDI);
108 OPENSTREETMAP_UK("openstreetmap.co.uk", REG_GANDI);
110 var OPENSTREETMAP_ZA = loadTemplate("openstreetmap-za");
112 OPENSTREETMAP_ZA("openstreetmap.org.za", REG_NONE);
113 OPENSTREETMAP_ZA("osm.org.za", REG_NONE);
115 var OSMFOUNDATION = loadTemplate("osmfoundation");
117 OSMFOUNDATION("osmfoundation.org", REG_GANDI);
119 var STATEOFTHEMAP = loadTemplate("stateofthemap");
121 STATEOFTHEMAP("stateofthemap.org", REG_GANDI);
122 STATEOFTHEMAP("stateofthemap.com", REG_GANDI);
123 STATEOFTHEMAP("sotm.org", REG_GANDI);
125 // The domain is registation is managed by FOSSGIS.de
126 var STATEOFTHEMAP_EU = loadTemplate("stateofthemap-eu");
127 STATEOFTHEMAP_EU("stateofthemap.eu", REG_NONE);
129 // State of the Map Madagascar
130 var OPENSTREETMAP_MG = loadTemplate("openstreetmap-mg");
131 OPENSTREETMAP_MG("openstreetmap.mg", REG_GANDI);
133 var OPENGEODATA = loadTemplate("opengeodata");
134 OPENGEODATA("opengeodata.org", REG_GANDI);
136 var SWITCH2OSM = loadTemplate("switch2osm");
138 SWITCH2OSM("switch2osm.org", REG_GANDI);
139 SWITCH2OSM("switch2osm.com", REG_GANDI);
141 var OSM2PGSQL = loadTemplate("osm2pgsql");
143 OSM2PGSQL("osm2pgsql.org", REG_GANDI);
144 OSM2PGSQL("osm2pgsql.com", REG_GANDI);
146 var IDEDITOR = loadTemplate("ideditor");
148 IDEDITOR("ideditor.com", REG_GANDI);
150 var OSMWIKI = loadTemplate("osm-wiki");
151 OSMWIKI("osm.wiki", REG_GANDI);
153 var PTR_HE_DUB_IPV4 = loadTemplate("ptr_he_dub_ipv4");
155 PTR_HE_DUB_IPV4(REV("184.104.226.96/27"), REG_NONE);
157 var PTR_HE_DUB_IPV6 = loadTemplate("ptr_he_dub_ipv6");
159 PTR_HE_DUB_IPV6(REV("2001:470:1:b3b::/64"), REG_NONE);
161 var PTR_EQUINIX_AMS_IPV4 = loadTemplate("ptr_equinix_ams_ipv4");
163 PTR_EQUINIX_AMS_IPV4(REV("82.199.86.96/27"), REG_NONE);
165 var PTR_EQUINIX_AMS_IPV6 = loadTemplate("ptr_equinix_ams_ipv6");
167 PTR_EQUINIX_AMS_IPV6(REV("2001:4d78:500:5e3::/64"), REG_NONE);
169 var PTR_EQUINIX_DUB_IPV4 = loadTemplate("ptr_equinix_dub_ipv4");
171 PTR_EQUINIX_DUB_IPV4(REV("87.252.214.96/27"), REG_NONE);
173 var PTR_EQUINIX_DUB_IPV6 = loadTemplate("ptr_equinix_dub_ipv6");
175 PTR_EQUINIX_DUB_IPV6(REV("2001:4d78:fe03:1c::/64"), REG_NONE);
177 // No immediate plans
178 // External DNS and hosting still up
179 // freethepostcode.org
181 // External DNS and hosting
182 // openstreetmap.cymru