How to set openwrt's dns intailscale

In fact, I have a Raspberry Pi 4B. I set tailscale on it.

And I created an openwrt container as my gateway and set up tailscale there.

I found that tailscale has an article about setting up pihole dns. I wonder if it can also be implemented on openwrt.

If you have a good suggestion, please let me know, thank you🙏