At the time of writing, the systemd-resolved service is only available as a Technology Preview on AlmaLinux 8 and AlmaLinux 9. Technology Preview features might not be complete, are not covered by SeiMaxim's production Service Level Agreements (SLAs), and SeiMaxim does not advise utilizing them in production. Customers can test functionality and offer feedback while the product is still being developed.
The systemd-resolved.service is disabled by default.
# systemctl is-enabled systemd-resolved.service disabled
The systemd-resolved.service is available in AlmaLinux 8, which is provided by the systemd package itself.
# rpm -qf /usr/lib/systemd/system/systemd-resolved.service systemd-<version>
Enable and start systemd-resolved.service.
# systemctl enable systemd-resolved.service # systemctl start systemd-resolved.service