-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
Not sure if this is even fixable.
When I publish a service running on macOS with this crate using the real hostname (obtained using the hostname crate for example), the operating system detects a duplicate hostname on the network and renames the host itself (so if the old name was "foo.local", it's renaming it to "foo-2.local").
I guess this is because Apple's implementation detects mdns-sd's broadcast packet containing the hostname and thinks that it's from a different host.
Unfortunately, this makes this crate pretty much unusable on macOS/iOS. For now, I'm just appending a prefix to the hostname so it doesn't conflict.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels