[CentOS] Yum through a proxy

Thu Nov 8 02:02:18 UTC 2018
Vic Chester <vcsubscriptions at gmail.com>

I have configured yum to use a proxy via the yum.conf file by adding:


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?