Live data from Hacker News

Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

github.com

11–20 of 38 posts

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#11

I’m in the process of building out a smallish home lab, with most things running in containers, and one of the things I wanted was dns for my internal things that Just Worked. It seems this is still harder than it needs to be. I started looking at Consul + Traefik, but the latest version of Traefik seems to have gotten significantly more complex for simple use cases. I’ve since started looking at Caddy, which seems f…

BIND provides DNS that just works. :)

Agreed, but my point is that if I spin up a new container with something in it, I want to be able to have DNS registration occur automatically so that I’m not having to go update DNS entries somewhere.

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#12
post #9

Hope this isn’t too off topic, but does anyone happen to know if there’s any way to VPN with mDNS so that iTunes syncing and/or media sharing work remotely?

You just have to make sure that multicast is setup right and it should work.

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#13

I’m in the process of building out a smallish home lab, with most things running in containers, and one of the things I wanted was dns for my internal things that Just Worked. It seems this is still harder than it needs to be. I started looking at Consul + Traefik, but the latest version of Traefik seems to have gotten significantly more complex for simple use cases. I’ve since started looking at Caddy, which seems f…

You can have the best of both worlds; since this project is written in Go, it can easily be made into a Caddy module that takes care of the mDNS part, without having to overlap other functionality. Docs: https://caddyserver.com/docs/extending-caddy

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#14
My router (runs Tomato, but I think DD-WRT is the same) automatically puts host names into its DNS server; I've never had to do anything.

Host names with spaces, etc (e.g., DNS non-compliant) don't work, but otherwise it Just Works.

Edit: language

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#15

I’m in the process of building out a smallish home lab, with most things running in containers, and one of the things I wanted was dns for my internal things that Just Worked. It seems this is still harder than it needs to be. I started looking at Consul + Traefik, but the latest version of Traefik seems to have gotten significantly more complex for simple use cases. I’ve since started looking at Caddy, which seems f…

+1 for Traefik. The problem was the documentation IMO. It works great including the integration with Docker.

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#16
post #14

My router (runs Tomato, but I think DD-WRT is the same) automatically puts host names into its DNS server; I've never had to do anything. Host names with spaces, etc (e.g., DNS non-compliant) don't work, but otherwise it Just Works. Edit: language

if you run pi-hole you can do the same. Really useful for home networks

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#17
post #14

My router (runs Tomato, but I think DD-WRT is the same) automatically puts host names into its DNS server; I've never had to do anything. Host names with spaces, etc (e.g., DNS non-compliant) don't work, but otherwise it Just Works. Edit: language

I’ve got all UniFi gear but I believe it works the same. Where that doesn’t work is when using containers.

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#18

I’m in the process of building out a smallish home lab, with most things running in containers, and one of the things I wanted was dns for my internal things that Just Worked. It seems this is still harder than it needs to be. I started looking at Consul + Traefik, but the latest version of Traefik seems to have gotten significantly more complex for simple use cases. I’ve since started looking at Caddy, which seems f…

The simplest: shared `/etc/hosts`. And container hint: you can bind mount individual files as volumes.

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#19
post #9

Hope this isn’t too off topic, but does anyone happen to know if there’s any way to VPN with mDNS so that iTunes syncing and/or media sharing work remotely?

You generally need an Ethernet based VPN which you can do with openvpn.

Otherwise Avahi has a mode to allow reflecting (mdns traffic between two interfaces) on point to point interfaces and if you run that on the VPN server it may let mdns work from your vpn client to the local lan of the server. Will depend if your mdns implementation tries to query on the VPN interface though. Which again for avahi you can enable point to point on the client side. Unsure if you can do that on windows/Mac.

Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure

#20
post #14

My router (runs Tomato, but I think DD-WRT is the same) automatically puts host names into its DNS server; I've never had to do anything. Host names with spaces, etc (e.g., DNS non-compliant) don't work, but otherwise it Just Works. Edit: language

I'm pretty sure this is more feature rich than dnsmasq, but the golang ipkg on the latest OpenWRT release is 99MB. My overlay filesystem started at less than 24MB. This software not for users like us. Perhaps someone will implement equivalent functionality using C or Python libraries for those of us that run by choice in a resource-constrained or embedded environment.
Post reply on HN