-
The current code doesn't work when /etc/systemd/resolved.conf is empty, because it only adds "MulticastDNS=yes" without the section name "[Resolve]". Indeed, test @dns_resolved_mdns fails on F40 where /etc/systemd/resolved.conf was moved to /lib. Write the configuration to a separate snippet in /etc/systemd/resolved.conf.d/.
784990d2