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")),
29 // Google postmaster tools verification
31 CNAME("uaqn4jv2xaoe", "gv-jun5dginqysxph.dv.googlehosted.com."),
35 SRV("_xmpp-server._tcp", 5, 0, 5269, "xmpp-server.l.google.com."),
36 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server1.l.google.com."),
37 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server2.l.google.com."),
38 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server3.l.google.com."),
39 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server4.l.google.com."),
41 // Aliases for google services
43 CNAME("login", "ghs.google.com."),
44 CNAME("docs", "ghs.google.com."),
45 CNAME("mail", "ghs.google.com."),
46 CNAME("calendar", "ghs.google.com."),
47 CNAME("sites", "ghs.google.com."),
49 // Main web server and it's aliases
51 A("@", "193.60.236.19", TTL("10m")),
52 A("old", "193.60.236.19", TTL("10m")),
53 A("www", "193.60.236.19", TTL("10m")),
54 A("wiki", "193.60.236.19", TTL("10m")),
55 A("blog", "193.60.236.19", TTL("10m")),
56 A("crm", "193.60.236.19", TTL("10m")),
57 A("join", "193.60.236.19", TTL("10m")),
58 A("board", "193.60.236.19", TTL("10m")),
59 A("dwg", "193.60.236.19", TTL("10m")),
60 A("mwg", "193.60.236.19", TTL("10m")),
61 A("operations", "193.60.236.19", TTL("10m"))