How to force a DNS server?

When using vanillia Wireguard, you can configure it so that all traffic goes through the tunnel and enforce a specific DNS server.

Is this something I can do with Tailscale?

I am aware of exit nodes, but I did not see a DNS setting attached to them (in the sense "use such and such exit node, and this also makes you use such and such DNS server)