banner
 

Path: content/Tips/Linux/Systemd.md

Systemd

Who doesn't love systemd? systemd does things somewhat differently to a traditional linux system; it's aimed at making desktops simple to use for non-technical users, and sometimes, it does just that. It's not always simple to figure out what it's actually doing though.

DNS

Status

systemd-resolve looks after managing DNS queries locally - it can query different servers depending on what interfaces you have up and other criteria. To get a report on which server it is querying, run this:

resolvectl status

or sometimes

systemd-resolve --status

Flush

The local resolver caches queries, including (sometimes) negative hits, ie things that didn't resolve. To flush it, run this:

resolvectl query flush-caches

Links in this section

Filesystems
SSH
Systemd

free website hit counter