1

I installed systemd-resolved on centos 7.9 with yum install systemd-resolved. This worked, and I am able to run systemctl start systemd-resolved.service.

But when I try to run sudo systemd-resolve --flush-caches shows:

sudo: systemd-resolve: command not found

And sure enough there is no systemd-resolve

I checked yum packages and I see nothing for systemd-resolve.

How can I run the systemd-resolve commands on centos7?

Is there a different package I need to install?

0

1 Answer 1

2

Unfortunately, in CentOS 7, the version of systemd is 219, which does not include a management binary like resolvectl to perform the action you want.

From what I can tell, this binary was only introduced in systemd version 239 and later.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.