X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/2cad7d56c750cf529d13f34c7437e74868fecd90..b552a7e24d451e01ada1c82db7750b1a6dc34100:/src/openstreetmap-uk.js?ds=inline diff --git a/src/openstreetmap-uk.js b/src/openstreetmap-uk.js index bfed62e..5cce6eb 100644 --- a/src/openstreetmap-uk.js +++ b/src/openstreetmap-uk.js @@ -2,9 +2,16 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), // Publish CAA records indicating that only letsencrypt should issue certificates - CAA("@", "issue", "letsencrypt.org", CF_TTL_ANY), - CAA("@", "issuewild", "letsencrypt.org", CF_TTL_ANY), - CAA("@", "iodef", "mailto:hostmaster@openstreetmap.org"), + CAA_BUILDER({ + label: "@", + iodef: "mailto:hostmaster@openstreetmap.org", + issue: [ + "letsencrypt.org", + ], + issuewild: [ + "letsencrypt.org", + ], + }), // Let the main domain handle the email @@ -12,7 +19,14 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), // Delegate SPF policy to the main domain - TXT("@", "v=spf1 include:openstreetmap.org -all"), + SPF_BUILDER({ + label: "@", + parts: [ + "v=spf1", + "include:openstreetmap.org", // main openstreetmap.org spf record + "-all" + ] + }), // Delegate MTA-STS policy to the main domain @@ -30,40 +44,40 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), // Aerial imagery sites - A("hampshire.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("hampshire.aerial", KESSIE_IPV6, TTL("1h")), - A("a.hampshire.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("a.hampshire.aerial", KESSIE_IPV6, TTL("1h")), - A("b.hampshire.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("b.hampshire.aerial", KESSIE_IPV6, TTL("1h")), - A("c.hampshire.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("c.hampshire.aerial", KESSIE_IPV6, TTL("1h")), - - A("surrey.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("surrey.aerial", KESSIE_IPV6, TTL("1h")), - A("a.surrey.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("a.surrey.aerial", KESSIE_IPV6, TTL("1h")), - A("b.surrey.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("b.surrey.aerial", KESSIE_IPV6, TTL("1h")), - A("c.surrey.aerial", KESSIE_IPV4, TTL("1h")), - AAAA("c.surrey.aerial", KESSIE_IPV6, TTL("1h")), - - A("os", KESSIE_IPV4, TTL("1h")), - AAAA("os", KESSIE_IPV6, TTL("1h")), - A("a.os", KESSIE_IPV4, TTL("1h")), - AAAA("a.os", KESSIE_IPV6, TTL("1h")), - A("b.os", KESSIE_IPV4, TTL("1h")), - AAAA("b.os", KESSIE_IPV6, TTL("1h")), - A("c.os", KESSIE_IPV4, TTL("1h")), - AAAA("c.os", KESSIE_IPV6, TTL("1h")), - - A("ea", KESSIE_IPV4, TTL("1h")), - AAAA("ea", KESSIE_IPV6, TTL("1h")), - A("a.ea", KESSIE_IPV4, TTL("1h")), - AAAA("a.ea", KESSIE_IPV6, TTL("1h")), - A("b.ea", KESSIE_IPV4, TTL("1h")), - AAAA("b.ea", KESSIE_IPV6, TTL("1h")), - A("c.ea", KESSIE_IPV4, TTL("1h")), - AAAA("c.ea", KESSIE_IPV6, TTL("1h")) + A("hampshire.aerial", LOCKHEED_IPV4), + AAAA("hampshire.aerial", LOCKHEED_IPV6), + A("a.hampshire.aerial", LOCKHEED_IPV4), + AAAA("a.hampshire.aerial", LOCKHEED_IPV6), + A("b.hampshire.aerial", LOCKHEED_IPV4), + AAAA("b.hampshire.aerial", LOCKHEED_IPV6), + A("c.hampshire.aerial", LOCKHEED_IPV4), + AAAA("c.hampshire.aerial", LOCKHEED_IPV6), + + A("surrey.aerial", LOCKHEED_IPV4), + AAAA("surrey.aerial", LOCKHEED_IPV6), + A("a.surrey.aerial", LOCKHEED_IPV4), + AAAA("a.surrey.aerial", LOCKHEED_IPV6), + A("b.surrey.aerial", LOCKHEED_IPV4), + AAAA("b.surrey.aerial", LOCKHEED_IPV6), + A("c.surrey.aerial", LOCKHEED_IPV4), + AAAA("c.surrey.aerial", LOCKHEED_IPV6), + + A("os", LOCKHEED_IPV4), + AAAA("os", LOCKHEED_IPV6), + A("a.os", LOCKHEED_IPV4), + AAAA("a.os", LOCKHEED_IPV6), + A("b.os", LOCKHEED_IPV4), + AAAA("b.os", LOCKHEED_IPV6), + A("c.os", LOCKHEED_IPV4), + AAAA("c.os", LOCKHEED_IPV6), + + A("ea", LOCKHEED_IPV4), + AAAA("ea", LOCKHEED_IPV6), + A("a.ea", LOCKHEED_IPV4), + AAAA("a.ea", LOCKHEED_IPV6), + A("b.ea", LOCKHEED_IPV4), + AAAA("b.ea", LOCKHEED_IPV6), + A("c.ea", LOCKHEED_IPV4), + AAAA("c.ea", LOCKHEED_IPV6) );