If you are of the few users that already have Android Pie you can configure Cloudflare DNS system-wide.

- Go to Settings → Network & internet → Advanced → Private DNS.
- Select the Private DNS provider hostname option.
- Enter
1dot1dot1dot1.cloudflare-dns.com
and hit Save.
Just like that you will have a more secure and faster internet connection. How does this work? I let the experts from Cloudflare explain that to you on their blog.