Pods across the cluster log "dial udp 10.96.0.10:53: i/o timeout" and "getaddrinfo EAI_AGAIN" during peak traffic.
IntermediateTroubleshootingDNS, TLS and certificates
Answer
Likely causes → CoreDNS is overloaded or being throttled: only two replicas for hundreds of nodes, a tight CPU limit, OOMKills, or a flood of queries caused by ndots:5 expanding every external name into several search-domain lookups.
Diagnose →
kubectl -n kube-system get pods -l k8s-app=kube-dns -o wide
kubectl -n kube-system top pods -l k8s-app=kube-dns
kubectl -n kube-system logs -l k8s-app=kube-dns --tail=50
kubectl exec deploy/api -- cat /etc/resolv.conf
Check coredns_dns_requests_total and coredns_forward_request_duration_seconds in Prometheus.
Fix → Scale CoreDNS (or enable the cluster-proportional-autoscaler), remove its CPU limit, and deploy NodeLocal DNSCache so most queries never leave the node. Use FQDNs with a trailing dot or dnsConfig.options: [{name: ndots, value: "2"}] for chatty services.
Prevent → Alert on CoreDNS error rate and latency, and size DNS for peak, not average.
More on DNS, TLS and certificates
Monday morning every browser shows "NET::ERR_CERT_DATE_INVALID" for app.example.com; the cert is from Let's Encrypt via cert-manager.BeginnerYou changed the A record for api.example.com to a new load balancer an hour ago, but some users still reach the old server.BeginnerA cert-manager Certificate is stuck at "Issuing"; the Challenge says "Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'".IntermediateAfter switching to a slim base image, the service fails every outbound HTTPS call with "x509: certificate signed by unknown authority".BeginnerBrowsers load the site fine, but Android apps and `curl` from servers fail with "unable to verify the first certificate" or "unable to get local issuer certificate".Intermediate`https://example.com` works, but `https://www.example.com` shows "NET::ERR_CERT_COMMON_NAME_INVALID".Beginner