These steps are for stock, or close to stock, Android. If you have a Samsung please refer to these steps instead.
Take your unique DNS over TLS URL (click or tap it to copy for easy pasting):
Go to your phone's main settings and find Network & internet.
Then go to Private DNS, usually towards the bottom.
Paste or type in your URL and save.