DNS fails only when resolving images on AWS
Issue
oc new-app
fails- oc build fails
- Error like this appears "Failed to pull image "nexus.example.com:6001/xyz-image-details:0.0.12": rpc error: code = Unknown desc = error pinging docker registry nexus.example.com:6001: Get https://nexus.example.com:6001/v2/: dial tcp: lookup nexus.example.com:6001 on 10.12.13.2:53: no such host
Environment
- Red Hat OpenShift Dedicated (OSD)
- Red Hat Integration (RHMI)
- Red Hat OpenShift Container Platform (OCP)
- Amazon Web Services (AWS)
- Configured DNS (Domain Name Service) operator or CoreDNS
- Creating new a pod or build from an image in an external repository
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.