I have my own dedicated server with an A Name record for a specific domain name and its IP address. I have ZeroTier installed on my home network PC, on our NAS and on my Android phone. I have DNS enabled on all three.
What does the domain name do for me?
I assume, for example, as long as I have ZeroTier connected on my phone, when I’m away from home and want to view my Plex Media Server photos, or play music via Plex that is loaded on our NAS, that the connection will be tunneled thru the ZeroTier VPN. Am I assuming correctly?
So what about if I want to connect to my camera software on my PC that has ZeroTier VPN running on it?
If DedicatedServer.example.com is an IN A record for a publicly routable IPv4 address, then clients resolving that record will not establish connections with DedicatedServer through ZeroTier.
The best solution is to install the ZeroTier client on all participating nodes because name resolution like DedicatedServer.local and MyComputer.local might work.
And if .local doesn’t work, you can create records like DedicatedServer.zt.example.com for your private RFC1918 addresses instead. (Or try the new ZeroNSD feature.)
If you cannot install the ZeroTier client on all of the participating nodes, then you must learn how to do IPv4 routing or port forwarding. Check whether things like ‘reflection’ or ‘hairpinning’ apply to your network configuration if you choose to do it this way.