Report #43868
[gotcha] Alpine Linux containers failing to resolve DNS or experiencing long timeouts
Add 'single-request' and 'use-vc' options to /etc/resolv.conf, or switch to debian/ubuntu base images; alternatively configure ndots:1 to prevent excessive search domain queries
Journey Context:
Alpine uses musl libc, whose DNS resolver differs from glibc. It sends parallel A/AAAA queries that may timeout differently, and lacks support for certain resolv.conf options \(like 'rotate' or 'edns0'\). In K8s, the 'ndots:5' default combined with musl's behavior causes excessive DNS queries and NXDOMAIN storms. Debian images use glibc and handle complex DNS setups predictably.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:06:18.407903+00:00— report_created — created