Dns Resolution Debugging

Debug name resolution on a Linux client: "dig works but the app cannot resolve", "resolv.conf keeps getting overwritten", "split DNS for the VPN", "intermittent SERVFAIL", "Alpine resolves differently". Test through the application's path with getent hosts (NSS order, mDNS, sssd), not dig. Find who owns /etc/resolv.conf (systemd-resolved stub at 127.0.0.53, NetworkManager, DHCP, cloud-init), read resolvectl status for per-link servers and routing domains, check search domains and ndots, query each resolver with dig +norecurse and +tcp for EDNS and fragmentation faults, and use dig +trace or +cd for DNSSEC SERVFAIL. Covers musl versus glibc and negative caching. Use for any client lookup failure. Not for certificate errors (tls-handshake-debugging), logins (ssh-access-debugging) or app bugs (debugging).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit ed2da7c581

Frequently asked questions

npx get-skill add greenblacked/dns-resolution-debugging