X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/a5a37ea870d64487e0ce30dccb5320cd6173a6f9..00edde20d1ca112efd846a94429364d448f0a33f:/dnsconfig.js?ds=inline diff --git a/dnsconfig.js b/dnsconfig.js index 617551b..eea20be 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -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); @@ -64,7 +68,8 @@ OPENSTREETMAP("openstreetmap.sg", REG_GANDI); OPENSTREETMAP("openstreetmap.tv", REG_GANDI); OPENSTREETMAP("openstreetmap.wales", REG_GANDI); OPENSTREETMAP("openstreetmapdata.org", REG_GANDI); -OPENSTREETMAP("openstreetmap.al", REG_NONE); +// Disable due to registration issue +// OPENSTREETMAP("openstreetmap.al", REG_NONE); var OSM_LI = loadTemplate("osm-li");