The Android P Developer Preview includes built-in support for DNS over TLS. We added a Private DNS mode to the Network & internet settings.| Android Developers Blog
Learn how to use the Google Public DNS64 NAT64 gateway and DNS service for your IPv6-only network.| Google for Developers