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.

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, and 11.

Android 9, 10, and 11 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 an Android phone

2. Tap on Connections or Network & internet.

Open connections settings on an Android phone

3. Tap on More connection settings or Advanced.

Open more connection settings on an Android phone

4. Tap on Private DNS.

Private DNS setting on an Android phone

5. Select the Private DNS provider hostname option.

6. 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.

7. Tap on Save.

Enable Private DNS on an Android phone

That's it. Your 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.

Wifi settings

The steps below work for all Android smartphones but this method only works for wifi 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 wifi network your phone's connected to, or long-press (tap and hold) on the wifi 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.



Maybe you're also interested in:

How to use Private DNS on an Android phone

How to access blocked websites on an Android phone


References:

Google.com: Public DNS - DNS-over-TLS

Google.com: Using Google Public DNS on Android

Cloudflare.com: Enable Private DNS with 1.1.1.1 on Android

Quad9.net: Configure Android to use Private DNS feature with Quad9

Adguard.com: Setting up AdGuard DNS on Android