You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let embeds publish _hap._tcp through a pluggable HomekitAdvertiser, so they can:
share a host JmDNS / mDNS service (preferred when one exists),
use a dedicated JmDNS, or
optionally register via native DNS-SD (Bonjour / Avahi libdns_sd) and avoid a second in-process multicast stack.
Motivation (refined)
This is primarily about clean host integration and fewer duplicate mDNS stacks, not a permanent “UDP 5353 is exclusively locked on macOS” story.
mDNSResponder typically listens with SO_REUSEPORT; a healthy JmDNS can share the port. A temporary JmDNS 3.6.4 regression (seen in some openHAB snapshots) failed to bind and looked like a hard conflict; 3.6.5+ behaves normally again.
Native DNS-SD remains useful as an optional backend for standalone HAP-Java and as a building block until hosts (especially openHAB core) expose their own system-mDNS path.
Updated this issue (title + body) to match the agreed direction on #213: pluggable HomekitAdvertiser, optional native DNS-SD as optimization, HAP vs openHAB split. The exclusive-5353 framing was overstated (JmDNS 3.6.4 blip).
Activity
Add native DNS-SD advertiser for macOS Bonjour without binding UDP 5353.
Add native DNS-SD advertiser for macOS Bonjour without binding UDP 5353.
Add native DNS-SD advertiser for macOS Bonjour without binding UDP 5353.
[-]macOS: JmDNS advertiser cannot bind UDP 5353 (mDNSResponder); need native DNS-SD path[/-][+]Pluggable HomeKit advertiser + optional native DNS-SD (share host mDNS)[/+]kgoderis commentedon Nov 22, 2026
Updated this issue (title + body) to match the agreed direction on #213: pluggable
HomekitAdvertiser, optional native DNS-SD as optimization, HAP vs openHAB split. The exclusive-5353 framing was overstated (JmDNS 3.6.4 blip).Docs on the PR branch:
docs/NATIVE_DNSSD.md. openHAB tracking: openhab/openhab-addons#22012 / #22013.