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

net: dns: Join mDNS multicast group for resolving #86617

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented Mar 4, 2025

If mDNS resolver is enabled but mDNS responder is not, then mDNS multicast address group is not joined. This would prevent the mDNS resolver to receive the responses. Fix this by joining the mDNS multicast group if mDNS responder is not enabled (because the responder will join the group itself).

Fixes #86477

rlubos
rlubos previously approved these changes Mar 4, 2025
jukkar added 2 commits March 4, 2025 14:23
If mDNS resolver is enabled but mDNS responder is not, then
mDNS multicast address group is not joined. This would prevent
the mDNS resolver to receive the responses. Fix this by
joining the mDNS multicast group if mDNS responder is not
enabled (because the responder will join the group itself).

Fixes zephyrproject-rtos#86477

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Make sure that if mDNS resolver is enabled, we join the mDNS
multicast group so that query responses can be received.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
@jukkar jukkar force-pushed the fix/86477/mdns-join-mcast-group-missing branch from f3f8342 to 3590514 Compare March 4, 2025 15:12
@jukkar
Copy link
Member Author

jukkar commented Mar 4, 2025

  • CI fixes

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

Successfully merging this pull request may close these issues.

mDNS resolver doesn't work if IPv4 is disabled
3 participants