Kubernetes 5-Second DNS Latency: Why ndots:5 and Linux conntrack Race Conditions Stalled UDP Lookups
Under high concurrency, Kubernetes pods using default resolv.conf settings experience periodic 5-second request timeouts. The culprit is a race condition between parallel A and AAAA DNS queries in the Linux netfilter connection tracking table, exacerbated by ndots:5 search domain cascades.