+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("spike-03.dub", SPIKE03_INTERNAL),
A("spike-03.oob", SPIKE03_OOB),
- A("spike-04", SPIKE04_IPV4),
- AAAA("spike-04", SPIKE04_IPV6),
- // A("@", SPIKE04_IPV4),
- // AAAA("@", SPIKE04_IPV6),
- // A("www", SPIKE04_IPV4),
- // AAAA("www", SPIKE04_IPV6),
- // A("api", SPIKE04_IPV4),
- // AAAA("api", SPIKE04_IPV6),
- // A("maps", SPIKE04_IPV4),
- // AAAA("maps", SPIKE04_IPV6),
- // A("mapz", SPIKE04_IPV4),
- // AAAA("mapz", SPIKE04_IPV6),
- A("spike-04.bm", SPIKE04_INTERNAL),
- A("spike-04.oob", SPIKE04_OOB),
-
- A("spike-05", SPIKE05_IPV4),
- AAAA("spike-05", SPIKE05_IPV6),
- // A("@", SPIKE05_IPV4),
- // AAAA("@", SPIKE05_IPV6),
- // A("www", SPIKE05_IPV4),
- // AAAA("www", SPIKE05_IPV6),
- // A("api", SPIKE05_IPV4),
- // AAAA("api", SPIKE05_IPV6),
- // A("maps", SPIKE05_IPV4),
- // AAAA("maps", SPIKE05_IPV6),
- // A("mapz", SPIKE05_IPV4),
- // AAAA("mapz", SPIKE05_IPV6),
- A("spike-05.bm", SPIKE05_INTERNAL),
- A("spike-05.oob", SPIKE05_OOB),
-
A("spike-06", SPIKE06_IPV4),
AAAA("spike-06", SPIKE06_IPV6),
A("@", SPIKE06_IPV4),
// Nominatim servers
- A("pummelzacken", PUMMELZACKEN_IPV4),
- A("pummelzacken.ucl", PUMMELZACKEN_INTERNAL),
- A("pummelzacken.oob", PUMMELZACKEN_OOB),
-
A("dulcy", DULCY_IPV4),
AAAA("dulcy", DULCY_IPV6),
A("dulcy.ams", DULCY_INTERNAL),
AAAA("stormfly-04", STORMFLY04_IPV6),
A("stormfly-04.oob", STORMFLY04_OOB),
+ A("vhagar", VHAGAR_IPV4),
+ AAAA("vhagar", VHAGAR_IPV6),
+ A("vhagar.ams", VHAGAR_INTERNAL),
+ A("vhagar.oob", VHAGAR_OOB),
+
CNAME("nominatim", "nominatim.geo.openstreetmap.org."),
CNAME("qgis.nominatim", "nominatim.geo.openstreetmap.org."),
CNAME("qa-tile.nominatim", "longma.openstreetmap.org."),
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),
// Matomo server
- A("eustace", EUSTACE_IPV4),
- A("matomo", EUSTACE_IPV4),
- A("piwik", EUSTACE_IPV4),
- A("eustace.ucl", EUSTACE_INTERNAL),
- A("eustace.oob", EUSTACE_OOB),
+ A("smaug", SMAUG_IPV4),
+ AAAA("smaug", SMAUG_IPV6),
+ A("matomo", SMAUG_IPV4),
+ AAAA("matomo", SMAUG_IPV6),
+ A("piwik", SMAUG_IPV4),
+ AAAA("piwik", SMAUG_IPV6),
+ A("smaug.dub", SMAUG_INTERNAL),
+ A("smaug.oob", SMAUG_OOB),
// Imagery servers
AAAA("c.os", KESSIE_IPV6, TTL("1h")),
A("kessie.oob", KESSIE_OOB),
- // Munin server
-
- A("urmel", URMEL_IPV4),
- A("munin", URMEL_IPV4),
- A("urmel.ucl", URMEL_INTERNAL),
- A("urmel.oob", URMEL_OOB),
-
// Prometheus server
A("stormfly-03", STORMFLY03_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),
AAAA("help", SHENRON_IPV6),
- A("shenron.bm", SHENRON_INTERNAL),
-
- // Lockheed service
-
- A("lockheed", LOCKHEED_IPV4),
- AAAA("lockheed", LOCKHEED_IPV6),
- A("svn", LOCKHEED_IPV4),
- AAAA("svn", LOCKHEED_IPV6),
- A("trac", LOCKHEED_IPV4),
- AAAA("trac", LOCKHEED_IPV6),
- A("irc", LOCKHEED_IPV4),
- AAAA("irc", LOCKHEED_IPV6),
- A("blogs", LOCKHEED_IPV4),
- AAAA("blogs", LOCKHEED_IPV6),
- A("lockheed.ams", LOCKHEED_INTERNAL),
- A("lockheed.oob", LOCKHEED_OOB),
+
+ // Naga service
+
+ A("naga", NAGA_IPV4),
+ AAAA("naga", NAGA_IPV6),
+ A("svn", NAGA_IPV4),
+ AAAA("svn", NAGA_IPV6),
+ A("trac", NAGA_IPV4),
+ AAAA("trac", NAGA_IPV6),
+ A("irc", NAGA_IPV4),
+ AAAA("irc", NAGA_IPV6),
+ A("blogs", NAGA_IPV4),
+ AAAA("blogs", NAGA_IPV6),
+ A("munin", NAGA_IPV4),
+ AAAA("munin", NAGA_IPV6),
+ A("naga.dub", NAGA_INTERNAL),
+ A("naga.oob", NAGA_OOB),
// 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),
// Tile cache servers
// Spare
- A("konqi", KONQI_IPV4),
- AAAA("konqi", KONQI_IPV6),
- A("konqi.dub", KONQI_INTERNAL),
- A("konqi.oob", KONQI_OOB),
+ A("dribble", DRIBBLE_IPV4),
+ AAAA("dribble", DRIBBLE_IPV6),
+ A("dribble.ams", DRIBBLE_INTERNAL),
+ A("dribble.oob", DRIBBLE_OOB),
- A("naga", NAGA_IPV4),
- AAAA("naga", NAGA_IPV6),
- A("naga.dub", NAGA_INTERNAL),
- A("naga.oob", NAGA_OOB),
+ A("noquiklos", NOQUIKLOS_IPV4),
+ A("noquiklos.ucl", NOQUIKLOS_INTERNAL),
+ A("noquiklos.oob", NOQUIKLOS_OOB),
+
+ A("pummelzacken", PUMMELZACKEN_IPV4),
+ A("pummelzacken.ucl", PUMMELZACKEN_INTERNAL),
+ A("pummelzacken.oob", PUMMELZACKEN_OOB),
A("sarel", SAREL_IPV4),
A("sarel.ucl", SAREL_INTERNAL),
A("sarel.oob", SAREL_OOB),
+ // 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")
AAAA("jakelong", JAKELONG_IPV6),
A("community", JAKELONG_IPV4),
A("communities", JAKELONG_IPV4),
+ A("c", JAKELONG_IPV4),
AAAA("community", JAKELONG_IPV6),
AAAA("communities", JAKELONG_IPV6),
+ AAAA("c", JAKELONG_IPV6),
A("jakelong.dub", JAKELONG_INTERNAL),
A("jakelong.oob", JAKELONG_OOB),
+ CNAME("community-cdn", "dualstack.n.sni.global.fastly.net."),
// Donation site
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