Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on feddit.de

resolvectl - command not found (Debian)

Hi, I have a VPS running debian 12. If I run resolvectl dns eth0 I get the output -bash: resolvectl: command not found. I thought resolvectl was part of systemd, so it should be available on a pretty much stock debian install.

View original on feddit.de
4

6 replies

Kinda strange that it's not installed by default. Maybe the VPS runs dnsmasq, OP maybe check that before installing.

2
feddit.de

Maybe it's not in the $PATH? I remember having similar problems a while ago.

You could search for it find / -name resolvectl (might take a while when searching in /), and check if the path is present in the $PATH variable.

2

Then it really does not exist, strange. Maybe check where the systemd binaries are located and check if something's there, for example which systemctl and look in that directory

0

You reached the end