Encrypted DNS (DoH) on Mint 22.1

Can anyone help me how to set up adguard (https://dns.adguard.com) dns as main resolver?

Reason: block ads in entire system

I can’t find field for URL. Unencrypted DNS is not good for me (public networks).

I have shared a few links. When you look at these links, you will understand what you need to do.