Earlier quoted context omitted.
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.
Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure
21–30 of 38 posts
Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure
#22My 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
#23Earlier quoted context omitted.
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
#24Earlier quoted context omitted.
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.
A simple solution would be `dnsmasq` which provides DNS and DHCP, but it cannot be used on a public network. More complex setup would be ISC DHCP server that maintains a dynamic subdomain in BIND.
This is what I do. I don't remember setting it up being particularly complex
Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure
#25I’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…
Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure
#26A little bit of docs would help. Not sure what a node is here, and what is mDNS doing. Seems like the perfect thing for me (I run a stupid dual-traefik setup that does TLS SNI negotiation for me that I want to get rid of), but I can't figure out what is this.
very very fair. mDNS is just the method of communicating what traffic should be sent where. The "switchboard" listens for mDNS broadcasts that tell it what services want traffic routed to them under what conditions. A "node" (which was a bad choice of words) is the other side of that, a program broadcasting one of those mDNS resources (e.g. send traffic that's been sent to the domain "example.test" to this machine on…
Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure
#27I’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
#28My 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.
Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure
#29Earlier quoted context omitted.
The simplest: shared `/etc/hosts`. And container hint: you can bind mount individual files as volumes.
Also cool is that you can bind mount the same sqlite backing db file into multiple containers.
Re: Show HN: Switchboard – A mDNS based reverse proxy for personal infrastructure
#30Earlier quoted context omitted.
Also cool is that you can bind mount the same sqlite backing db file into multiple containers.
That seems dangerous? How can it be so? Surely multiple instances of SQLite shouldn't read the same backing file..