- Go to "Settings" → "Network & Internet" → "Advanced" → "Private DNS".
- Select Private DNS provider hostname.
- Enter
dns.google
as the hostname of the DNS provider. - Click Save.
https://android-developers.googleblog.com/2018/04/dns-over-tls-support-in-android-p.html