]> git.openstreetmap.org Git - dns.git/blob - src/openstreetmap-town.js
Use templated standard CAA
[dns.git] / src / openstreetmap-town.js
1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
2
3   // Include OSM standard CAA records
4   OSM_CAA,
5
6   // Let the main domain handle the email
7
8   MX("@", 10, "a.mx.openstreetmap.org."),
9
10   // Delegate SPF policy to the main domain
11
12   SPF_BUILDER({
13     label: "@",
14     parts: [
15       "v=spf1",
16       "include:openstreetmap.org",      // main openstreetmap.org spf record
17       "-all"
18     ]
19   }),
20
21   // Delegate MTA-STS policy to the main domain
22
23   CNAME("_mta-sts", "_mta-sts.openstreetmap.org."),
24
25   // Redirect en.openstreetmap.town to en.osm.town
26
27   osm_web_service("en", "naga"),
28
29 );