-
Notifications
You must be signed in to change notification settings - Fork 235
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
mdns through thread networks / border routing #2578
Comments
Thread supports DNS-based Service Discovery using the Service Registration Protocol and unicast DNS. Thread Border Routers implement both a DNS Discovery Proxy and Advertising Proxy to support discovery across the Thread and Ethernet/Wi-Fi segments. The Thread Border Router Codelab may be useful to provide more information. |
Thanks, this is great! |
With SRP, the Thread Border Router serves as a DNS an SRP server. Thread devices publish their DNS service names to the SRP server and the Thread Border Router publishes them using mDNS on the Ethernet side. This allows Ethernet/Wi-Fi hosts to use mDNS to discover services published by Thread devices. |
Okay, this sounds useful. |
Yes, Thread devices use unicast DNS to the Thread Border Router, which then uses mDNS via a Discovery Proxy to discover services on the Ethernet/Wi-Fi side. |
Ah, so the following apply?
Do I still have to request .local addresses? |
Correct.
The BR needs an mDNS service to perform DNS-SD/mDNS queries and responses. ot-br-posix has example integrations with avahi and mDNSResponder.
Thread devices use |
Thanks, this is highly informative and probably the way to go! Still, I would be grateful to know if anything stop mdns from properly working. |
mDNS was largely designed for networks where broadcast is relatively efficient (i.e. Ethernet). On constrained networks like Thread, there is not much capacity for multicast traffic. |
I have the following setup:
A <--thread--> B <--Ethernet--> C
All of the nodes have avahi running, with ipv4 enabled for B and C.
B(avahi) is configured as a reflector. It is supposed to bridge avahi between A and C.
A and B have point-to-point interfaces enabled.
My issue is that A can simply not resolve C.local.
Is there any quirks for mdns through thread?
Maybe multicast ff00::fb doesn't work in thread?
Thanks you so much!
The text was updated successfully, but these errors were encountered: