<p>it was a working set up and no manual changes were made.</p>
<p>when we are trying to deploy application on aks; it fails to pull an image from the acr.</p>
<p>as per kubectl describe po output:</p>
<p>Failed to pull image &quot;xyz.azurecr.io/xyz:-beta-68&quot;: [rpc error: code = Unknown desc = Error response from daemon: Get https://xyz.azurecr.io/v2/: dial tcp: lookup rxyz.azurecr.io on [::1]:53: read udp [::1]:46256-&gt;[::1]:53: read: connection refused, rpc error: code = Unknown desc = Error response from daemon: Get https://xyz.azurecr.io/v2/: dial tcp: lookup xyz.azurecr.io on [::1]:53: read udp [::1]:46112-&gt;[::1]:53: read: connection refused, rpc error: code = Unknown desc = Error response from daemon: Get https://xyz.azurecr.io/v2/: dial tcp: lookup xyz.azurecr.io on [::1]:53: read udp [::1]:36677-&gt;[::1]:53: read: connection refused]</p>
<p>while troubleshooting i realised, few nodes has the dns entry in /etc/resolv.conf where image pull is working fine without issue and few node doesn't have the dns entry in /etc/resolv.conf where the image pull fails.</p>
<p>and if i manually add dns entry to /etc/resolv.conf on the nodes that doesn't have the entry; the changes are reverted to the initial state withing few minutes.</p>
<p>is there a procedure to edit /etc/resolv.conf or fix image pull issues.?</p>

<p>There is a bug in ubuntu that impacts AKS (global).
You can follow the link below to see the status.
<a href="https://status.azure.com/en-us/status" rel="nofollow noreferrer">https://status.azure.com/en-us/status</a>
In addition, there is a thread here you can follow the suggestions to overcome this issue.
<a href="https://learn.microsoft.com/en-us/answers/questions/987231/error-connecting-aks-with-acr.html" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/answers/questions/987231/error-connecting-aks-with-acr.html</a></p>
