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

Subdomains don't seem to work? #205

Open
darkvertex opened this issue Aug 29, 2024 · 2 comments
Open

Subdomains don't seem to work? #205

darkvertex opened this issue Aug 29, 2024 · 2 comments

Comments

@darkvertex
Copy link

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.

@jgkawell
Copy link

jgkawell commented Sep 2, 2024

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.

@darkvertex
Copy link
Author

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.

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