fix(heimdallr): disable systemd-resolved mDNS (conflicts with avahi/OTBR) #17

Merged
litelotus merged 1 commit from feat/heimdallr-fix-mdns into main 2026-09-04 21:45:50 +00:00
Owner

Symptom: HA Thread panel shows "No border routers found"; Matter can't commission the Thread bulb.\n\nRoot cause: two mDNS responders on heimdallr — systemd-resolved (enabled by the shared networking module) and avahi-daemon (OTBR's client daemon) — both claim hostname heimdallr. Avahi enters an infinite conflict loop (suffix counter climbs heimdallr-282 → -287+, never settles), so otbr-agent's _meshcop._udp service never registers. HA discovers Thread border routers via mDNS meshcop → sees nothing.\n\nFix: services.resolved.settings.Resolve.MulticastDNS = false. Avahi remains the sole mDNS responder (OTBR needs it). Dry-build passes.

**Symptom:** HA Thread panel shows "No border routers found"; Matter can't commission the Thread bulb.\n\n**Root cause:** two mDNS responders on heimdallr — systemd-resolved (enabled by the shared networking module) and avahi-daemon (OTBR's client daemon) — both claim hostname `heimdallr`. Avahi enters an infinite conflict loop (suffix counter climbs heimdallr-282 → -287+, never settles), so otbr-agent's `_meshcop._udp` service never registers. HA discovers Thread border routers via mDNS meshcop → sees nothing.\n\n**Fix:** `services.resolved.settings.Resolve.MulticastDNS = false`. Avahi remains the sole mDNS responder (OTBR needs it). Dry-build passes.
Two mDNS responders on heimdallr: systemd-resolved (from shared
networking module) and avahi-daemon (OTBR's client daemon) both claim
hostname 'heimdallr' -> infinite avahi conflict loop (counter climbs
heimdallr-282+ forever, never settles) -> otbr-agent's _meshcop._udp
service never registers -> HA Thread panel shows 'No border routers
found' and Matter can't commission Thread devices.

Fix: services.resolved.settings.Resolve.MulticastDNS = false.
Avahi stays as the sole mDNS responder (OTBR requires it).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
litelotus/.nix!17
No description provided.