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

Does not announce services without a Service Type Enumeration query first #169

Open
CaptChrisD opened this issue Jan 13, 2025 · 2 comments

Comments

@CaptChrisD
Copy link

Describe the bug
The PTR records are not announced for services unless a Service Type Enumeration query (_services._dns-sd._udp.local) is sent on the network.

To Reproduce
Steps to reproduce the behavior:
Start MdnsLite with services defined BUT no devices on the network that will conduct a Service Type Enumeration.

Expected behavior
When MdnsLite starts and an address is acquired for the interface the service announcement should be conducted.

@fhunleth
Copy link
Member

The mDNS RFC does provide some guidance for announcements in https://www.rfc-editor.org/rfc/rfc6762#section-8.3. A PR that implements the startup announcement would be appreciated. I'm not sure that this fixes your issue, but it seems like it would help.

@CaptChrisD
Copy link
Author

CaptChrisD commented Jan 14, 2025

From what I can see there is no unsolicited announcement, correct?

Also, I have looked through the code some and it is not clear where this may get added. If you could offer a couple of suggestions I am happy to take a look at making a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants