resolvectl query example.com

Category: Networking

resolvectl query example.com

Resolve a hostname using systemd-resolved

Queries the local systemd-resolved cache and upstream DNS servers. Use this instead of ping for pure DNS testing — it shows cache hits, DNSSEC validation status, and which server answered.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.