Clear cached DNS results.
Section: Name Resolution and Proxy Problems
Flush systemd-resolved caches
bash
bash
sudo resolvectl flush-cachesExplanation
Clear cached DNS results.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Name Resolution and Proxy Problems
Bypass proxy for one request
Temporarily skip configured proxies for a single cURL request.
Show link status with networkctl
Inspect status for a systemd-networkd link.