I have a machine that advertises subnet routes. It’s called
bastion. With Magic DNS, it’s pretty cool because I can ssh to it using
ssh user@bastion so that I don’t need to remember or copy&paste the IP.
Additionally, in the advertised subnet, I have a bunch of HTTP servers running on different IPs. These IPs and ports are static.
What would be the recommended way of resolving names like
my-server.bastion to specific IPs within the advertised subnet? Is such a feature planned in Tailscale as a kind of extension to Services or Magic DNS?
One thing I would like to try is to run a DNS server on my
bastion where I would maintain the configuration. Next, on each machine I will configure *.bastion subdomains to be resolved using that DNS server. It should work but it won’t be easy to maintain, especially the latter part as it needs to be configured manually on many machines.