X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/1873931822b31f150920a5345d0be07d3367c49b..b6cdbb62827b21335266e1ae11502b9600be5f5b:/src/switch2osm.js?ds=sidebyside diff --git a/src/switch2osm.js b/src/switch2osm.js index ab10db7..26097f2 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 @@ -27,9 +26,13 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), // Main web server and it's aliases - A("@", NAGA_IPV4, TTL("10m")), - AAAA("@", NAGA_IPV6, TTL("10m")), - A("www", NAGA_IPV4, TTL("10m")), - AAAA("www", NAGA_IPV6, TTL("10m")) + A("@", NAGA_IPV4), + AAAA("@", NAGA_IPV6), + A("www", NAGA_IPV4), + AAAA("www", NAGA_IPV6), + + // HTTPS / SVCB records + HTTPS("@", 1, ".", "alpn=h2"), + HTTPS("www", 1, ".", "alpn=h2") );