X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/76aab59fd1e2d5cf9a042f44061cbd06c3f75dd4..165ad98b59b02e4042859c6a9cf169187087ce39:/src/osm2pgsql.js diff --git a/src/osm2pgsql.js b/src/osm2pgsql.js index 770979a..82c7686 100644 --- a/src/osm2pgsql.js +++ b/src/osm2pgsql.js @@ -2,15 +2,22 @@ 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", + ], + }), // 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")) );