X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/a57ccd694bbd98bd16aa90666c3d734aa3b90771..2b3aaa120e29332c8dcf3a69464d604f97ba4f2b:/dnsconfig.js diff --git a/dnsconfig.js b/dnsconfig.js index 1c72874..eea20be 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -31,7 +31,13 @@ var OPENSTREETMAP = loadTemplate("openstreetmap"); require("include/sshfp.js"); require("include/nominatim.js"); -OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_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);