X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/4de129fd5d6686eb1ea7fcae4f9c976d0fe5623b..b9fb9896acc2590b6a34886a68fc21dde8df3057:/src/switch2osm.js diff --git a/src/switch2osm.js b/src/switch2osm.js index b00066f..16ff39c 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("@", IPV4["naga.he"]), + AAAA("@", IPV6["naga.he"]), + A("www", IPV4["naga.he"]), + AAAA("www", IPV6["naga.he"]), + + // HTTPS / SVCB records + HTTPS("@", 1, ".", "alpn=h2"), + HTTPS("www", 1, ".", "alpn=h2") );