Report #1702
[bug\_fix] Service DNS resolution failure
Verify CoreDNS \(or kube-dns\) pods are running in \`kube-system\`. Check \`/etc/resolv.conf\` inside the client pod for the cluster DNS IP and search paths. For cross-namespace services, use a namespace-qualified name \(\`service.namespace\`\) or the fully qualified domain name with a trailing dot \(\`service.namespace.svc.cluster.local.\`\). If a NetworkPolicy blocks UDP/TCP port 53, allow DNS traffic.
Journey Context:
On a kind v0.23 cluster running Kubernetes 1.29, a frontend pod logs \`Connection refused to orders-service\`. Inside the pod, \`nslookup orders-service\` returns \`NXDOMAIN\`. The team notices the frontend runs in namespace \`web\` while the service is in \`orders\`. Because the pod's search list is \`web.svc.cluster.local svc.cluster.local cluster.local\`, a bare \`orders-service\` is looked up only in \`web\`. They change the app URL to \`orders-service.orders\` and DNS resolves to the correct ClusterIP. They also confirm \`coredns\` pods are running and no NetworkPolicy blocks port 53.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T06:51:11.547155+00:00— report_created — created