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 (188.8.131.52), 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.
2. Tap on Connections or Network & internet.
3. Tap on More connection settings or Advanced.
4. Tap on Private DNS.
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.
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 184.108.40.206, 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 220.127.116.11 app only allows you to connect to their DNS servers, and Quad9 Connect also only allows you to connect to their DNS servers.
- When you're using Cloudflare's 18.104.22.168 app, you don't need to use the WARP feature, which is a VPN service. WARP is probably enabled by default. You can disable WARP by tapping on the ≡ menu button in the top right corner, and then tapping on 22.214.171.124.
- When you use a DNS changer app for the first time, it will ask your permission to set up a VPN profile on your smartphone.
- If you want to use a VPN, then you will have to disconnect and close the DNS changer app first. You cannot use both at the same time.
- You may need to test DNS providers to see which one works best for you in terms of speed.
- The Cloudflare 126.96.36.199 and Quad9 Connect apps don't show ads. BGNmobi's DNS Changer will show ads.
If Cloudflare's DNS is fast for you, then I recommend their official 188.8.131.52 app.
The steps below work for all Android smartphones but this method only works for wifi networks.
1. Open your phone's settings.
2. Open Connections or Network & internet.
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).
7. Enter the desired DNS server addresses in the DNS 1 field and DNS 2 field.
You can use the DNS server addresses below.
Google Public DNS:
- DNS 1: 184.108.40.206
- DNS 2: 220.127.116.11
- DNS 1: 18.104.22.168
- DNS 2: 22.214.171.124
- DNS 1: 126.96.36.199
- DNS 2: 188.8.131.52
- DNS 1: 184.108.40.206
- DNS 2: 220.127.116.11
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
Google.com: Public DNS - DNS-over-TLS
Google.com: Using Google Public DNS on Android
Cloudflare.com: Enable Private DNS with 18.104.22.168 on Android
Quad9.net: Configure Android to use Private DNS feature with Quad9
Adguard.com: Setting up AdGuard DNS on Android