blog: https://andrewdupont.net/2022/01/27/using-mdns-aliases-within-your-home-network/
In Mac using bonjour, the port 80
seem can arbitrary
test with two port
80
and8080
, set each todns-sd
, but only80
can consumer, so using Nginx to balance input traffic
dns-sd -P home _http_tcp local 80 home.local 192.169.1.121
-R
:Registering Service home._http._tcp.local port 80 TXT localhost
-P
:Registering Service home._http_tcp._tcp.local host home.local port 80