]> git.openstreetmap.org Git - dns.git/blob - src/opengeodata.js
osmf: add SPF include for mailbox.org
[dns.git] / src / opengeodata.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   // Delegate SPF policy to the main domain
17
18   SPF_BUILDER({
19     label: "@",
20     parts: [
21       "v=spf1",
22       "include:openstreetmap.org",      // main openstreetmap.org spf record
23       "-all"
24     ]
25   }),
26
27   // Main web server and it's aliases
28
29   A("@", RIDLEY_IPV4),
30   A("old", RIDLEY_IPV4), // Legacy URL support https://blog.openstreetmap.org/2010/02/25/old-opengeodata-posts-now-up-at-old-opengeodata-org/
31   A("www", RIDLEY_IPV4)
32
33 );