Comment on Custom domains and Tailscale
FedX@quokk.au 7 hours agoThis is the correct answer. You can even use it to force all the devices in your tailnet to use the same DNS server, and it’s really quite easy to host a sinkhole with either PiHole, AdGuard Home, or my preference, dnscryptproxy. Also works with just the hostname if you want. I.E. ssh MyLinuxBox works just as well as ssh MyLinuxBox.whatever.ts.net.
If you want the service publicly accessible through the wider internet (the person doesn’t even need TS to access the website), check out TS Funnel.
lemmyvore@feddit.nl 3 hours ago
The downside to the
.ts.netapproach is that you need to install multiple TS clients if you want multiple subdomains. Typically one per service.There are projects like TSD-Proxy that help with that. It makes it so you only use one Docker container instead of having to make a sidecar container for every service.
Then you also have to resolve
*.tailnet.ts.neton your LAN’s DNS and that’s it. Unless you ever want to use something other than Tailscale, that is.