Linux

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

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store