Sorry, Android Pie only. It's that new.
Google has introduced Private DNS, which uses encryption between your device and Google's DNS servers to add just a little more privacy to your Internet interactions, mainly keeping your Internet Service Provider (ISP) a little more in the dark. This will work with apps that use the system defaults, however, some apps have their own built-in DNS lookups, so it's not perfect. The article explains the setup and I used to option to manually configure it so it uses Google's DNS, as you can see at the bottom of the graphic below.