How to change Private DNS on a Google Pixel (Android 17)
- Shown on
- Pixel 10a
- Software
- Android 17More Android 17 guides
- Checked
- October 2026
- Real screenshots
- 6 of 6 steps
- Where it is
- Settings › Network and Internet › Private DNS
Quick answer
Open Settings, Network and Internet, Private DNS. Pick Off, Automatic or Private DNS provider hostname, type the hostname (such as dns.google) and tap Save. The Private DNS row then shows the hostname. Ours was set to Automatic, and we set it back afterwards.
Steps
- 1
Open Network and Internet
Open Settings and tap Network and Internet: Mobile, Wi-Fi, hotspot.

- 2
Tap Private DNS
Private DNS is below VPN, above Adaptive connectivity. Ours said Automatic under it. Tap it.

- 3
Pick a mode
A box opens, Select Private DNS Mode, with three choices: Off, Automatic and Private DNS provider hostname. Automatic was selected on ours, and the Hostname field below was greyed out. To stay on Off or Automatic, pick it and tap Save; Cancel keeps the old setting.

- 4
Type a hostname and tap Save
Pick Private DNS provider hostname. The Hostname field becomes usable: type the provider's hostname, here dns.google, which Google's Public DNS page gives for Google's own service. It must be a hostname, not an address. Tap Save.

- 5
Check the Private DNS row
Back on Network and Internet, the Private DNS row now shows the hostname: dns.google on ours. With it set, our phone stayed on Wi-Fi and still resolved websites.

- 6
Go back to Automatic
To undo it, tap Private DNS again, pick Automatic and tap Save. The row said Automatic again on ours.

If you do not see this option
- What does each choice do? Google's Android Developers blog (2018) says Automatic switches to encrypted DNS over TLS whenever the network's DNS server can handle it, setting a hostname routes every DNS lookup to that server through a secure link, and anyone who'd rather not can switch it off. Source: DNS over TLS support in Android P Developer Preview
- Called Network & internet? Google's help writes Network & internet. On our Pixel 10a with Android 17 the page was titled Network and Internet. Source: Control aeroplane mode, private DNS and other network settings
- Can't find Private DNS? Google says to search Settings for Private DNS, and if you still can't find it, to ask your device manufacturer for help. Source: Manage advanced network settings on your Android phone
- Older Android? Google's Public DNS page says Private DNS needs Android 9 or higher; older versions can't set it for all networks. Source: Get started (Android)
If this does not work
- No internet after typing a hostname? Google's Android Developers blog says that once you set a hostname, the phone labels the network No internet access whenever that server can't be reached. Check the spelling, or go back to Automatic.
- Not sure which to pick? Google says your phone uses Private DNS by default on every network that can use it, and recommends keeping it on. Automatic was already selected on ours.
- Still can't connect? See Pixel Wi-Fi keeps disconnecting or Pixel mobile data not working. As a last step, reset network settings.
Good to know
Under the Hostname field on ours is a Learn more link about Private DNS features. The cross at the end of the field clears what you typed.
Data Saver is on the same page and said Off on ours: how to use Data Saver.
About this guide
Private DNS sends your phone's DNS lookups over a secure channel. Google says it helps secure only DNS questions and answers and can't protect anything else.
- Device
- Android
- Shown on
- Google Pixel 10a, Android 17 (build CP3A.261005.005)
- App
- Settings
- Path
- Settings › Network and Internet › Private DNS
- Real screenshots
- 6 of 6 steps
- Checked
- October 2026
- Sources
- 4 official, linked below
The screenshots are from our Google Pixel 10a with Android 17 (build CP3A.261005.005), in Dark mode. Private DNS was on Automatic. We set it to dns.google, checked that the phone still resolved websites, and set it back to Automatic.
Sources
Links checked October 2026. Menus and features can change with updates.Did this guide work for you?
Sorry about that. What happened?
Get new guides by email
Our newest guides, sent to your inbox. Free, and you can unsubscribe in one click.
We'll email you to confirm. How we use your email
Follow howtosimply on Facebook
We share our new guides on our Facebook page, so the next fix turns up in your feed.
Follow on Facebook