systemd-resolved control
low risk
Shows DNS configuration and cache. See the flags and examples below, and run `man resolvectl` for the full reference.
resolvectl statusDNS servers per link · explain & risk-check →resolvectl query example.comResolve via resolved · explain & risk-check →resolvectl flush-cachesClear DNS cache · explain & risk-check →Reference text is hand-written and may be incomplete — check man resolvectl for your version. Test destructive commands on a non-production system first.