Expand description
mDNS address record publishing for LAN mode.
Registers each slug hostname as an mDNS service so that other devices on
the LAN can resolve <slug>.local to the host’s LAN IP address.
Because mdns-sd does not support registering bare A/AAAA records, we
register a virtual service for each slug. The service type is
_pitchfork._tcp, and each slug gets its own instance with the hostname
set to <slug>.local.. This causes the mDNS responder to include the
correct A record in its response, making <slug>.local resolvable on
the network.
Structs§
- Mdns
Publisher - Manages mDNS address records for slug hostnames on the LAN.