Skip to content

fix: enable browser .local resolution via mdns-sd 0.20 - #4

Merged
keskad merged 1 commit into
mainfrom
fix/mdns-legacy-unicast
Aug 9, 2026
Merged

fix: enable browser .local resolution via mdns-sd 0.20#4
keskad merged 1 commit into
mainfrom
fix/mdns-legacy-unicast

Conversation

@keskad

@keskad keskad commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump mdns-sd from 0.13 to 0.20 (locks to 0.20.3) for RFC 6762 legacy unicast / one-shot replies.
  • DNS-SD browsing (e.g. Android NSD) already worked via IP; hostname lookups like http://bigfred.local:8080 failed because resolvers expect unicast answers on their ephemeral port.
  • Document hostname A records and legacy unicast in the README.

Test plan

  • make check / make test / make clippy pass locally
  • After merge + new musl binary on hub: getent hosts bigfred.local (or avahi-resolve -n bigfred.local) returns LAN IPv4
  • Browser opens http://bigfred.local:8080
  • Android client still discovers via NSD

Made with Cursor

mdns-sd 0.13 only multicast replies; OS resolvers and browsers use
legacy unicast one-shot queries (RFC 6762 §6.7). Bump to 0.20 so
bigfred.local resolves on the LAN, not only DNS-SD service browse.

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad
keskad merged commit ded131a into main Aug 9, 2026
3 checks passed
@keskad
keskad deleted the fix/mdns-legacy-unicast branch August 9, 2026 13:02
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

Successfully merging this pull request may close these issues.

1 participant