How To Install systemd-resolved on Fedora 36
Introduction
In this tutorial we learn how to install systemd-resolved
on Fedora 36.
What is systemd-resolved
systemd-resolved is a system service that provides network name resolution to local applications. It implements a caching and validating DNS/DNSSEC stub resolver, as well as an LLMNR and MulticastDNS resolver and responder.
We can use yum
or dnf
to install systemd-resolved
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install systemd-resolved.
Install systemd-resolved on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install systemd-resolved
using dnf
by running the following command:
sudo dnf -y install systemd-resolved
Install systemd-resolved on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install systemd-resolved
using yum
by running the following command:
sudo yum -y install systemd-resolved
How To Uninstall systemd-resolved on Fedora 36
To uninstall only the systemd-resolved
package we can use the following command:
sudo dnf remove systemd-resolved
systemd-resolved Package Contents on Fedora 36
/etc/systemd/resolved.conf
/usr/bin/systemd-resolve
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/94d278cecd680bbfc31431747c0c9b9e5f1d89
/usr/lib/systemd/system/systemd-resolved.service
/usr/lib/systemd/systemd-resolved
/usr/lib/sysusers.d/systemd-resolve.conf
/usr/lib/tmpfiles.d/systemd-resolve.conf
/usr/sbin/resolvconf
/usr/share/bash-completion/completions/systemd-resolve
/usr/share/dbus-1/interfaces/org.freedesktop.resolve1.DnssdService.xml
/usr/share/dbus-1/interfaces/org.freedesktop.resolve1.Link.xml
/usr/share/dbus-1/interfaces/org.freedesktop.resolve1.Manager.xml
/usr/share/dbus-1/system-services/org.freedesktop.resolve1.service
/usr/share/dbus-1/system.d/org.freedesktop.resolve1.conf
/usr/share/man/man1/resolvconf.1.gz
/usr/share/man/man5/org.freedesktop.resolve1.5.gz
/usr/share/man/man5/resolved.conf.5.gz
/usr/share/man/man5/resolved.conf.d.5.gz
/usr/share/man/man5/systemd.negative.5.gz
/usr/share/man/man5/systemd.positive.5.gz
/usr/share/man/man8/systemd-resolved.8.gz
/usr/share/man/man8/systemd-resolved.service.8.gz
/usr/share/polkit-1/actions/org.freedesktop.resolve1.policy
References
Summary
In this tutorial we learn how to install systemd-resolved
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).