]> git.openstreetmap.org Git - dns.git/blobdiff - src/stateofthemap-eu.js
Remove explicit TTLs
[dns.git] / src / stateofthemap-eu.js
index 4e83e5d9ba9b8fe56d5024264de571256fe0dcd5..76e0ddf12f82499e98d2e98b3f5488e36ecb0292 100644 (file)
@@ -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 openstreetmap.at handle email