How to set up DNS on any Android phone (step by step)

This tutorial will show you step by step how to set up DNS on any Android phone.

You can use Google Public DNS, Cloudflare DNS (1.1.1.1), Quad9, AdGuard, or another DNS provider on your Android smartphone.

Methods:

The steps on this page work for all Android phones, such as Samsung, Lenovo, Motorola, OnePlus, ASUS, Nokia, Google, Sony, LG, and other Android smartphones.

Changing DNS can improve your online security and privacy, may increase your internet speed, and maybe also unblock websites that are blocked by your ISP (Internet Service Provider).

Set up Private DNS via settings

The steps below work for smartphones with Android 9, 10, 11, and 12.

Modern versions of Android support “Private DNS”, which uses DNS-over-TLS to provide security and privacy for your DNS queries.

DNS-over-TLS improves privacy and security between clients and resolvers.

1. Open your phone's settings.

Open settings on Android

2. Tap on Connections or Network & internet.

Open network and internet settings on Android

3. Tap on Private DNS. If you don't see the “Private DNS” option, you may have to tap on More connection settings or Advanced.

Open private DNS settings on Android

4. Tap on Private DNS provider hostname to enable this option.

5. Enter dns.google or one.one.one.one (Cloudflare) or 1dot1dot1dot.cloudflare-dns.com or dns.quad9.net or dns.adguard.com in the field below Private DNS provider hostname. You may need to test these DNS providers to see which one works best for you in terms of speed.

6. Tap on Save.

Private DNS provider hostname setting on Android

That's it. Your Android smartphone is now using a private DNS provider.

DNS changer apps

If your smartphone runs Android 8 or an older version of Android, then you can use a DNS changer application to change the DNS on your smartphone.

Cloudflare's 1.1.1.1, BGNmobi's DNS Changer, and Quad9 Connect are free DNS changer apps. You can find these apps in the Google Play app store.

BGNmobi's DNS Changer allows you to select from a list of DNS providers, while Cloudflare's 1.1.1.1 app only allows you to connect to their DNS servers, and Quad9 Connect also only allows you to connect to their DNS servers.

Notes:

If Cloudflare's DNS is fast for you, then I recommend their official 1.1.1.1 app.

Wi-Fi settings

The steps below work for all Android smartphones but this method only works for Wi-Fi networks.

1. Open your phone's settings.

Open settings on an Android phone

2. Open Connections or Network & internet.

Open connections settings on an Android phone

3. Open the Wi-Fi settings.

4. Tap on the gear icon next to the Wi-Fi network your phone's connected to, or long-press (press and hold) on the Wi-Fi network and then tap on Modify or Modify Network.

5. Tap on Advanced or Advanced options.

6. Change IP settings from DHCP to Static (Tap on IP settings > Static).

Change IP settings to static on Android

7. Enter the desired DNS server addresses in the DNS 1 field and DNS 2 field.

DNS settings for wifi network on Android

You can use the DNS server addresses below.

Google Public DNS:

Cloudflare DNS:

Quad9 DNS:

AdGuard DNS:

You may need to test DNS providers to see which one works best for you in terms of speed.

8. Tap on Save.

You may need to disconnect from the Wi-Fi network and reconnect for the changes to take place.

That's it. Your smartphone is now using other DNS servers.


Android


Related:

How to use Private DNS on an Android phone (step by step)

How to access blocked websites on an Android phone without VPN