X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/9bbfd2ffa253a224bbf215cddbe3001fee507c80..7b5078c982aff4a7622822abb761dd19e0ff2498:/src/switch2osm.js?ds=sidebyside diff --git a/src/switch2osm.js b/src/switch2osm.js index 12109a7..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 @@ -30,6 +29,10 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), A("@", NAGA_IPV4), AAAA("@", NAGA_IPV6), A("www", NAGA_IPV4), - AAAA("www", NAGA_IPV6) + AAAA("www", NAGA_IPV6), + + // HTTPS / SVCB records + HTTPS("@", 1, ".", "alpn=h2"), + HTTPS("www", 1, ".", "alpn=h2") );