]> git.openstreetmap.org Git - dns.git/blob - src/osmfoundation.js
Add files.osmfoundation.org
[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", AUTOSPLIT),
29
30   // Google postmaster tools verification
31
32   CNAME("uaqn4jv2xaoe", "gv-jun5dginqysxph.dv.googlehosted.com."),
33
34   // Aliases for google services
35
36   CNAME("login", "ghs.google.com."),
37   CNAME("docs", "ghs.google.com."),
38   CNAME("mail", "ghs.google.com."),
39   CNAME("calendar", "ghs.google.com."),
40   CNAME("sites", "ghs.google.com."),
41
42   // Main web server and it's aliases
43
44   A("@", RIDLEY_IPV4, TTL("10m")),
45   A("www", RIDLEY_IPV4, TTL("10m")),
46   A("wiki", RIDLEY_IPV4, TTL("10m")),
47   A("blog", RIDLEY_IPV4, TTL("10m")),
48   A("crm", RIDLEY_IPV4, TTL("10m")),
49   A("join", RIDLEY_IPV4, TTL("10m")),
50   A("board", RIDLEY_IPV4, TTL("10m")),
51   A("dwg", RIDLEY_IPV4, TTL("10m")),
52   A("mwg", RIDLEY_IPV4, TTL("10m")),
53   A("operations", RIDLEY_IPV4, TTL("10m")),
54
55   // Nextcloud instance
56
57   CNAME("files", "osmfiles.cloud68.co")
58
59 );