]> git.openstreetmap.org Git - dns.git/blob - src/osmfoundation.js
a173d713814947105fd0866f7d2e552d56227539
[dns.git] / src / osmfoundation.js
1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
2
3   // Publish CAA records indicating that only letsencrypt should issue certificates
4
5   CAA("@", "issue", "letsencrypt.org", CF_TTL_ANY),
6   CAA("@", "issuewild", "letsencrypt.org", CF_TTL_ANY),
7   CAA("@", "iodef", "mailto:hostmaster@openstreetmap.org"),
8
9   // Let google handle email
10
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")),
16
17   // Handle mail for the join subdomain ourselves
18
19   MX("join", 10, "a.mx.openstreetmap.org."),
20
21   // SPF policy
22
23   TXT("@", "v=spf1 ip4:212.110.172.32 ip6:2001:41c9:1:400::32 a mx include:_spf.google.com -all"),
24
25   // DKIM keys
26
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"),
29
30   // Google postmaster tools verification
31
32   CNAME("uaqn4jv2xaoe", "gv-jun5dginqysxph.dv.googlehosted.com."),
33
34   // XMPP chat servers
35
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."),
41
42   // Aliases for google services
43
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."),
49
50   // Main web server and it's aliases
51
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"))
63
64 );