resolvectl
Safesystemd-resolved control
resolvectl status
Inspects/flushes systemd-resolved — for 'dig works but the app fails' resolver-layer mysteries.
Examples
resolvectl flush-cachesFlush the DNS cache
Syntax
resolvectl [status] [query name] [flush-caches]
Before you run it
Read and cache-flush only.
Related commands
- digDNS query
- nmcliManage NetworkManager
- Clear-DnsClientCacheFlush the DNS cache
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store