Is it possible to set a DNS conditionally?

I am testing tailscale as a replacement for my home setup (and maybe more later) and one of the problems is DNS resolution.

When on a device with tailscale enabled, I only need to request DNS1 for the “internal” network (say - internal services), and DNS2 for everything else. This is a typical case where you are on a corporate network and need to resolve the tailscale-powered devices through an internal DNS, and the rest of the network (corporate - so internal as well) through another.

Is this something that has been considered?