Because I’m an idiot. 🤦 Thanks!
Why are you having to update your DNS records when you add a new service? Just set up a wildcard A record to send *.myserver.com to the reverse proxy and you never have to touch it again.
paequ2@lemmy.today 1 week ago
Scrath@lemmy.dbzer0.com 2 weeks ago
Not OP but a lot of people probably use pi-hole which doesn’t support wildcards for some inane reason
Croquette@sh.itjust.works 2 weeks ago
That’s my case. I send every new subdomain to my nginx IP on pi-hole and then use nginx as a reverse proxy
Scrath@lemmy.dbzer0.com 2 weeks ago
That wasy exact setup as well until I switched to a different router which supported both custom DNS entries and blocklists, thereby making the pi-hole redundant
Croquette@sh.itjust.works 2 weeks ago
I run opnsense, so I need to dump pi-hole. But I don’t have the energy right now to do that.
Pi-Hole was pretty straightforward at the time and I did not look back since then. Annoying, but easy.
Klajan@lemmy.zip 2 weeks ago
It does support it, you just have to add it to dnsmasq. I have it Setup under
misc.dnsmasq_lineslike so:Then I have my proxied service reachable under
service.proxy.example.com