Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface that exports DNS-SD details for consuption by unicast DNS server #945

Closed
aragilar opened this issue Apr 21, 2024 · 1 comment
Closed
Assignees
Labels
wontfix This will not be worked on

Comments

@aragilar
Copy link

Is your feature request related to a problem? Please describe.
This is basically #319, except rather than CUPS consuming unicast DNS-SD records, it would create the required records (as it does for mDNS DNS-SD). As naturally CUPS is not a DNS server, it shouldn't be serving this out via port 53 or similar, but have some means to export this on request (e.g send records to a socket, serve this out via some HTTP/REST API, RFC 2136). I figure if CUPS provides a simple-to-use interface that handles the contents of the TXT records, which can be passed on as opaque strings by a (third-party) bridging tool to the appropriate unicast DNS server, then updates to the DNS format would not require significant changes to the bridging tool.

Describe the solution you'd like
I'm not suggesting a specific solution/implementation (there are advantages and disadvantages to each of the export mechanisms suggested above), but something that makes it easy to write bridging tools and to maintain within the cups server would be best.

Describe alternatives you've considered
I guess someone could write a tool to scrape said information from the local mDNS server, but that is somewhat awkward, and would couple the tool to a specific mDNS implementation.

Additional context
http://www.dns-sd.org/ServerStaticSetup.html#AirPrint

@michaelrsweet
Copy link
Member

I can't see adding a separate API for this, but the current DNS-SD API provides access to everything needed to export the necessary information to a zone file or provide it to a server for incorporation into a DNS zone - no need for a different implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants