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