]> git.openstreetmap.org Git - dns.git/blobdiff - src/switch2osm.js
Drop scorch from DNS
[dns.git] / src / switch2osm.js
index 12109a77c7247eed09a1e14d53502f69d0b9171c..339a4f1a22d05f2a08e17ad1b6af8734e20f4fc6 100644 (file)
@@ -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
@@ -27,9 +26,13 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Main web server and it's aliases
 
-  A("@", NAGA_IPV4),
-  AAAA("@", NAGA_IPV6),
-  A("www", NAGA_IPV4),
-  AAAA("www", NAGA_IPV6)
+  A("@", NAGA_IPV4_HE),
+  AAAA("@", NAGA_IPV6_HE),
+  A("www", NAGA_IPV4_HE),
+  AAAA("www", NAGA_IPV6_HE),
+
+  // HTTPS / SVCB records
+  HTTPS("@", 1, ".", "alpn=h2"),
+  HTTPS("www", 1, ".", "alpn=h2")
 
 );