Insights

Private DNS for Android: setup, modes and privacy limits

Set up Private DNS on Android, choose Automatic or a provider hostname, understand its privacy limits and recover if pages stop loading.

Illustration of Android handset with a blank screen.
On this page

Android's Private DNS setting helps encrypt Domain Name System (DNS) lookups, which turn website names into IP addresses. To configure it, open Settings, search for Private DNS, choose Automatic or Private DNS provider hostname, then tap Save.

In short:

  • Automatic. Uses encrypted DNS when it's available.
  • Provider hostname. Selects a specific encrypted DNS provider using its hostname, not an IP address.
  • DNS only. Protects DNS questions and answers, not the rest of your browsing traffic.

How to turn on Private DNS

Only change a phone you own or administer. Record its current mode and any provider hostname so you can restore them.

1. Find the Private DNS setting.

Open Settings, then look under Network & Internet → Private DNS. Menu names can vary, so use Settings search if you don't see it. If searching for Private DNS still doesn't find the setting, ask your device manufacturer for help.

2. Choose a mode.

Select Automatic or Private DNS provider hostname. Use the table below to decide which fits your needs.

3. Enter a hostname if you chose a provider.

Use the provider's documented encrypted DNS hostname. Don't enter its numeric IP address in the Private DNS provider hostname field.

4. Save and check your choice.

Tap Save, then check that the saved mode and hostname match your choice. This checks what you've configured, not whether every app uses it. If pages stop loading, follow the recovery steps below.

Which DNS mode should you choose?

A DNS resolver is the service that answers your phone's lookups. DNS over Transport Layer Security (TLS), commonly called DoT, encrypts the lookup exchange between your phone and that resolver.

Use your current mode and, if you want a specific provider, its documented encrypted DNS hostname to make your choice.

DNS modeResolver choiceEncryption behaviorWhen to choose
OffNo provider selected hereDoT disabled through this settingTurn off this setting's encryption
AutomaticNetwork's resolverEncrypted when the resolver supports itUse encrypted DNS when available
Private DNS provider hostnameYour chosen providerEncrypted DNS from that providerSelect a specific encrypted resolver

Automatic doesn't ensure encryption when the network's resolver lacks support. Off isn't a privacy improvement.

Check your saved choice against the table. You should be able to say whether you're using the network's resolver or a provider you've selected, and whether encryption depends on network support. If you selected a provider, check that the saved hostname matches its instructions.

What Private DNS doesn't hide

A DNS lookup asks for a domain name's address. It isn't the full page address or the words you type into a search box. Private DNS protects that lookup exchange with the resolver, not your page content or other internet traffic.

Private DNS doesn't hide your IP address or make you anonymous. An observer may still infer some of the servers you connect to. Don't assume every app uses Android's chosen resolver, especially if an app has its own DNS controls.

Choosing a resolver also means choosing who handles your DNS requests. Read its published privacy and filtering policies before using it. Encryption alone doesn't show what the provider logs or whether it blocks ads, trackers or unwanted domains.

What to do if pages stop loading

A chosen encrypted resolver can work across networks, but some public or corporate networks can prevent access to it. An unreachable-provider warning reports an access problem. It doesn't identify the cause or prove that a network blocked a port.

Only change a phone you own or administer, and keep its original mode and hostname for recovery.

1. Check the provider hostname.

Compare the saved entry with the provider's documented encrypted DNS hostname. Correct any mismatch and tap Save. If pages still won't load, continue with the next check.

2. Try another trusted network.

If one is available, keep the same hostname and try loading a page there. A working result elsewhere narrows the problem, but it doesn't identify the failing endpoint or network rule.

3. Try Automatic temporarily.

Return to Private DNS, select Automatic and tap Save. This can restore access on some networks, but encrypted DNS may no longer be used.

4. Check access and undo the temporary change when needed.

Try loading a page. If it loads, that shows connectivity works for that request, not that every app's DNS lookups are encrypted. If it still fails, switching modes hasn't restored access and the cause may be elsewhere. Restore your original mode and hostname when you're ready to undo the temporary change.

Where doxx.net fits. doxx.net encrypts DNS lookups and blocks unwanted domains. If you want to join the network, create a doxx.net account, download the app and connect a device or agent.

Ask an AI assistant

Share this article

Private Everywhere

Stop giving the internet everything

Keep your browsing, messages, files, and agents private.