News for hackers. Stuff that matters.
Re:MagicDNS is Generally Available by michael_j_ward on Thursday October 20, 2022 @02:02PM (#33278368)
> (1) I can have multiple domains for the same device, say gitea.mytsnetwork.com and netxcloud.mytsnetwork.com can go to the same device

I tried setting up caddy on a machine and then using caddy to reverse-proxy requests to each service i.e. `grafana.my-machine.tail-hex.ts.net` and `controller.my-machine.tail-hex.ts`

Obviously, `caddy` has no problem with the reverse proxy bit, but I did fail at being able to point multiple routes or subnet routes at the same machine via tailscle / magic-dns.

I'm sharing because it feels like something I should be able to do, and feel dumb not being able to figure it out.

Re:MagicDNS is Generally Available by xena on Thursday October 20, 2022 @02:03PM (#33278382)
This is exactly what we've been working on. Stay tuned ^^
Re:MagicDNS is Generally Available by danrochman on Thursday October 20, 2022 @02:31PM (#33278757)
Stoked!!
Re:MagicDNS is Generally Available by philsnow on Friday October 21, 2022 @03:09AM (#33285350)
I'm just running a dnsmasq and using that to alias machines / workloads. For my network I needed to make sure a route to the dnsmasq IP is advertised by a subnet router and then I told tailscale to "override local dns" and make all tailscale clients use that dnsmasq IP as their DNS server.

I have a mix of bare machines and load-balanced workloads behind an nginx-ingress, all with names specified in the dnsmasq config, and because everything on the tailnet resolves names through dnsmasq (and routes through tailscale), everything works beautifully.

I'm still looking forward to this caddy integration, though.