Subdomains don't seem to work?
Your environment.
- Version: 2.0.7
What did you do?
Hi! I took the example server: https://github.com/pion/mdns/blob/master/examples/server/main.go and changed the line 37 to:
LocalNames: []string{"pion-test.local", "potato.pion-test.local"},
and no errors happen but pion-test.local resolves yet potato.pion-test.local does not.
What did you expect?
I would expect subdomains to work. I've seen other mdns tools that can publish blabla.somename.local so subdomains are technically legal in mDNS and I'd expect them to work here.
Are you trying to access those subdomains on Windows? Unfortunately, subdomains in mDNS lookups are not supported in Windows. Try looking those up using Linux or OSX to see if they work there.
Damn, that's unfortunate they don't work in Windows at all.
I didn't have success via WSL running Ubuntu but I think that uses Windows networking so it's probably not a great test. I'll try from a real Linux box when I have a minute.
Linux does not support subdomains