1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
3 // Publish CAA records indicating that only letsencrypt should issue certificates
5 CAA("@", "issue", "letsencrypt.org", CF_TTL_ANY),
6 CAA("@", "issuewild", "letsencrypt.org", CF_TTL_ANY),
7 CAA("@", "iodef", "mailto:hostmaster@openstreetmap.org"),
9 // Let google handle email
11 MX("@", 1, "aspmx.l.google.com.", TTL("1h")),
12 MX("@", 5, "alt1.aspmx.l.google.com.", TTL("1h")),
13 MX("@", 5, "alt2.aspmx.l.google.com.", TTL("1h")),
14 MX("@", 10, "alt3.aspmx.l.google.com.", TTL("1h")),
15 MX("@", 10, "alt4.aspmx.l.google.com.", TTL("1h")),
17 // Handle mail for the join subdomain ourselves
19 MX("join", 10, "a.mx.openstreetmap.org."),
23 TXT("@", "v=spf1 ip4:212.110.172.32 ip6:2001:41c9:1:400::32 a mx include:_spf.google.com -all"),
27 TXT("google._domainkey", "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJmTBAkYRCocCCNtVsdRNMlQel8kNfjPYJpjEm7woEgZh9yZeDzxImtz+u73oUF4+7bXzrNYbP946WNQIwAba1J69he8L1qfPBJLd3Z/fgmuaGdWcxpDno2EY4cQ8PrzvI6Vfm+6YAFANl8w09CIg41ykdlzH4iUJXD35k3SIl3wIDAQAB", TTL("15m")),
28 TXT("20201112._domainkey", "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz4OyJc77mpW5djxVfZm18HcmJHQLpo7B2Z8Og8byICjDiG91Tpkv5ws3xIbMsi/tVA6p5L76uL0TGKlo4ayewYvJUTC22+hBWARUuWA0DgeMwBpW/dNUOJHBABCTouolvXLKRTPTefA177Y5jYbD7ZeJAR4ZnFbZX6spimXCT66AyhqCBSrOCXYXFm3ons5ANkkQBNZ/jMYczYs9T1ijNEbBNTJmLO+whOrYLyGd3iZ9X9iOmuNFBCgXp0tsN//FBsOyTl559/XY25r3GZhiKXMbrZ1IJewqJlG0+hN1y9qwWGgq5YpZPt5YJ1KGjIrcFX59/PhNQX4khPOaD5g7ZQIDAQAB"),
30 // Google postmaster tools verification
32 CNAME("uaqn4jv2xaoe", "gv-jun5dginqysxph.dv.googlehosted.com."),
36 SRV("_xmpp-server._tcp", 5, 0, 5269, "xmpp-server.l.google.com."),
37 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server1.l.google.com."),
38 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server2.l.google.com."),
39 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server3.l.google.com."),
40 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server4.l.google.com."),
42 // Aliases for google services
44 CNAME("login", "ghs.google.com."),
45 CNAME("docs", "ghs.google.com."),
46 CNAME("mail", "ghs.google.com."),
47 CNAME("calendar", "ghs.google.com."),
48 CNAME("sites", "ghs.google.com."),
50 // Main web server and it's aliases
52 A("@", RIDLEY_IPV4, TTL("10m")),
53 A("old", RIDLEY_IPV4, TTL("10m")),
54 A("www", RIDLEY_IPV4, TTL("10m")),
55 A("wiki", RIDLEY_IPV4, TTL("10m")),
56 A("blog", RIDLEY_IPV4, TTL("10m")),
57 A("crm", RIDLEY_IPV4, TTL("10m")),
58 A("join", RIDLEY_IPV4, TTL("10m")),
59 A("board", RIDLEY_IPV4, TTL("10m")),
60 A("dwg", RIDLEY_IPV4, TTL("10m")),
61 A("mwg", RIDLEY_IPV4, TTL("10m")),
62 A("operations", RIDLEY_IPV4, TTL("10m"))