These steps are for Android on Samsung phones. If you have an installation that's closer to stock Android, please refer to these steps instead.
Take your unique DNS over TLS URL (click or tap it to copy for easy pasting):
Go to Settings and then Connections.
Then go to More connection settings
Go to Private DNS at the bottom, and copy/paste or type the URL from Step 1.