Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you are unable to install a package on a Linux VM and would like to know if Azure platform might be blocking the connection.
From the error message, it appears connection time out is issued for the site,
"https://rhui4-1.microsoft.com/pulp/repos/content/dist/rhel9/rhui/9/x86_"
From the tests, we found out the VM does not have a DNS server configured at all.
- deally, this is how a DNS lookup output should appear for a Linux Distros
-
- The 127.0.0.53 IP used here refers to a service running locally on your linux VM taking care of DNS.
- Since you are not getting a DNS server, you should manually add a DNS server.
- Run
sudo vi /etc/resolv.conf
- Add a line
nameserver 168.63.129.16
after the comments. -
- Save and close the file
- Now DNS resolution will use Azure Wireserver IP and would look like below
-
You informed us the issue has been resolved now.
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.