I have zerotier bridged on my openwrt router. Windows clients outside of my home are using the DNS of my home pi-hole. I would like them to not be able to automatically find the pi-hole, and instead require me to assign the ip of the pi-hole for queries. Windows apparently tries to fetch DNS from every ethernet adapter and picks whichever responds the quickest.
Home LAN:
router: 192.168.196.1/23
DHCP: 192.168.196.100-254
pi-hole: 192.168.196.91
Zerotier network:
Managed routes: 192.168.196.0/23
auto assign: 192.168.197.100-254
All of my devices outside of the home network are assigned addresses in the 192.168.197 block.
ZeroTier itself does nothing to configure DNS for your networks automatically. The one option that is there to configure DNS can only configure it for a specific search domain & must be manually enabled on each ZeroTier client. You must have some configuration elsewhere that is pointing everything at your DNS server.