Change the DNS on your Android phone or tablet

Applies to: Phones and tablets running stock Android (Google Pixel and most non-Samsung brands) with the Private DNS setting, available since Android 9

Short answer: Open Settings > Network & internet > Internet, tap the gear next to your Wi-Fi network, then set IP settings to Static and enter your Smart DNS addresses under DNS 1 and DNS 2. Turn Private DNS off first: it accepts hostnames only, so it cannot use a Smart DNS IP address.

This guide is for anyone setting up Smart DNS on a phone or tablet that runs stock Android - a Google Pixel, or a device from a manufacturer that kept the standard Google settings layout. You need two DNS addresses from your Smart DNS provider and about five minutes. Samsung Galaxy devices use a different menu layout, so if your Settings app opens on a page called Connections, use the Samsung Galaxy guide instead.

Menu path: Settings > Network & internet > Internet > (network gear icon) > Advanced > IP settings > Static > DNS 1 / DNS 2SettingsNetwork & internetInternet(network gear icon)Advanced>>>>IP settingsStaticDNS 1 / DNS 2>>
Menu path for How to change DNS on Android (Private DNS and Wi-Fi) - as documented in the sources below

This guide is for anyone setting up Smart DNS on a phone or tablet that runs stock Android - a Google Pixel, or a device from a manufacturer that kept the standard Google settings layout. You need two DNS addresses from your Smart DNS provider and about five minutes. Samsung Galaxy devices use a different menu layout, so if your Settings app opens on a page called Connections, use the Samsung Galaxy guide instead.

Before you start

  • Have the two DNS addresses from your provider ready. If you have not picked a

service yet, compare the options on our provider list, or read what Smart DNS actually is first.

  • Register your current IP address in your Smart DNS provider's account. Most

services will not serve you until your home IP is on file - Smart DNS Proxy tells customers they must log in and update their IP address before the service works [6].

  • If your router already hands out Smart DNS addresses to every device, you can

skip this guide entirely and read the router setup guide instead.

Which version do I have?

Android shows its version number in Settings: open the Settings app, tap About phone, and read the Android version entry. Google documents this path on its Android help pages [4]. Private DNS itself arrived with Android 9: Google's Public DNS documentation describes Android 9 as the version that added the Private DNS feature [2], and the Android Developers Blog announced it during the Android P preview [3]. Every phone with Android 9 or later has both settings this guide uses, though the exact wording around them can shift slightly between manufacturers. If your Settings page looks different from the paths below, use the search field at the top of Settings and search for Private DNS [1].

Private DNS or per-network DNS? (read this first)

Android has two completely different DNS settings, and mixing them up is the single most common reason a Smart DNS setup fails on this platform.

Private DNS lives at Settings > Network & internet > Private DNS. It is Google's implementation of DNS-over-TLS [2] and it takes a hostname - Google's developer blog states plainly that users enter a hostname for a private DNS provider [3]. If you type a Smart DNS IP address such as 185.37.37.37 into that field, Android cannot open a TLS connection to it and the network gets flagged. Unlocator, whose own Smart DNS addresses are plain IP addresses, instructs Android users to make sure Private DNS is turned off before anything else, because otherwise it overrides the DNS settings they are about to set [5].

Per-network DNS lives inside each Wi-Fi network's details. Switching IP settings to Static reveals DNS 1 and DNS 2 fields where plain IP addresses belong [5][6]. These fields accept Smart DNS addresses. The catch: the change applies only to the one network you edited [2].

So for Smart DNS: Private DNS goes off, per-network static DNS carries the addresses. If your provider publishes a DNS-over-TLS hostname instead, Private DNS is the right tool - but that is rare among Smart DNS services, which are built around plain DNS routing tricks rather than encryption.

Steps

Step 1: Open the Private DNS setting

Unlock the phone and open the Settings app. Tap Network & internet, then tap Private DNS. On some builds the entry sits behind an Advanced expander in the same menu [2].

Menu path: Settings > Network & internet > Private DNS

You should now see: a radio-button dialog with three options - Off, Automatic, and Private DNS provider hostname [1].

If it doesn't work: if there is no Private DNS entry at all, your Android is older than version 9, which does not support the feature [2]; the per-network method below still works on those builds.

Step 2: Turn Private DNS off

Tap Off in the dialog, then tap Save. Google defaults Private DNS to automatic upgrading on capable networks [3], and an active Private DNS hostname will override the plain DNS addresses you are about to enter [5].

Menu path: Settings > Network & internet > Private DNS > Off > Save

You should now see: the Private DNS entry now reads Off instead of showing a hostname or Automatic.

If it doesn't work: if Save is greyed out or the entry refuses to change, a work profile or device-management policy may be holding it - try again after switching off any work profile, or finish the rest of the setup and return later.

Step 3: Open the details of your current Wi-Fi network

Go back to Network & internet and tap Internet. Find the network you are connected to and tap the gear (Settings) icon next to its name. Google's own documentation uses exactly this gear icon when describing advanced network settings [1].

Menu path: Settings > Network & internet > Internet > (network gear icon)

You should now see: a details page for the network, with entries such as Signal strength, Security, and IP configuration.

If it doesn't work: if tapping the network name opens a password prompt instead, you are on the network list entry, not the details page - tap the gear icon at the right edge, not the name.

Step 4: Switch IP settings to Static

Tap the edit (pencil) icon if the details page is read-only, then expand Advanced. Tap IP settings and change it from DHCP to Static. Unlocator's Android 13+ guide uses this exact sequence [5], and Smart DNS Proxy's older Android guide describes the same switch [6].

Menu path: (network details) > Advanced > IP settings > Static

You should now see: four or five input fields appear: IP address, Gateway, Network prefix length, DNS 1 and DNS 2.

If it doesn't work: on some builds the fields appear without an Advanced expander, right on the details page - scroll down. If Static is not offered, the network may be managed by an app or carrier policy. Note that a static IP configuration can also stop some public Wi-Fi networks with captive portals from letting you sign in [7]; on hotel or airport networks, revert to DHCP and read the captive-portal note in Cloudflare's Android guide [7].

Step 5: Enter the DNS addresses

Leave IP address, Gateway and Network prefix length exactly as they were - Unlocator says to keep them at their defaults [5]. Type the first Smart DNS address into DNS 1 and the second into DNS 2 [5][6]. Do not put a hostname here; these fields take plain IP addresses.

Menu path: (network details, IP settings Static) > DNS 1 / DNS 2

You should now see: both DNS fields filled with your provider's addresses, with no typos - check every digit twice, since a mistyped address produces errors rather than a warning.

If it doesn't work: if Save refuses to activate, at least one required field is empty or invalid. The gateway and prefix must be present and plausible even if you never touch DNS - fill them from the values that were there before.

Step 6: Save and reconnect

Tap Save. Then toggle Wi-Fi off and back on (or briefly enable airplane mode) so the new resolver is picked up. Smart DNS Proxy recommends a full restart after saving [6], which also clears stale resolver state.

Menu path: (network details) > Save > Wi-Fi toggle

You should now see: the phone reconnects to the same network and the details page shows your static configuration.

If it doesn't work: if the phone drops the connection, the IP address or gateway you left was wrong for this network - return to Step 4 and set IP settings back to DHCP, then start again with the values you noted.

Verify it works

Open the streaming service or channel you set Smart DNS up for and give it a few seconds - the region-specific catalogue should appear if everything is in place. Then log into your provider's account page and check its IP or status panel: most Smart DNS services show your registered IP and whether the service sees traffic from it. If the app still shows the wrong region, work through the error pages listed below before changing settings at random.

Undo this change

Return to the network details, tap IP settings and switch it back to DHCP. The static fields and your DNS entries disappear, and the network resumes the addresses the router hands out. Turn Private DNS back to Automatic if you want Android's default behavior restored [1].

Common errors on this device

After a DNS change, Android reports problems in two characteristic ways. The notification Private DNS server cannot be accessed appears when the phone cannot reach the hostname set under Private DNS (fix it here). The notification [Network name] has no internet access appears when Android's connectivity check fails - after a DNS change this usually means a wrong DNS address, an unregistered IP, or a captive portal (fix it here). Both are covered on their own pages with step-by-step fixes.

FAQ

Why can I not enter a Smart DNS IP address under Private DNS?

Private DNS is Android's name for DNS-over-TLS. Google documents that it takes a hostname, not an IP address, because Android opens a TLS connection to that name on port 853. A Smart DNS service works with plain DNS IP addresses, so those go into the static DNS fields of your Wi-Fi network instead.

Does Private DNS apply to mobile data too?

Yes. Cloudflare's Android guide notes that when you configure Private DNS, the device uses that resolver on all networks, including cellular. That is another reason to turn it off before setting a Smart DNS IP: the two settings point at different services.

Will the static DNS change affect other Wi-Fi networks?

No. The DNS 1 and DNS 2 fields belong to the single network you edited. Every other network keeps using its own settings, so repeat the steps for each Wi-Fi network you want Smart DNS on, or set the DNS on your router to cover them all at once.

Do I need to restart the phone after saving the DNS?

A full restart is not required. Toggling Wi-Fi off and on, or briefly turning on airplane mode, is enough for most builds. Smart DNS Proxy still recommends a restart after saving, and it clears any resolver cache Android is holding, so it is a reasonable habit.

What if my VPN app is on while I test Smart DNS?

Most VPN apps send DNS through their own tunnel, which overrides the DNS fields you just set. Turn the VPN off while you register your IP and test the Smart DNS service, then decide which one you want active.

Need a provider first? The comparison table has the live values:

Standalone Smart DNS picks → Find my provider in 30s

Sources

  1. Google Android Help - Manage advanced network settings on your Android phone - accessed 2026-11-23
  2. Google Public DNS - Get Started (Android section) - accessed 2026-11-23
  3. Android Developers Blog - DNS over TLS support in Android P - accessed 2026-11-23
  4. Google Android Help - Check and update your Android version - accessed 2026-11-23
  5. Unlocator Support - How to Set Up DNS on Android (Android 13+) - accessed 2026-11-23
  6. Smart DNS Proxy Support - Android Setup for Smart DNS Proxy - accessed 2026-11-23
  7. Cloudflare Docs - 1.1.1.1 on Android - accessed 2026-11-23