Is your feature request related to a problem? Please describe.
Avahi is being replaced with systemd-resolved on modern distros.
Describe the solution you'd like
The DNS-SD code should be updated to use systemd-resolved's DBus interface in addition to the mDNSResponder and Avahi code that is already present.
There's an old issue at apple/cups#5452 but, since that issue was first opened, systemd-resolved now has the required discovery and advertisment APIs.
Additional context
There's a great blog post at https://daenney.github.io/2021/11/14/replacing-avahi-exploring-dnssd/ that demonstrates how to use the resolved DBus API.