akosiaris added a comment.

  In T220402#5180031 <https://phabricator.wikimedia.org/T220402#5180031>, 
@Pablo-WMDE wrote:
  
  > Hi @akosiaris,
  >
  > thanks for taking the time to explain the way the `Host` header is intended 
to be used.
  >  If I understand correctly the goal is to ensure that requests originating 
from our service bear a header `Host: (www.)wikidata.org` and reach which ever 
IP(s) `appservers.discovery.wmnet` resolves to on the system running it. This 
sounds like a name resolution challenge and a case for HostAliases 
<https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/#adding-additional-entries-with-hostaliases>
 or, more traditionally, a CNAME record 
<https://en.wikipedia.org/wiki/CNAME_record>.
  
  
  Unfortunately no. It is not a name resolution issue and hence HostAliases 
and/or CNAME records will not help. Note that we want to do here IS NOT direct 
the traffic to the correct endpoint, which is indeed a name resolution issue, 
but rather inform the endpoint which of the hundreds of virtualhosts the 
request is for, something that needs to be done at the HTTP level.
  
  > Again, if we are missing something, implementing this can be arranged, but 
we really rather not as it sounds like there are more appropriate tools for the 
job.
  
  If there were, we would not be asking it :-)

TASK DETAIL
  https://phabricator.wikimedia.org/T220402

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: akosiaris
Cc: fsero, mobrovac, Matthias_Geisler_WMDE, Pablo-WMDE, Dzahn, Addshore, 
Tarrow, Lea_WMDE, WMDE-leszek, Jakob_WMDE, Aklapper, akosiaris, darthmon_wmde, 
alaa_wmde, joker88john, Legado_Shulgin, CucyNoiD, Nandana, NebulousIris, 
thifranc, AndyTan, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Davinaclare77, Adrian1985, Qtn1293, Cpaulf30, Lahi, Gq86, Baloch007, 
Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Hfbn0, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Zppix, 
Maathavan, _jensen, rosalieper, Liudvikas, Wong128hk, Eevans, thcipriani, 
Hardikj, Wikidata-bugs, aude, Lydia_Pintscher, dduvall, faidon, 
Jdforrester-WMF, Mbch331, Jay8g, fgiunchedi
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to