Tailscale DNS issues

I got one question about how the tailscale app works in Beryl AX. I have an exit node and the subnets advertised and can connect from my devices without any problem. My issue is the DNS. I know that I can select from admin console the IP address of the DNS server from my virtual network. When I am not connected to the nameservers ( the switch of override local DNS is off), my DNS servers are the ones from my ISP. However, I bought one Raspberry Pi and set up both Adguard Home and Tailscale and I set up the DNS in the raspberry pi as 127.0.0.1. With this setting and the override local DNS switch off, my DNS resolvers are the ones set up in Adguard Home. Is there a way that I could set up my Beryl AX in a similar manner so I don’t have to override my local dns?