]> git.openstreetmap.org Git - dns.git/blobdiff - dnsconfig.js
Take stormfly-04 out of service
[dns.git] / dnsconfig.js
index 3f395c69a5c8e48d4b623eb35010f9d2e77fae62..eea20be783d0a9ac5c5e4249a76d56f3cbdef26c 100644 (file)
@@ -29,11 +29,15 @@ require("src/hosts.js");
 var OPENSTREETMAP = loadTemplate("openstreetmap");
 
 require("include/sshfp.js");
-require("include/tile.js");
-require("include/render.js");
 require("include/nominatim.js");
 
-OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, TILE_RECORDS, RENDER_RECORDS, NOMINATIM_RECORDS);
+try {
+  require("include/geo.js");
+} catch (e) {
+  var GEO_NS_RECORDS = [];
+}
+
+OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, GEO_NS_RECORDS, NOMINATIM_RECORDS);
 OPENSTREETMAP("openstreetmap.com", REG_GANDI);
 OPENSTREETMAP("openstreetmap.net", REG_GANDI);
 OPENSTREETMAP("openstreetmap.ca", REG_GANDI);