[CentOS] Yum through a proxy

Fri Nov 9 14:40:34 UTC 2018
Simon Matter <simon.matter at invoca.ch>

> I have configured yum to use a proxy via the yum.conf file by adding:
>
> proxy=http://myproxy.com:8080/
>
> What I noticed when running yum check-up date is that some requests are
> going through the proxy while the system seems to be trying to resolve the
> domains of other hosts in the repo and trying to establish direct
> connections to them instead of going through the proxy.
>
> Can anyone explain this behavior?

It seems to me that yum is not 100% proxy aware. IIRC I also saw some
requests which shouldn't go where they went.

Simon