DevHeads.net

Yum through a proxy

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?

Comments

Re: Yum through a proxy

By Simon Matter at 11/09/2018 - 10:40

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

Re: Yum through a proxy

By Vic Chester at 11/09/2018 - 11:10

Good to know I am not the only one. I imagine since many environments use
proxies these days, this is encountered more frequently.

Would be great to hear from the devs on this.

Re: Yum through a proxy

By Giles Coochey at 11/09/2018 - 11:21

On 09/11/2018 15:10, Vic Chester wrote:
Bit of a long shot to ask here.