[CentOS] Yum and proxy settings

Thu Nov 8 00:29:49 UTC 2018
Vic Chester <vcsubscriptions at gmail.com>

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?