From d816664db3b6d6c0adb80a4a2b3437f7659faf91 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 2 Mar 2023 06:36:11 +0000 Subject: [PATCH] Normalise TTL --- src/opengeodata.js | 6 +++--- src/osmfoundation.js | 10 +++++----- src/stateofthemap.js | 10 +++++----- src/switch2osm.js | 1 - 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/opengeodata.js b/src/opengeodata.js index a189d3f..f7824f2 100644 --- a/src/opengeodata.js +++ b/src/opengeodata.js @@ -26,8 +26,8 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), // Main web server and it's aliases - A("@", RIDLEY_IPV4, TTL("10m")), - A("old", RIDLEY_IPV4, TTL("10m")), - A("www", RIDLEY_IPV4, TTL("10m")) + A("@", RIDLEY_IPV4), + A("old", RIDLEY_IPV4), // Legacy URL support https://blog.openstreetmap.org/2010/02/25/old-opengeodata-posts-now-up-at-old-opengeodata-org/ + A("www", RIDLEY_IPV4) ); \ No newline at end of file diff --git a/src/osmfoundation.js b/src/osmfoundation.js index 7314524..79e4eef 100644 --- a/src/osmfoundation.js +++ b/src/osmfoundation.js @@ -15,11 +15,11 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), // Let google handle email - MX("@", 1, "aspmx.l.google.com.", TTL("1h")), - MX("@", 5, "alt1.aspmx.l.google.com.", TTL("1h")), - MX("@", 5, "alt2.aspmx.l.google.com.", TTL("1h")), - MX("@", 10, "alt3.aspmx.l.google.com.", TTL("1h")), - MX("@", 10, "alt4.aspmx.l.google.com.", TTL("1h")), + MX("@", 1, "aspmx.l.google.com."), + MX("@", 5, "alt1.aspmx.l.google.com."), + MX("@", 5, "alt2.aspmx.l.google.com."), + MX("@", 10, "alt3.aspmx.l.google.com."), + MX("@", 10, "alt4.aspmx.l.google.com."), // Handle mail for the join subdomain ourselves diff --git a/src/stateofthemap.js b/src/stateofthemap.js index 40844e0..dcd9f6a 100644 --- a/src/stateofthemap.js +++ b/src/stateofthemap.js @@ -30,11 +30,11 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), // Let google handle email - MX("@", 1, "aspmx.l.google.com.", TTL("1h")), - MX("@", 5, "alt1.aspmx.l.google.com.", TTL("1h")), - MX("@", 5, "alt2.aspmx.l.google.com.", TTL("1h")), - MX("@", 10, "alt3.aspmx.l.google.com.", TTL("1h")), - MX("@", 10, "alt4.aspmx.l.google.com.", TTL("1h")), + MX("@", 1, "aspmx.l.google.com."), + MX("@", 5, "alt1.aspmx.l.google.com."), + MX("@", 5, "alt2.aspmx.l.google.com."), + MX("@", 10, "alt3.aspmx.l.google.com."), + MX("@", 10, "alt4.aspmx.l.google.com."), // Aliases for google services diff --git a/src/switch2osm.js b/src/switch2osm.js index 12109a7..e6763c7 100644 --- a/src/switch2osm.js +++ b/src/switch2osm.js @@ -17,7 +17,6 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), SPF_BUILDER({ label: "@", - ttl: "1h", parts: [ "v=spf1", "include:openstreetmap.org", // main openstreetmap.org spf record -- 2.39.5