If I add a new repo file under
/etc/yum.repo.d/ folder. How can I gather all the URL which
yum update will go out to fetch updates.
I am asking this because I have a server behind a firewall, which will allow traffic only to predesignated domain names. I want to determine all the domain names so that I can whitelist them all, so that my server remains updated.