Hey folks, I wanted to flag a possible issue with musl handling of DNS "search ." in /etc/resolv.conf.The easiest way I have to repro and consume musl is starting an alpine or busybox musl container image. podman run -it docker.io/alpine:3.16.2 /bin/ash Edit /etc/resolv.conf to the following (not the "." at the end of search): ``` search default.svc.cluster.local . nameserver 8.8.8.8 options ndots:5 ``` ``` wget www.google.com wget: bad address 'www.google.com' ``` Remove the "." from search and wget will work fine again. https://github.com/coreos/fedora-coreos-tracker/issues/1287 has some great details showing DNS packet capture and a malformed packet. Broader context is that systemd and recently Kubernetes start adding "search ." to resolv.conf in certain scenarios, which seems to break musl-based resolvers. - https://github.com/systemd/systemd/pull/17201 - https://github.com/kubernetes/kubernetes/pull/109441 - https://github.com/kubernetes/kubernetes/issues/112135 -- Dalton Hubble dghubble@gmail.com