I am running multiple Oracle Linux servers on AWS EC2 instances and need to be able to patch them. The traffic from AWS to Oracle is traversing through our on-prem firewall. However, I have an issue where the on-prem firewall is intermittently denying outgoing traffic from AWS servers due to mismatch in IP addresses for https://yum.oracle.com URL. When the IP address at on-prem DNS servers and AWS DNS servers are matching, the traffic/request is allowed by the firewall otherwise denied.
I believe this could be due to the fact that Oracle portal is behind a CDN network and the IP addresses keep changing very frequently or different DNS lookup commands are returned with different IP addresses from the pool.
I tried to change the requests to https://yum-us-ashburn-1.oracle.com but it appears to be stuck at Oracle side.
Can someone help me with this please?