I believe you just add that to your network settings for private dns.
Go to settings - network & Internet - scroll down to see Private DNS and add a DNS of your choice like dns.adguard-dns.com.
Worked for me so far as I use pihole on WiFi at home but now not seeing adds on mobile data like I used to.
Update, this will override all DNS settings it seems. Just did a test at home and it now points to this DNS vs my pihole.
If someone knows a better way, please lmk otherwise I'll poke around more.
@AlecSadler NoMachine works great on Mint/Ubuntu. It's free and the only intuitive RDP out there I've found so far.