X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/4de129fd5d6686eb1ea7fcae4f9c976d0fe5623b..ad7d2b119dfddfb16b64ba22ae0c70468085002e:/src/switch2osm.js?ds=sidebyside diff --git a/src/switch2osm.js b/src/switch2osm.js index b00066f..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") );