Skip to content

Instantly share code, notes, and snippets.

@bxb100
Last active June 14, 2023 11:06
Show Gist options
  • Save bxb100/9579d54fa7eb8ef6ceb4ee7113bf1f14 to your computer and use it in GitHub Desktop.
Save bxb100/9579d54fa7eb8ef6ceb4ee7113bf1f14 to your computer and use it in GitHub Desktop.

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 and 8080, set each to dns-sd, but only 80 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment