Help

Android Private DNS: choose a setting and test it

Find Android’s Private DNS setting, understand provider hostnames, and investigate connection problems after a DNS change.

2 min readSources checked Our editorial policy

Android’s Private DNS setting concerns DNS lookups. It is not a VPN connection and does not, by itself, change the IP address websites see.

Find the setting

Search your device’s Settings for Private DNS. On Pixel, it is within the network settings. Manufacturers and Android versions can use different menu paths.

Google documents automatic, off and provider-hostname choices. For a custom provider, enter the hostname that provider publishes for this feature. Do not substitute a numeric DNS address where the setting requests a hostname.

Before changing anything, note the current selection. If a workplace or school manages the device, follow its configuration rather than replacing it.

Test with one domain and one network

After saving, open a familiar website. If it fails, try another unrelated domain. Keep Wi-Fi or mobile data unchanged during this first comparison.

If only the custom setting fails, restore the previous setting and retest. A misspelled hostname, unreachable provider or network restriction can prevent resolution. Do not conclude that the VPN is broken merely because both settings were changed in the same session.

Compare browser and device behavior

A browser may have its own encrypted DNS settings. A DNS test in that browser may therefore describe the browser’s chosen resolver rather than every application on the phone.

Run a DNS test and compare its resolver operator with your intended configuration. An unfamiliar resolver name is a reason to investigate, not an automatic leak verdict.

For a broader connection check, compare the public IP and the actual app you use. Keep DNS, address routing and website location permissions as separate observations.

Sources

Check the linked sources for current details. If you spot an error, let us know which statement needs a correction.

1. support.google.com/pixelphone/answer/28195832. www.rfc-editor.org/rfc/rfc7858Read this page as MarkdownSuggest a correction

Hide your IP for $0.

Download Zenshield, connect in the app and let websites see the VPN’s IP instead of yours.

Free access requires opt-in idle bandwidth sharing. You choose in the app and can opt out at any time.

Why it’s free
Zenshield / free VPN

Download your free VPN.

$0Subscription charges.

Choose your device. Install Zenshield, create your account and connect.

Download for Windows Download Android APK

Free access uses opt-in idle bandwidth sharing. You give consent in the app and can opt out at any time. Sharing is required for free VPN access.

How the free exchange works ↗