Here is what I do:
mkdir /etc/systemd/dnssd
cat > /etc/systemd/dnssd/http.dnssd
(the exact example file from "man systemd.dnssd”, minus leading white space)
systemctl restart systemd-resolved
Then
avahi-browse -a -r
or
systemd-resolve —-service myhost._http._tcp.local
as
Dear Dimitri, dear systemd folks,
In commit 1f158013 (resolved.service: set DefaultDependencies=no) the
ordering of systemd-resolved.service was changed. (How do I find the
merge request to find possible discussion? Also the commit message
description is too specific in my opinion, as it does