X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/76aab59fd1e2d5cf9a042f44061cbd06c3f75dd4..2b3aaa120e29332c8dcf3a69464d604f97ba4f2b:/dnsconfig.js diff --git a/dnsconfig.js b/dnsconfig.js index 02a4804..eea20be 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -2,10 +2,6 @@ var REG_NONE = NewRegistrar("none", "NONE"); var REG_GANDI = NewRegistrar("gandi_v5", "GANDI_V5"); var PROVIDER = NewDnsProvider("cloudflare", "CLOUDFLAREAPI"); -var CF_TTL_ANY = TTL(1); - -DEFAULTS(DefaultTTL("24h")); - var DOMAIN; var REGISTRAR; var DYNAMIC_RECORDS; @@ -33,16 +29,21 @@ 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); OPENSTREETMAP("openstreetmap.eu", REG_NONE); OPENSTREETMAP("openstreetmap.pro", REG_GANDI); +OPENSTREETMAP("openstreetmap.gay", REG_GANDI); OPENSTREETMAP("openstreetmaps.org", REG_GANDI); OPENSTREETMAP("osm.org", REG_GANDI); OPENSTREETMAP("openmaps.org", REG_GANDI); @@ -54,6 +55,21 @@ OPENSTREETMAP("freeosm.org", REG_GANDI); OPENSTREETMAP("open-maps.org", REG_GANDI); OPENSTREETMAP("open-maps.com", REG_GANDI); OPENSTREETMAP("osmbugs.org", REG_GANDI); +OPENSTREETMAP("openstreetmap.ai", REG_GANDI); +OPENSTREETMAP("openstreetmap.am", REG_GANDI); +OPENSTREETMAP("openstreetmap.fi", REG_GANDI); +OPENSTREETMAP("openstreetmap.gr", REG_GANDI); +OPENSTREETMAP("openstreetmap.me", REG_GANDI); +OPENSTREETMAP("openstreetmap.mx", REG_GANDI); +OPENSTREETMAP("openstreetmap.nz", REG_GANDI); +OPENSTREETMAP("openstreetmap.pe", REG_GANDI); +OPENSTREETMAP("openstreetmap.ph", REG_GANDI); +OPENSTREETMAP("openstreetmap.sg", REG_GANDI); +OPENSTREETMAP("openstreetmap.tv", REG_GANDI); +OPENSTREETMAP("openstreetmap.wales", REG_GANDI); +OPENSTREETMAP("openstreetmapdata.org", REG_GANDI); +// Disable due to registration issue +// OPENSTREETMAP("openstreetmap.al", REG_NONE); var OSM_LI = loadTemplate("osm-li"); @@ -80,12 +96,12 @@ STATEOFTHEMAP("stateofthemap.org", REG_GANDI); STATEOFTHEMAP("stateofthemap.com", REG_GANDI); STATEOFTHEMAP("sotm.org", REG_GANDI); -var STATEOFTHEMAP_EU = loadTemplate("stateofthemap-eu"); -STATEOFTHEMAP_EU("stateofthemap.eu", REG_GANDI); +// Domain Owner Issue / Registration Issues - Disable for the moment. 31 May 2021 +// var STATEOFTHEMAP_EU = loadTemplate("stateofthemap-eu"); +// STATEOFTHEMAP_EU("stateofthemap.eu", REG_GANDI); var OPENGEODATA = loadTemplate("opengeodata"); - OPENGEODATA("opengeodata.org", REG_GANDI); var SWITCH2OSM = loadTemplate("switch2osm");