Android supports Private DNS, which uses DNS over TLS to secure your queries.
Host name for 126.96.36.199 Quad9 DNS on Android
Steps to configure your Android device to use 188.8.131.52.
Go to Settings → Connections → More connection settings → Private DNS. Select the Private DNS provider hostname option. Enter dns.quad9.net and hit Save.