Follow these instructions to turn private DNS on in iOS:
Open settings
Tap Network & Security > Advanced > Private DNS
Set the hostname of your private DNS and save.