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")),
31 SRV("_xmpp-server._tcp", 5, 0, 5269, "xmpp-server.l.google.com."),
32 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server1.l.google.com."),
33 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server2.l.google.com."),
34 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server3.l.google.com."),
35 SRV("_xmpp-server._tcp", 20, 0, 5269, "xmpp-server4.l.google.com."),
37 // Aliases for google services
39 CNAME("login", "ghs.google.com."),
40 CNAME("docs", "ghs.google.com."),
41 CNAME("mail", "ghs.google.com."),
42 CNAME("calendar", "ghs.google.com."),
43 CNAME("sites", "ghs.google.com."),
45 // Main web server and it's aliases
47 A("@", "193.60.236.19", TTL("10m")),
48 A("old", "193.60.236.19", TTL("10m")),
49 A("www", "193.60.236.19", TTL("10m")),
50 A("wiki", "193.60.236.19", TTL("10m")),
51 A("blog", "193.60.236.19", TTL("10m")),
52 A("crm", "193.60.236.19", TTL("10m")),
53 A("join", "193.60.236.19", TTL("10m")),
54 A("board", "193.60.236.19", TTL("10m")),
55 A("dwg", "193.60.236.19", TTL("10m")),
56 A("mwg", "193.60.236.19", TTL("10m")),
57 A("operations", "193.60.236.19", TTL("10m"))