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 service discovery middleware #317
Comments
[ Quoting notifications@github.com in "[miekg/coredns] mDNS service discov..." ]
I'm not intimate familiar with mDNS - this also involves registration with I.e. it would help to populate this bug with some design requirements; what is /Miek Miek Gieben |
mDNS is basically DNS as a multicasting service on port 5353. To receive e.g. printers one would broadcast a PTR query for "_printer._tcp.local". For hosts one could simple do a broadcast of a ANY query for the name, e.g.
An implementation would need at least
Others have build mDNS clients on top of your DNS library, e.g.: https://github.com/hashicorp/mdns |
feel free to create PR that implements this, I think that would be a useful addition. |
This is probably non-trivial, esp seeing discussions about mDNS popping up on Go DNS (github.com/miekg/dns) |
For my home network I used to run a zone that is filled by mDNS (excluding private IPv6 addresses). That way exposing a host was a matter of allowing access.
Not all applications are mDNS aware thus having a DNS zone is helpful in those cases, too.
I also used to run a caddy proxy for some services. Having different internal and external resolutions for the same names makes them work seemingly.
I'd thus like to see a mDNS service discovery middleware for CoreDNS.
The text was updated successfully, but these errors were encountered: