]> git.openstreetmap.org Git - dns.git/blobdiff - src/osm2pgsql.js
Add test.osm2pgsql A record
[dns.git] / src / osm2pgsql.js
index 770979ad5a421daa3a38f35d3dcb33f4cdd3728c..e7cb962e2e24f12f0fc8416c75d1a4d7a103a42d 100644 (file)
@@ -2,15 +2,25 @@ 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"),
+  AAAA("@", "2a01:4f8:1c17:6433::2"),
   A("www", "138.201.190.130"),
-  AAAA("www", "2a01:4f8:1c17:6433::1")
+  AAAA("www", "2a01:4f8:1c17:6433::2"),
+
+  // Test server for osm2pgsql development
+  A("test", "135.181.221.216")
 
 );