Hi! I’ve been thinking of setting up a Headscale control plane on my VPS and adding my NAS as a node so that I can install the tailscale client on my phone and laptop and access my services from outside of my network. I have navidrome, Immich and a few more things.
Right now I have AdGuard Home as my DNS server with DNS rewrites for my domain. *.mydomain.com points to my NAS and there I have NPMplus running that routes everything to the correct service/port.
Do I still need that with headscale? I’ve read the docs but I still don’t understand the “MagicDNS” stuff. Does that bypass my DNS server when the client is connected to the tailnet? Should I still leave it on for local traffic? And if I’m connected to the tailnet from outside, how do I propagate all the addresses?
If anyone has a pointer or experience with a similar setup I’d really appreciate some help.



I’ve been hosting my email for about 15 years now. And now it’s used by 7 people as their daily. And yes, there have been some issues. And yes, it’s complicated. But it’s also freeing and fun. If you really want to do it, go ahead and learn the ropes. I’ve never understood the people that say “OMG, you never want to selfhost that!”. I have a VPS, and you really don’t need a beefy VPS at all for a couple of accounts and some aliases.
VPS is a must (or co-location, but that’s more expensive). Check out VPS providers to see which are tolerant with email and how “clean” their IP reputation is. I have the Postfix+Dovecot stack, but I’m already eyeing Stalwart, because the LTS distro on my server is reaching it’s end-of-life, and if I have to go through the setup again (the switch from dovecot 2.3 to 2.4 is bumpy), I’d rather try something new. Btw, I don’t have an IT background, just been tinkering for a long time.
So buckle up and start planing.