X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/76aab59fd1e2d5cf9a042f44061cbd06c3f75dd4..9855e61fc590fa6997e8e4cd1a2b0284e6655ccf:/src/osm2pgsql.js?ds=sidebyside diff --git a/src/osm2pgsql.js b/src/osm2pgsql.js index 770979a..b54a99c 100644 --- a/src/osm2pgsql.js +++ b/src/osm2pgsql.js @@ -2,15 +2,23 @@ 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: "@", + ttl: "1h", + iodef: "mailto:hostmaster@openstreetmap.org", + issue: [ + "letsencrypt.org", + ], + issuewild: [ + "letsencrypt.org", + ], + }), // Main web server and it's aliases - A("@", "138.201.190.130"), - AAAA("@", "2a01:4f8:1c17:6433::1"), - A("www", "138.201.190.130"), - AAAA("www", "2a01:4f8:1c17:6433::1") + A("@", "138.201.190.130", TTL("10m")), + AAAA("@", "2a01:4f8:1c17:6433::2", TTL("10m")), + A("www", "138.201.190.130", TTL("10m")), + AAAA("www", "2a01:4f8:1c17:6433::2", TTL("10m")) );