]> git.openstreetmap.org Git - dns.git/blob - src/osmfoundation.js
Remove DNS for urmel
[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_BUILDER({
6     label: "@",
7     iodef: "mailto:hostmaster@openstreetmap.org",
8     issue: [
9       "letsencrypt.org",
10     ],
11     issuewild: [
12       "letsencrypt.org",
13     ],
14   }),
15
16   // Let google handle email
17
18   MX("@", 1, "aspmx.l.google.com.", TTL("1h")),
19   MX("@", 5, "alt1.aspmx.l.google.com.", TTL("1h")),
20   MX("@", 5, "alt2.aspmx.l.google.com.", TTL("1h")),
21   MX("@", 10, "alt3.aspmx.l.google.com.", TTL("1h")),
22   MX("@", 10, "alt4.aspmx.l.google.com.", TTL("1h")),
23
24   // Handle mail for the join subdomain ourselves
25
26   MX("join", 10, "a.mx.openstreetmap.org."),
27
28   // SPF policy
29
30   SPF_BUILDER({
31     label: "@",
32     parts: [
33       "v=spf1",
34       "include:_spf.google.com",  // Google GSuite
35       "ip4:212.110.172.32",       // shenron ipv4
36       "ip6:2001:41c9:1:400::32",  // shenron ipv6
37       "-all"
38     ]
39   }),
40
41   // Apple Business Manager verification
42   TXT("@", "apple-domain-verification=ZzBG2msRtUDehTMW"),
43
44   // DKIM keys
45
46   TXT("google._domainkey", "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJmTBAkYRCocCCNtVsdRNMlQel8kNfjPYJpjEm7woEgZh9yZeDzxImtz+u73oUF4+7bXzrNYbP946WNQIwAba1J69he8L1qfPBJLd3Z/fgmuaGdWcxpDno2EY4cQ8PrzvI6Vfm+6YAFANl8w09CIg41ykdlzH4iUJXD35k3SIl3wIDAQAB"),
47   TXT("20201112._domainkey", "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz4OyJc77mpW5djxVfZm18HcmJHQLpo7B2Z8Og8byICjDiG91Tpkv5ws3xIbMsi/tVA6p5L76uL0TGKlo4ayewYvJUTC22+hBWARUuWA0DgeMwBpW/dNUOJHBABCTouolvXLKRTPTefA177Y5jYbD7ZeJAR4ZnFbZX6spimXCT66AyhqCBSrOCXYXFm3ons5ANkkQBNZ/jMYczYs9T1ijNEbBNTJmLO+whOrYLyGd3iZ9X9iOmuNFBCgXp0tsN//FBsOyTl559/XY25r3GZhiKXMbrZ1IJewqJlG0+hN1y9qwWGgq5YpZPt5YJ1KGjIrcFX59/PhNQX4khPOaD5g7ZQIDAQAB", AUTOSPLIT),
48
49   // Google postmaster tools verification
50
51   CNAME("uaqn4jv2xaoe", "gv-jun5dginqysxph.dv.googlehosted.com."),
52
53   // Aliases for google services
54
55   CNAME("login", "ghs.googlehosted.com."),
56   CNAME("docs", "ghs.googlehosted.com."),
57   CNAME("mail", "ghs.googlehosted.com."),
58   CNAME("calendar", "ghs.googlehosted.com."),
59   CNAME("sites", "ghs.googlehosted.com."),
60
61   // Main web server and it's aliases
62
63   A("@", RIDLEY_IPV4),
64   A("www", RIDLEY_IPV4),
65   A("wiki", RIDLEY_IPV4),
66   A("blog", RIDLEY_IPV4),
67   A("crm", RIDLEY_IPV4),
68   A("join", RIDLEY_IPV4),
69   A("board", RIDLEY_IPV4),
70   A("dwg", RIDLEY_IPV4),
71   A("mwg", RIDLEY_IPV4),
72   A("operations", RIDLEY_IPV4),
73
74   // Nextcloud instance
75
76   CNAME("files", "nextcloud-openstreetmapfoundation.cloud68.systems."),
77
78   A("hardware", SAREL_IPV4)
79
80 );