How to have all machines to use dns from one of the machine in vpn network?

I have few machines added to my Tailscale vpn, out of which one is remote on which I am running dns server . I want all the other machines in vpn to use that machine as dns resolver , i.e.

nameserver pointing to ip of machine running dns server.

How would that be possible?