How to set up DNS on any Android phone or tablet

You can change the DNS server on any Android phone or tablet to speed up browsing, improve privacy, or unblock websites your internet provider restricts.

ADVERTISEMENT

You can use Google Public DNS, Cloudflare DNS (1.1.1.1), Quad9, AdGuard, or another third-party provider on your Android phone or tablet.

The steps on this page work for all major devices, including Samsung, Lenovo, Motorola, OnePlus, ASUS, Nokia, Google, Sony, LG, and other Android models.

Method 1: Set up Private DNS on Android via settings

Private DNS encrypts the connection between your device and the DNS server, so your ISP can't see which sites you visit.

  1. Open your Android device's settings.
  2. Tap Network & internet or Connections (Samsung).
  3. Tap Private DNS. If you don't see the Private DNS option, you may have to tap on More connection settings or Advanced.
  4. Select Private DNS provider hostname.
  5. In the 'Private DNS' input field, type one of these addresses: dns.google or one.one.one.one (Cloudflare) or 1dot1dot1dot1.cloudflare-dns.com or dns.quad9.net or dns.adguard.com
  6. Tap Save.
Setting the Private DNS provider hostname to Cloudflare on an Android device

Your Android device is now using a private DNS provider.

ADVERTISEMENT

Method 2: Set up DNS on Android through Wi-Fi settings

These steps work on all Android devices but apply only to Wi‑Fi networks.

  1. Open your Android device's settings.
  2. Tap on Network & internet or Connections (Samsung).
  3. Tap on Wi-Fi.
  4. Press and hold the name of your active Wi-Fi network, or tap the Gear icon directly next to it.
  5. Select Modify network or expand the Advanced dropdown menu.
  6. Locate the IP settings field and switch it from DHCP (automatic) to Static (manual).
  7. Leave the IP address, Gateway, and Network prefix length fields as they are.
  8. Scroll down to the DNS 1 field and enter: 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google) or 9.9.9.9 (Quad9) or 94.140.14.14 (AdGuard).
  9. Navigate to the DNS 2 field and enter: 1.0.0.1 (Cloudflare) or 8.8.4.4 (Google) or 149.112.112.112 (Quad9) or 94.140.15.15 (AdGuard).
  10. Tap Save.
Change Wi-Fi settings to access blocked websites on older Android devices

If the page doesn't reload, disconnect from Wi-Fi and reconnect. Your Android device is now using different DNS servers. You may want to test different DNS providers to see which one offers the best speed.

Method 3: Set up DNS on Android using DNS changer apps

If your phone or tablet runs an older version of Android, you can use a dedicated DNS changer application to change DNS.

Cloudflare's 1.1.1.1 and BGNmobi's DNS Changer are free options available in the Google Play store.

BGNmobi's DNS Changer has a built-in list of providers to choose from. Cloudflare's 1.1.1.1 connects only to their own server.

Notes:

If Cloudflare is fast in your region, the official 1.1.1.1 app is the best option.

ADVERTISEMENT

Related:

How to use Private DNS on an Android phone or tablet

How to access blocked websites on Android (8 safe methods)

How to unblock blocked websites (5 safe and free methods)


Android