Mobile Phones Android How to Change DNS on Android Get more speed and privacy on Android with a simple configuration by Jack Wallen Writer Jack Wallen is a former Lifewire writer, an award-winning writer for TechRepublic and Linux.com, and the voice of The Android Expert. our editorial process LinkedIn Jack Wallen Updated on November 14, 2019 Android Switching from iOS Tweet Share Email Changing your DNS servers on an Android phone just takes a quick dip into the settings app. DNS stands for Domain Name System and serves as the “phone book” for the internet. DNS is responsible for translating domains (like lifewire.com) to routable IP addresses that can be more easily remembered. After all, you don’t want to have to remember 188.8.131.52 as the address for lifewire.com. And without DNS, those domain addresses couldn’t be translated to routable IP addresses. That’s why DNS is so important. Every device that requires access to the outside world (the Wide Area Network, aka WAN), has a DNS server (or two) that tells your phone how to get to a given address. Those addresses are almost always associated with your device carrier (such as Verizon, AT&T, or Sprint) or the wireless network you use. Those DNS services provided by your carrier or Wi-Fi network might not always be the fastest at translating domains to IP addresses. Or worse, they could be less than secure. Unfortunately, it is not possible to change the carrier DNS of an unrooted device. It is, however, possible to change the DNS addresses when connected to a wireless network. Considering wireless networks are often less secure than carrier networks, changing the DNS services used might be wise. This article uses Android 9 (Pie) and Android 8 (Oreo). However, the steps for Android 8 should be similar on previous iterations going back to version 6. The biggest difference will be location of the app settings and the look of the configuration screens. What DNS Addresses to Use It might sound challenging to change the DNS of your device manually, but it’s not. Before you do, you need to know what DNS addresses are available to use. The two most popular free DNS services are Google and OpenDNS. You can select either service, as they both function equally as well. Those addresses are: Google: 184.108.40.206 and 220.127.116.11OpenDNS: 18.104.22.168 and 22.214.171.124 Changing DNS on Android 9 (Pie) Android 9 came with a completely different (and much easier) method of changing the DNS addresses. Instead of having to change the addresses on a per-network basis, you can set alternative DNS addresses in a single location. However, there is one other very important difference. With Android 9, you cannot configure a standard DNS server (such as Google or OpenDNS). Instead, you have to use what is called DNS over TLS, which is an encrypted form of DNS. These addresses will be domain names and not IP Addresses. One of the most popular Private DNS services is CloudFlare. The CloudFlare DNS address is 1dot1dot1dot1.cloudflare-dns.com. You can also opt to use the CleanBrowsing DNS service, which has three different DNS servers: Security Filter, which blocks phishing, malware, and malicious domains, and uses the address security-filter-dns.cleanbrowsing.org.Family Filter, which blocks access to adult, pornographic, and explicit sites, as well as sites like Reddit. This uses the address family-filter-dns.cleanbrowsing.org.Adult Filter, which blocks access to all adult, pornographic and explicit sites and uses the address adult-filter-dns.cleanbrowsing.org. To manually change the DNS on Android Pie, follow these steps: Pull down the notification shade twice and then tap the gear icon in the bottom left corner of the shade. In the resulting window, tap Network & Internet. In the resulting window, tap Advanced to reveal the Private DNS entry. Tap Private DNS, select Private DNS provide hostname and type either the CloudFlare URL or one of the CleanBrowing URLs in the provided space. Tap Save to finish. Changing DNS on Android 8 and Earlier Next, we’ll configure a Wi-Fi network to use an alternative DNS server on Android Oreo. This method will also work for Android 7 and 6, although the location of some of the settings might vary. Remember, when changing the DNS address for Android 8 and earlier, it is done on a per-network basis, so you have to do this for any wireless network you want to make use of a different DNS server/service. Here’s how: Pull down the notification shade twice, tap the gear icon at the top right corner, and then tap Wi-Fi. Long press the name of the wireless network to be modified and then tap Modify network. Tap Advanced options and then tap DHCP. From the popup, tap Static and then tap DNS 1. Type the DNS address (such as 126.96.36.199). Tap SAVE to finish. Go through the above process with every wireless network you want to use alternate DNS addresses for. You can even configure different DNS servers for different Wi-Fi networks. For instance, for your home network, you could use the Google DNS address of 188.8.131.52 and for another network you could use the OpenDNS address of 184.108.40.206. You might find that one DNS server works better with a certain wireless network. Fortunately, with Android, you are able to make such changes to the network configurations.