Change the DNS on Android phones and tablets

Step-by-step Smart DNS guides for stock Android and Samsung Galaxy: pick the right DNS menu, enter the addresses and fix the errors Android shows.

Short answer: Stock Android keeps DNS under Network & internet, Samsung Galaxy keeps it under Connections > More connection settings. Both expose Private DNS, which accepts hostnames only, so Smart DNS users turn it off and use the per-network static DNS fields. If the static fields are hidden on your build, set the DNS on your router instead.

Which model do I have?

Android phones and tablets do not decode a model number the way TVs do. What decides where the DNS controls live is the settings app the manufacturer installed [1]. Google says its own settings use the label Network & internet [1], while Samsung's Galaxy settings group everything under Connections [2]. Open Settings on the phone: if the first entries read Network & internet, use the stock guide; if you see Connections, Bluetooth and Mobile hotspot together, use the Samsung guide. On either variant, search for Private DNS if you cannot spot it [3].

What Settings showsPatternOS versionGuideSrc
Settings lists "Network & internet" Stock Android or Google Pixel Android 9 or later (Private DNS available) How to change DNS on Android (Private DNS and Wi-Fi) [1]
Settings lists "Connections" Samsung Galaxy (One UI) One UI 5 and later How to change DNS on a Samsung Galaxy (One UI) [2]
  1. Google Android Help - Manage advanced network settings - accessed 2026-11-23
  2. Samsung Support - Connection options for your Galaxy phone or tablet - accessed 2026-11-23

Guides for this brand

Fix network errors on this brand

The Android messages below are real strings: the Private DNS notification appears when the phone cannot reach the hostname you entered, and the no-internet notification appears when Android's connectivity check fails after a DNS change. Samsung Galaxy devices additionally show a plain Failed to Connect dialog when a static IP configuration is wrong.

Sources

  1. Google Android Help - Manage advanced network settings - accessed 2026-11-23
  2. Samsung Support - Connection options for your Galaxy phone or tablet - accessed 2026-11-23
  3. Android Developers Blog - DNS over TLS support in Android P - accessed 2026-11-23
  4. Private Internet Access - Private DNS Server Cannot Be Accessed fix guide - accessed 2026-11-23