Many users are wondering how to enable DNS on Android to speed up page loading or bypass ISP blocking. In fact, modern versions of the operating system, starting with Android 9 Pie, allow you to change name servers at the system level without the need to use third-party applications. This ensures stable operation of the entire device, and not just one browser.

Enabling private DNS (Private DNS) provides access to encrypted requests, which increases your privacy online. The provider will no longer be able to see which sites you visit by analyzing DNS traffic. In addition, the use of reliable public servers often solves problems with the “unavailability” of individual resources when the Internet is working.

In this article we will look in detail at where the required switch is located in the menu, how to enter the address manually and what to do if the system gives an error. The instructions are suitable for most smartphones, including Samsung, Xiaomi, Google Pixel and Realme.

What is DNS and why change it

The Domain Name System (DNS) works like an Internet phone book. When you enter a website address, for example google.com, your phone sends a request to the server to find out its real IP address. By default, devices use the servers of your mobile operator or Wi-Fi router. However, they do not always work quickly and stably.

Changing DNS to more productive servers can significantly speed up the response when pages begin to load. This is especially true if your provider uses overloaded equipment. Enabling encrypted DNS also protects against address spoofing by attackers on public Wi-Fi networks.

It is worth noting that changing these settings does not increase the maximum file download speed, which is limited by your tariff plan. It affects the speed of establishing a connection with the server. For gamers, this may mean a decrease in ping in some cases, but the result is individual.

Some providers deliberately block access to certain resources precisely at the DNS level. Switching to an alternative server allows you to bypass such simple restrictions without installing a VPN. This makes setting private DNS one of the easiest ways to expand access to information.

⚠️ Attention: If after changing the settings the Internet stops working, return the value to “Auto” or “Disabled”. A non-working server address will lead to a complete loss of access to the network.

Where to find DNS settings on different versions of Android

The settings interface may differ depending on the manufacturer's shell, but the logic remains the same. In “pure” Android, the path looks as simple as possible. You need to open Settings, then go to the section Network and Internet. Next, select Additional settings or immediately find the line Private DNS.

On smartphones Samsung with the One UI shell the path may be a little longer. Go to Settings, select Connections, then Additional connection options. This is where the required switch is hidden. Owners Xiaomi i Redmi should look for this item in the Connection and sharing -> Private DNS.

If you cannot find this item in the specified places, use the settings search. Type "DNS" or "Private" into the search bar. The system itself will show the required section. This is a universal method that saves time when searching for hidden menus.

It is important to understand that on older versions of Android (below 9.0) the system private DNS function may not be available. In this case, you will have to configure DNS for each Wi-Fi network separately or use special applications that require root access. However, for most modern devices this problem is not relevant.

📊 What version of Android do you have?
Android 9-10
Android 11-12
Android 13-14
Android 15+

Step-by-step guide: how to enable private DNS

The activation process takes less than a minute, but requires care when entering data. First, open the settings menu and find the section responsible for network connections. As we found out earlier, it may be called differently depending on the model of your smartphone.

Find the item Private DNS (Private DNS). By default, the mode is usually “Auto” or “Disabled”. Click on it to open the selection menu. You will be offered three options: disable the function, use automatic mode, or enter the ISP hostname manually.

Select an option DNS provider host name. This is where you need to enter the server address. Do not enter IP addresses like 1.1.1.1; the system requires a domain name. After entering, click the “Save” button. If the address is entered correctly, the icon will be saved and the Internet will continue to work.

☑️ Checking DNS settings

Done: 0 / 5

If you entered an incorrect data format, the system will generate an error and will not allow you to save the settings. In this case, check for typos. Often users confuse letters or add extra symbols, such as “http://” or “https://”, which is absolutely not allowed.

💡

Enter only the domain name without prefixes. The correct format is dns.google, not https://dns.google.

List of the best free DNS servers

The choice of server depends on your goals: maximum speed, confidentiality or bypassing blocks. There are several large providers that provide private DNS services for free and guarantee high stability.

The most popular solution is the service from Google. It strikes a balance between speed and reliability. To use it, you need to enter the following value in the host name field:

dns.google

If your priority is privacy and no logs, you should pay attention to the Cloudflare project. They position themselves as the fastest DNS in the world and strictly monitor user privacy. Connection address:

1dot1dot1dot1.cloudflare-dns.com

For users who are interested in filtering malicious content, the service from AdGuard is suitable. It blocks ads and trackers at the DNS level, which speeds up page loading on sites with a lot of banners. Host name for connection:

dns.adguard.com
Provider Host name for input Main feature
Google dns.google High stability
Cloudflare 1dot1dot1dot1.cloudflare-dns.com Maximum speed and privacy
AdGuard dns.adguard.com Ad blocking
Quad9 dns.quad9.net Blocking phishing sites

You can experiment with different options to find the one that works fastest in your area. Just change the value in the settings and check the speed of opening sites.

💡

Correctly entering the host name (without http and IP numbers) is the main condition for successfully activating private DNS on Android.

Setting up DNS for a specific Wi-Fi network

Sometimes it is not practical to use system private DNS, for example, if you are connected to a corporate network with its own rules. In this case, you can register DNS servers only for a specific Wi-Fi access point. This method works on all versions of Android, even the oldest ones.

Go to Settings -> Wi-Fi. Find the network you're connected to and tap on it (or hold your finger to bring up the context menu). Select item Change network or Manage network settings. If there is no such item, click on the gear icon next to the network name.

Expand additional settings by clicking on the arrow or checkmark Advanced. Find the item IP Settings and switch it from “DHCP” to Static. After this, fields for entering the IP address, gateway and DNS will appear.

In fields DNS 1 and DNS 2 enter server addresses. Unlike private DNS, here you need to enter IP addresses. For example, for Google it is 8.8.8.8 and 8.8.4.4. For Cloudflare: 1.1.1.1 and 1.0.0.1. Save the changes.

⚠️ Attention: When choosing a static IP, make sure that you have not changed the phone's primary IP address and default gateway. Change only the fields related to DNS, otherwise the connection to the router may be lost.

This method is convenient because the settings apply only to one network. When switching to mobile data or another Wi-Fi, the old DNS settings will not be in effect, which may be useful in some use cases.

Possible problems and solutions

Users often encounter a situation where, after enabling private DNS, the Internet disappears or is unstable. The most common reason is an incorrectly entered hostname. Check for extra spaces at the beginning or end of the line, and also make sure you are not using an IP address instead of a domain name.

Another problem is port blocking by your ISP or network administrator. Some public Wi-Fi in cafes or hotels prohibit the use of third-party DNS to control traffic. In this case, the system will throw an error when trying to save, or the Internet will simply not load pages.

If you use Airplane mode, network functions are disabled and DNS settings are not applied. Make sure airplane mode is turned off. It's also worth checking to see if your VPN is activated. Some VPN applications can conflict with the system private DNS, intercepting traffic to themselves.

What to do if the error “Failed to save”

Try to temporarily disable the antivirus or firewall on your phone. Also check if you are using a proxy server in your Wi-Fi settings. Resetting network settings often helps fix software glitches.

In rare cases, the problem lies in the server you have chosen. Try switching to an alternative option from the list above. For example, if Cloudflare is not working, check Google DNS. Temporary failures on the side of the DNS provider are also possible.

Can DNS be used to bypass website blocking?

Yes, private DNS helps bypass blocking implemented by the provider at the domain name level. However, it does not hide your IP address or encrypt all traffic like a VPN does. For serious cases of censorship, DNS may not be enough.

Does changing DNS affect battery consumption?

No, using encrypted DNS (DoT) has virtually no effect on power consumption. The difference is so minimal that you won't notice it in everyday use. In some cases, the battery may even be used more economically due to faster page loading.

Do you need root access to configure DNS?

To use the “Private DNS” function in the settings of Android 9 and above, root access is not required. They are required only for deep modification of system files on very old versions of Android or to force a DNS change in applications that ignore system settings.

How to return the settings to default?

To disable private DNS, go to the same menu section and select the “Disabled” or “Auto” option. For Wi-Fi networks, you need to change the IP setting from "Static" back to "DHCP".

Is it safe to use public DNS?

Using reputable public DNS (Google, Cloudflare) is safe and often more private than your ISP's servers. They use encryption to prevent responses from being spoofed. However, do not enter the addresses of unknown servers found on dubious forums.