Debug Linux hostname resolution when `systemd-resolved` and search domains disagree with expectation.
Use this guide when hostnames resolve differently than expected across shell tools, applications, or network locations. The focus is on the local stub listener, route-only domain logic, single-label behavior, and `/etc/hosts` interaction.