OpenPrinting / OpenPrinting/libcups

Support mDNS/DNS-SD via systemd-resolved

Open
#81 20 comments 9 reactions 1 assignee View on GitHub

@michaelrsweet is already working on this.

Since Apr 5, 2024.

enhancement investigating platform issue priority-low
Dominant language
C
Stars
81
Forks
48
Avg merge
23h 58m
Merged PRs (30d)
2

Description

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 https://github.com/apple/cups/issues/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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.