coren has submitted this change and it was merged.

Change subject: Geolocate our own IP space manually
......................................................................


Geolocate our own IP space manually

Our ARIN IP space is geolocated to San Francisco, which means that with
ulsfo up internal requests get directed to the ulsfo caches. This is
silly, especially for bots from Labs hitting the site, but it also
matters from a couple of other places, such as e.g. the netmapper cron
fetching the Wikipedia Zero list from meta.

Change-Id: I59436ac4ab88ad3d82c47e1edbf7d847206888c3
---
M config-geo
1 file changed, 11 insertions(+), 1 deletion(-)

Approvals:
  coren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/config-geo b/config-geo
index ace5a05..03fa8c7 100644
--- a/config-geo
+++ b/config-geo
@@ -190,7 +190,17 @@
                                },
                                OC => eqiad,
                                default => eqiad,
-                       }
+                       },
+                       nets = {
+                               208.80.152.0/22 => eqiad, # pmtpa, eqiad
+                               91.198.174.0/24 => esams, # esams
+                               185.15.56.0/22  => esams, # esams
+                               198.35.26.0/23  => eqiad, # ulsfo
+                               2620:0:860::/48 => eqiad, # pmtpa
+                               2620:0:861::/48 => eqiad, # eqiad
+                               2620:0:862::/48 => esams, # esams
+                               2620:0:863::/48 => eqiad, # ulsfo
+                       },
                },
                only-primary-map => {
                        geoip_db => /usr/share/GeoIP/GeoIPv6.dat

-- 
To view, visit https://gerrit.wikimedia.org/r/95169
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I59436ac4ab88ad3d82c47e1edbf7d847206888c3
Gerrit-PatchSet: 2
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: Mark Bergsma <m...@wikimedia.org>
Gerrit-Reviewer: coren <mpellet...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to