]> git.openstreetmap.org Git - dns.git/commitdiff
Point welcome at naga
authorTom Hughes <tom@compton.nu>
Sat, 11 Feb 2023 17:31:55 +0000 (17:31 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 11 Feb 2023 17:31:55 +0000 (17:31 +0000)
src/openstreetmap.js

index 7ca0c91a331a5f34fb7c7ae5fa5929e5caa96d57..f3e9abf0afe385c0c939e96c7468b4dfb99757c1 100644 (file)
@@ -1,12 +1,3 @@
-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
@@ -524,6 +515,8 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
   AAAA("blogs", NAGA_IPV6),
   A("munin", NAGA_IPV4),
   AAAA("munin", NAGA_IPV6),
+  A("welcome", NAGA_IPV4),
+  AAAA("welcome", NAGA_IPV6),
   A("naga.dub", NAGA_INTERNAL),
   A("naga.oob", NAGA_OOB),
 
@@ -646,9 +639,6 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   CNAME("uptime", "uptimessl-new.statuscake.com."),
 
-  // Custom Domain for https://github.com/osmfoundation/welcome-mat/
-  WELCOME_DOMAIN,
-
   // Dynamic DNS records
 
   DYNAMIC_RECORDS