1 D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
3 // Publish CAA records indicating that only letsencrypt and globalsign (Fastly) should issue certificates
8 iodef: "mailto:hostmaster@openstreetmap.org",
11 "globalsign.com", // Used by Fastly for CDN certificates
15 "globalsign.com", // Used by Fastly for CDN certificates
21 MX("@", 10, QUALIFY("a.mx")),
22 MX("messages", 10, QUALIFY("a.mx")),
23 MX("noreply", 10, QUALIFY("a.mx")),
24 MX("otrs", 10, QUALIFY("a.mx")),
25 MX("community", 10, QUALIFY("a.mx")),
26 MX("supporting", 10, QUALIFY("a.mx")),
28 A("a.mx", IPV4["fafnir"]),
29 AAAA("a.mx", IPV6["fafnir"]),
30 A("mail", IPV4["fafnir"]),
31 AAAA("mail", IPV6["fafnir"]),
32 A("mta-sts", IPV4["fafnir"]),
33 AAAA("mta-sts", IPV6["fafnir"]),
35 // Publish SPF records indicating that only shenron sends mail
41 "ip4:184.104.226.98", // fafnir ipv4 (he.net)
42 "ip6:2001:470:1:b3b::2", // fafnir ipv6 (he.net)
43 "ip4:87.252.214.98", // fafnir ipv4 (equinix)
44 "ip6:2001:4d78:fe03:1c::2", // fafnir ipv6 (equinix)
45 "ip4:193.60.236.0/24", // ucl external
46 "ip4:82.199.86.96/27", // amsterdam external (equinix)
47 "ip6:2001:4d78:500:5e3::/64", // amsterdam external (equinix)
48 "ip4:87.252.214.96/27", // dublin external (equinix)
49 "ip6:2001:4d78:fe03:1c::/64", // dublin external (equinix)
50 "ip4:184.104.179.128/27", // amsterdam external (he.net)
51 "ip6:2001:470:1:fa1::/64", // amsterdam external (he.net)
52 "ip4:184.104.226.96/27", // dublin external (he.net)
53 "ip6:2001:470:1:b3b::/64", // dublin external (he.net)
54 "mx", // safety net if we change mx
63 "include:openstreetmap.org", // main openstreetmap.org spf record
72 "include:openstreetmap.org", // main openstreetmap.org spf record
81 "include:openstreetmap.org", // main openstreetmap.org spf record
90 "include:openstreetmap.org", // main openstreetmap.org spf record
99 "include:openstreetmap.org", // main openstreetmap.org spf record
104 // Publish DKIM public key
106 TXT("20200301._domainkey", "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzvoNZVOGfw1V4A171hxHMhzVTAnIUQVJ8iX3wbqCld8A5iIaXeTGYvBmewymax/cYJS4QqzbpUzkgrrTA9avuZhd+QGJDgjADgx4VyMOaOS6FwAxS0uXtLrt+lsixRDx/feKyZHaxjzJAQy46ok77xXL4UXIaaovw6G6eZpIScMzZQ2zkKNJxTICzzSOduIilHhMWte4XP+/2PdRmD7Ge9jb0U4bZjswX0AqKSGzDKYw+yxVna9l53adeCnklqg2ofoXu+ResiH+kt05aCUOMo8en3em6yBnRCMalgi1E3Tt7I5BWcYFRkT/8agUGW4gGC6XMV9IskOsYL0emG0kGwIDAQAB", AUTOSPLIT),
108 // Publish DMARC report-only policy
113 "mailto:openstreetmap-d@dmarc.report-uri.com"
118 // Announce MTA-STS policy and TLSRPT policy for error reports
120 TXT("_mta-sts", "v=STSv1; id=202001291805Z"),
121 TXT("_smtp._tls", "v=TLSRPTv1; rua=mailto:openstreetmap-d@tlsrpt.report-uri.com"),
123 // Fastly cert domain ownership confirmation
125 TXT("@", "_globalsign-domain-verification=ps00GlW1BzY9c2_cwH_pFqRkvzZyaCVZ-3RLssRG6S"),
126 TXT("@", "_globalsign-domain-verification=W0buKB5ZmL-VwwHw2oQyQImk3I1q3hSemf2qmB1hjP"),
128 // Facebook Business domain verification
130 TXT("@", "facebook-domain-verification=j5hix5i8r0kortfugqf2p9wx9x9by0"),
132 // Bluesky domain verification
134 TXT("_atproto", "did=did:plc:i6llv7iwybeipknl57v4dalb"),
136 // Delegate MTA-STS policy for subdomains
138 CNAME("_mta-sts.messages", QUALIFY("_mta-sts")),
139 CNAME("_mta-sts.noreply", QUALIFY("_mta-sts")),
140 CNAME("_mta-sts.otrs", QUALIFY("_mta-sts")),
141 CNAME("_mta-sts.community", QUALIFY("_mta-sts")),
142 CNAME("_mta-sts.supporting", QUALIFY("_mta-sts")),
144 // Google postmaster tools verification
146 CNAME("af323lytato5", "gv-o4v3qh5pfayqex.dv.googlehosted.com."),
147 CNAME("irzdddnmh465", "gv-cwr6bvt7xsgact.dv.googlehosted.com."),
149 // Main web servers and their aliases
151 osm_web_service("@", [ "spike-06",
154 ], { cfproxy: true }),
156 osm_web_service("www", [ "spike-06",
159 ], { cfproxy: true }),
161 osm_web_service("api", [ "spike-06",
164 ], { cfproxy: true }),
166 osm_web_service("maps", [ "spike-06",
169 ], { cfproxy: true }),
171 osm_web_service("mapz", [ "spike-06",
174 ], { cfproxy: true }),
178 CNAME("nominatim", "nominatim.geo.openstreetmap.org."),
179 CNAME("qgis.nominatim", "nominatim.geo.openstreetmap.org."),
180 CNAME("qa-tile.nominatim", "longma.openstreetmap.org."),
184 CNAME("tile", "dualstack.n.sni.global.fastly.net."),
185 CNAME("a.tile", "dualstack.n.sni.global.fastly.net."),
186 CNAME("b.tile", "dualstack.n.sni.global.fastly.net."),
187 CNAME("c.tile", "dualstack.n.sni.global.fastly.net."),
189 osm_web_service("render", [ "culebre",
193 // Vector tile servers
195 CNAME("vector", "dualstack.n.sni.global.fastly.net."),
199 A("backup", IPV4["norbert"]),
200 AAAA("backup", IPV6["norbert"]),
201 // A("backup", IPV4["horntail"]),
202 // AAAA("backup", IPV6["horntail"]),
204 osm_web_service("planet", "norbert"),
205 // osm_web_service("planet", "horntail"),
207 // Development server with wildcard alias for user sites
209 osm_web_service("dev", "faffy"),
210 osm_web_service("*.dev", "faffy"),
212 osm_web_service("ooc", "faffy"),
213 osm_web_service("a.ooc", "faffy"),
214 osm_web_service("b.ooc", "faffy"),
215 osm_web_service("c.ooc", "faffy"),
217 osm_web_service("npe", "faffy"),
221 osm_web_service("blog", "ridley"),
222 osm_web_service("foundation", "ridley"),
226 osm_web_service("matomo", "smaug"),
227 osm_web_service("piwik", "smaug"),
231 osm_web_service("agri", "lockheed"),
232 osm_web_service("a.agri", "lockheed"),
233 osm_web_service("b.agri", "lockheed"),
234 osm_web_service("c.agri", "lockheed"),
236 osm_web_service("act-imagery", "lockheed"),
237 osm_web_service("a.act-imagery", "lockheed"),
238 osm_web_service("b.act-imagery", "lockheed"),
239 osm_web_service("c.act-imagery", "lockheed"),
241 osm_web_service("au-vic-melbourne-imagery", "lockheed"),
242 osm_web_service("a.au-vic-melbourne-imagery", "lockheed"),
243 osm_web_service("b.au-vic-melbourne-imagery", "lockheed"),
244 osm_web_service("c.au-vic-melbourne-imagery", "lockheed"),
246 osm_web_service("os", "lockheed"),
247 osm_web_service("a.os", "lockheed"),
248 osm_web_service("b.os", "lockheed"),
249 osm_web_service("c.os", "lockheed"),
251 osm_web_service("tiler", "lockheed"),
253 osm_web_service("us-imagery", "lockheed"),
254 osm_web_service("a.us-imagery", "lockheed"),
255 osm_web_service("b.us-imagery", "lockheed"),
256 osm_web_service("c.us-imagery", "lockheed"),
258 // Prometheus server and munin redirect
260 osm_web_service("prometheus", "stormfly-03"),
261 osm_web_service("munin", "stormfly-03"),
265 osm_web_service("acme", "idris"),
266 osm_web_service("apt", "idris"),
267 osm_web_service("chef", "idris"),
268 osm_web_service("dns", "idris"),
269 osm_web_service("git", "idris"),
270 osm_web_service("hardware", "idris"),
272 // Bytemark machine, and the services which operate from it
274 osm_web_service("lists", "shenron"),
275 osm_web_service("help", "shenron"),
279 osm_web_service("svn", "naga"),
280 osm_web_service("trac", "naga"),
281 osm_web_service("irc", "naga"),
282 osm_web_service("blogs", "naga"),
283 osm_web_service("welcome", "naga"),
284 osm_web_service("operations", "naga"),
285 osm_web_service("hot", "naga"),
286 osm_web_service("dmca", "naga"),
287 osm_web_service("otrs", "naga", { h1: true, h2: false }), // OTRS is not available using HTTPS/2
288 osm_web_service("birthday20", "naga"),
292 osm_web_service("wiki", "konqi"),
293 osm_web_service("test.wiki", "muirdris"),
297 osm_web_service("query", "grisu"),
301 osm_web_service("gps-tile", "muirdris"),
302 osm_web_service("a.gps-tile", "muirdris"),
303 osm_web_service("b.gps-tile", "muirdris"),
304 osm_web_service("c.gps-tile", "muirdris"),
305 osm_web_service("gps.tile", "muirdris"),
306 osm_web_service("gps-a.tile", "muirdris"),
307 osm_web_service("gps-b.tile", "muirdris"),
308 osm_web_service("gps-c.tile", "muirdris"),
310 // Donation site and new OSMF crm site
312 osm_web_service("donate", "ridley"),
313 osm_web_service("support", "ridley"),
314 osm_web_service("supporting", "ridley"),
316 // Discourse server ("community")
318 osm_web_service("community", "fume"),
319 osm_web_service("communities", "fume"),
320 osm_web_service("c", "fume"),
321 osm_web_service("forum", "fume"),
323 CNAME("community-cdn", "dualstack.n.sni.global.fastly.net."),
324 TXT("community", "google-site-verification=hQ8GZyj4KwnPqAX2oAzpbLrh6I5dfR08PSdL3icVkfg"),
326 // Taginfo and Staging Blog Server
328 osm_web_service("taginfo", "tabaluga"),
330 // Staging Blog Server
332 osm_web_service("staging.blog", "tabaluga"),