// 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
+ // Block email delivery
- MX("@", 1, "openstreetmap.at.", TTL("1h")),
+ TXT("_dmarc", "v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s;"),
+ TXT("*._domainkey", "v=DKIM1; p="),
+ TXT("@", "v=spf1 -all"),
- // Main web server and it's aliases
-
- A("@", "88.198.206.107", TTL("10m")),
- A("www", "88.198.206.107", TTL("10m"))
+ // Site hosted on github pages
+ ALIAS("@", "openstreetmap-polska.github.io."),
+ CNAME("www", "openstreetmap-polska.github.io."),
+
+ // Previous editions
+
+ A("2014", "49.12.5.171"),
+ CNAME("2023", "osmbe.github.io."),
+ CNAME("2024", "openstreetmap-polska.github.io.")
+
);