+if ( DOMAIN == "openstreetmap.org" ) {
+ // Custom Domain for https://github.com/osmfoundation/welcome-mat/
+ var WELCOME_DOMAIN = CNAME("welcome", "osmfoundation.github.io.")
+} else {
+ // Github Pages only allows 1 domain name per site.
+ // Avoid Google Pages domain hijack
+ var WELCOME_DOMAIN = CNAME("welcome", "openstreetmap.org.")
+}
+
D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
// Publish CAA records indicating that only letsencrypt and globalsign (Fastly) should issue certificates
],
}),
- // Use shenron as the MX host
+ // Mail service
MX("@", 10, QUALIFY("a.mx")),
MX("messages", 10, QUALIFY("a.mx")),
MX("noreply", 10, QUALIFY("a.mx")),
MX("otrs", 10, QUALIFY("a.mx")),
MX("community", 10, QUALIFY("a.mx")),
- A("a.mx", SHENRON_IPV4),
- AAAA("a.mx", SHENRON_IPV6),
+ A("a.mx", FAFNIR_IPV4),
+ AAAA("a.mx", FAFNIR_IPV6),
+ A("mail", FAFNIR_IPV4),
+ AAAA("mail", FAFNIR_IPV6),
+ A("mta-sts", FAFNIR_IPV4),
+ AAAA("mta-sts", FAFNIR_IPV6),
// Publish SPF records indicating that only shenron sends mail
A("horntail.dub", HORNTAIL_INTERNAL),
A("horntail.oob", HORNTAIL_OOB),
- A("grisu", GRISU_IPV4),
- AAAA("grisu", GRISU_IPV6),
- // A("backup", GRISU_IPV4, TTL("10m")),
- // AAAA("backup", GRISU_IPV6, TTL("10m")),
- // A("planet", GRISU_IPV4, TTL("10m")),
- // AAAA("planet", GRISU_IPV6, TTL("10m")),
- A("grisu.bm", GRISU_INTERNAL),
- A("grisu.oob", GRISU_OOB),
-
// Database servers
A("snap-01.ams", SNAP01_INTERNAL),
A("eddie.ucl", EDDIE_INTERNAL),
A("eddie.oob", EDDIE_OOB),
- A("katla.bm", KATLA_INTERNAL),
- A("katla.oob", KATLA_OOB),
-
// Development server with wildcard alias for user sites
A("faffy", FAFFY_IPV4),
A("shenron", SHENRON_IPV4),
AAAA("shenron", SHENRON_IPV6),
- A("mail", SHENRON_IPV4),
- AAAA("mail", SHENRON_IPV6),
- A("mta-sts", SHENRON_IPV4),
- AAAA("mta-sts", SHENRON_IPV6),
A("lists", SHENRON_IPV4),
AAAA("lists", SHENRON_IPV6),
A("help", SHENRON_IPV4),
// Wiki servers
- A("tabaluga", TABALUGA_IPV4),
- AAAA("tabaluga", TABALUGA_IPV6),
- A("wiki", TABALUGA_IPV4, TTL("10m")),
- AAAA("wiki", TABALUGA_IPV6, TTL("10m")),
- A("tabaluga.ams", TABALUGA_INTERNAL),
- A("tabaluga.oob", TABALUGA_OOB),
+ A("konqi", KONQI_IPV4),
+ AAAA("konqi", KONQI_IPV6),
+ A("wiki", KONQI_IPV4),
+ AAAA("wiki", KONQI_IPV6),
+ A("konqi.dub", KONQI_INTERNAL),
+ A("konqi.oob", KONQI_OOB),
// Overpass server
// GPS tile server
- A("noquiklos", NOQUIKLOS_IPV4),
- A("gps-tile", NOQUIKLOS_IPV4),
- A("a.gps-tile", NOQUIKLOS_IPV4),
- A("b.gps-tile", NOQUIKLOS_IPV4),
- A("c.gps-tile", NOQUIKLOS_IPV4),
- A("gps.tile", NOQUIKLOS_IPV4),
- A("gps-a.tile", NOQUIKLOS_IPV4),
- A("gps-b.tile", NOQUIKLOS_IPV4),
- A("gps-c.tile", NOQUIKLOS_IPV4),
- A("noquiklos.ucl", NOQUIKLOS_INTERNAL),
- A("noquiklos.oob", NOQUIKLOS_OOB),
-
A("muirdris", MUIRDRIS_IPV4),
AAAA("muirdris", MUIRDRIS_IPV6),
+ A("gps-tile", MUIRDRIS_IPV4),
+ AAAA("gps-tile", MUIRDRIS_IPV6),
+ A("a.gps-tile", MUIRDRIS_IPV4),
+ AAAA("a.gps-tile", MUIRDRIS_IPV6),
+ A("b.gps-tile", MUIRDRIS_IPV4),
+ AAAA("b.gps-tile", MUIRDRIS_IPV6),
+ A("c.gps-tile", MUIRDRIS_IPV4),
+ AAAA("c.gps-tile", MUIRDRIS_IPV6),
+ A("gps.tile", MUIRDRIS_IPV4),
+ AAAA("gps.tile", MUIRDRIS_IPV6),
+ A("gps-a.tile", MUIRDRIS_IPV4),
+ AAAA("gps-a.tile", MUIRDRIS_IPV6),
+ A("gps-b.tile", MUIRDRIS_IPV4),
+ AAAA("gps-b.tile", MUIRDRIS_IPV6),
+ A("gps-c.tile", MUIRDRIS_IPV4),
+ AAAA("gps-c.tile", MUIRDRIS_IPV6),
A("muirdris.dub", MUIRDRIS_INTERNAL),
A("muirdris.oob", MUIRDRIS_OOB),
A("dribble.ams", DRIBBLE_INTERNAL),
A("dribble.oob", DRIBBLE_OOB),
- A("eustace", EUSTACE_IPV4),
- A("eustace.ucl", EUSTACE_INTERNAL),
- A("eustace.oob", EUSTACE_OOB),
-
- A("konqi", KONQI_IPV4),
- AAAA("konqi", KONQI_IPV6),
- A("konqi.dub", KONQI_INTERNAL),
- A("konqi.oob", KONQI_OOB),
+ A("noquiklos", NOQUIKLOS_IPV4),
+ A("noquiklos.ucl", NOQUIKLOS_INTERNAL),
+ A("noquiklos.oob", NOQUIKLOS_OOB),
A("pummelzacken", PUMMELZACKEN_IPV4),
A("pummelzacken.ucl", PUMMELZACKEN_INTERNAL),
// Temporary name for discourse fluxbb import test
A("forum-import-test", SAREL_IPV4),
+ A("tabaluga", TABALUGA_IPV4),
+ AAAA("tabaluga", TABALUGA_IPV6),
+ A("tabaluga.ams", TABALUGA_INTERNAL),
+ A("tabaluga.oob", TABALUGA_OOB),
+
// Discourse server ("community")
A("jakelong", JAKELONG_IPV4),
CNAME("uptime", "uptimessl-new.statuscake.com."),
// Custom Domain for https://github.com/osmfoundation/welcome-mat/
-
- CNAME("welcome", "osmfoundation.github.io."),
+ WELCOME_DOMAIN,
// Dynamic DNS records