Emergency CheatsheetCODE: 011-K8S-NETWORKING-DNS⏱️ ~7 min read
Kubernetes Networking & CoreDNS: Troubleshooting Pod Name Resolution
Diagnosing CoreDNS timeouts, ndots:5 query amplification, kube-dns loop errors, and CNI packet loss inside Pods.
Authored by: Vibe DevOps · Published: 10/21/2026
Within Kubernetes cluster networking, Pod-to-Pod communication outages and CoreDNS name resolution failures represent high-severity production incidents. Understanding the layered routing through ClusterIP, NodePort, and CoreDNS ensures fast triage.
1. Inspecting CoreDNS Health
kubectl get pods -n kube-system -l k8s-app=kube-dns -o wide
kubectl logs -n kube-system -l k8s-app=kube-dns --tail 100
2. End-to-End DNS Resolution Testing
kubectl run dnsutils --image=tutum/dnsutils --restart=Never -- sleep 3600
kubectl exec dnsutils -- nslookup <service-name>.<namespace>.svc.cluster.local
3. Service Endpoints Synchronization
kubectl get endpoints <service-name>
kubectl get endpointslices
💡 Team Storage & Usage Tips
Store the vector PDF in your internal team repository (Notion, Confluence) or print it out in A4 format next to your workstation for rapid troubleshooting during midnight production outages.