X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/8eb06ec104e2e9015855936db2324d298f6349e2..2177b9ce58b3fc25b2af4861e59147d515873f52:/dnsconfig.js diff --git a/dnsconfig.js b/dnsconfig.js index 64efbf5..689af18 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; @@ -28,28 +24,38 @@ function loadTemplate(template) { }; } +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, TILE_RECORDS, RENDER_RECORDS); +OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, TILE_RECORDS, RENDER_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); OPENSTREETMAP("openstreetmap.io", REG_GANDI); OPENSTREETMAP("osm.io", REG_GANDI); +OPENSTREETMAP("openstreetmap.li", REG_GANDI); OPENSTREETMAP("openworldmap.org", REG_GANDI); OPENSTREETMAP("freeosm.org", REG_GANDI); OPENSTREETMAP("open-maps.org", REG_GANDI); OPENSTREETMAP("open-maps.com", REG_GANDI); OPENSTREETMAP("osmbugs.org", REG_GANDI); +var OSM_LI = loadTemplate("osm-li"); + +OSM_LI("osm.li", REG_GANDI); + var OPENSTREETMAP_UK = loadTemplate("openstreetmap-uk"); OPENSTREETMAP_UK("openstreetmap.uk", REG_GANDI); @@ -58,8 +64,8 @@ OPENSTREETMAP_UK("openstreetmap.co.uk", REG_GANDI); var OPENSTREETMAP_ZA = loadTemplate("openstreetmap-za"); -OPENSTREETMAP_UK("openstreetmap.org.za", REG_NONE); -OPENSTREETMAP_UK("osm.org.za", REG_NONE); +OPENSTREETMAP_ZA("openstreetmap.org.za", REG_NONE); +OPENSTREETMAP_ZA("osm.org.za", REG_NONE); var OSMFOUNDATION = loadTemplate("osmfoundation"); @@ -71,15 +77,20 @@ STATEOFTHEMAP("stateofthemap.org", REG_GANDI); STATEOFTHEMAP("stateofthemap.com", REG_GANDI); STATEOFTHEMAP("sotm.org", REG_GANDI); -var STATEOFTHEMAP_EU = loadTemplate("stateofthemap-eu"); -STATEOFTHEMAP("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"); SWITCH2OSM("switch2osm.org", REG_GANDI); SWITCH2OSM("switch2osm.com", REG_GANDI); + +var OSM2PGSQL = loadTemplate("osm2pgsql"); + +OSM2PGSQL("osm2pgsql.org", REG_GANDI); +OSM2PGSQL("osm2pgsql.com", REG_GANDI);