No different than the interaction between MagicDNS & any other upstream DNS (Google, Cloudflare, your own, etc).
The built-in resolver at 100.100.100.100 handles the *.your-tailscale-suffix names in your tailnet and the rest that doesn't match goes upstream. Basically.