Android

How to change Private DNS on a Google Pixel (Android 17)

2 min read6 stepsPublished 17 October 2026

Screenshot from the guide: How to change Private DNS on a Google Pixel (Android 17)
In this guide
  1. Open Network and Internet
  2. Tap Private DNS
  3. Pick a mode
  4. Type a hostname and tap Save
  5. Check the Private DNS row
  6. Go back to Automatic
  7. If you do not see this option
  8. If this does not work
  9. Good to know
  10. Sources
Short 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.

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

Step by step

  1. Android screenshot: Open Network and Internet

    Open Network and Internet

    Open Settings and tap Network and Internet: Mobile, Wi-Fi, hotspot.

  2. Android screenshot: Tap Private DNS

    Tap Private DNS

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

  3. Android screenshot: Pick a mode

    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. Android screenshot: Type a hostname and tap Save

    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. Android screenshot: Check the Private DNS row

    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. Android screenshot: Go back to Automatic

    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

If this does not work

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.

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.

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.

In short: Settings, Network and Internet, Private DNS. Pick Off, Automatic or Private DNS provider hostname (type the hostname), then Save.

Did this guide work for you?