How to change DNS-server on the smartphone Xiaomi: 3 working ways to MIUI

Change of change DNS-Xiaomi is one of those settings that can significantly improve Internet speed, bypass regional locks or improve connection security. MIUI It does not always allow you to do this intuitively: depending on the firmware version (MIUI 12, 13 or 14) and device models (Redmi Note 12, POCO X5, Xiaomi 13T The path to settings may differ, and some mobile operators are actively blocking the possibility of manual change. DNS via system menu.

In this article, we will discuss three proven methods of changing DNS to Xiaomi: through Wi-Fi settings, using launcher applications (for example, Google DNS Changer), and through the configuration of private DNS in Android settings. We will focus on the nuances for devices with dual SIM, and also explain why some banking applications or services like Netflix may stop working after changing the DNS. If you encounter an error β€œfailed to connect to the network” after changing the settings, there is a section at the end of this article that solves the problem.

Why to change DNS to Xiaomi and which servers to choose

By default, your Xiaomi smartphone uses DNS-servers that your ISP provides (e.g., Rostelecom, MTS or Beeline) are not always optimal in speed and security:

  • πŸš€ Accelerating the loading of sites: some DNS (For example, Cloudflare's 1.1.1.1 or Google's 8.8.8.8 are faster than the provider's servers.
  • πŸ”’ Bypassing lockdowns: DNS AdGuard (94.140.14.14) or CleanBrowsing (185.228.168.9) can provide access to resources blocked in your country.
  • πŸ›‘οΈ Phishing protection: servers like 9.9.9.11 (Quad9) Filtering fraudulent websites.
  • 🌍 Access to regional content: for example, change DNS American (208.67.222.222) can unlock HBO Max or Disney.+.

It is important to understand that the change DNS he doesn't hide yours IP-address (this is required) VPN) It doesn't encrypt traffic (it requires DNS-over-HTTPS or DNS-over-TLS), but it's the first step to a safer and faster Internet. DNS-servers and their features:

DNS-serverIP-address (IPv4)FeaturesSupport for DoH/DoT
Google Public DNS8.8.8.8, 8.8.4.4High speed, but collects logs (anonymized)DoH
Cloudflare DNS1.1.1.1, 1.0.0.1Minimum delay, promise not to store logsDoH/DoT
AdGuard DNS94.140.14.14, 94.140.15.15Blocking Ads and Trackers at DNS LevelDoH/DoT
Quad99.9.9.9, 149.112.112.112Filtering of malicious domains, Swiss jurisdictionDoT

Xiaomi devices with MIUI 14 and later may experience conflicts with Mi Account system services when using a private DNS (DoT), leading to a synchronization error, in which case it is recommended to roll back to standard DNS or use applications like 1.1.1.1: Faster Internet from Cloudflare.

πŸ“Š What? DNS You're using it on your smartphone?
Default values (from the provider)
Google DNS (8.8.8.8)
Cloudflare (1.1.1.1)
AdGuard or other filtering
I don't know/no change.

Method 1: Change DNS via Wi-Fi settings (for MIUI 12–14)

This is the simplest method that works on most Xiaomi devices, including the Redmi 10, POCO F4 and Xiaomi 12 Lite. However, it has a limitation: the settings apply only to the current Wi-Fi network.

  1. Open Settings and go to the Wi-Fi section.
  2. Click on your network name (near the Connected tick) and hold it for 2-3 seconds until the menu appears.
  3. Scroll down to the Additional Settings section and select IP Settings. DHCP is the default β€” change to Static.
  4. In the DNS 1 and DNS 2 fields, enter the addresses of the selected servers (e.g., 1.1.1.1 and 1.0.0.1 for Cloudflare).
  5. Click Save and reconnect to the network.

If you save your settings, you'll lose the Internet, check:

  • πŸ”„ Correctness of inputs IP-addresses (typos in DNS result in the absence of a connection).
  • πŸ“Ά Wi-Fi signal (weak signal can interrupt connection when changing) DNS).
  • πŸ”’ Router settings (some routers block third-party routers) DNS).

Introduced correctly IP-addresses (without spaces)

Selected "Static IP" mode

Wi-Fi network has a stable signal

Disabled. VPN Proxies (may conflict with the DNS)-->

On some MIUI firmware (especially the POCO M4 Pro and Redmi Note 11), the DNS field may not be available, in which case try an alternative method through the Android Settings app (see Method 3).

Method 2: Change DNS for mobile network (3G/4G/5G)

Changing DNS for mobile internet on Xiaomi is more difficult than Wi-Fi, as MIUI does not provide direct access to these settings. However, there is a workaround through the developer mode and ADB team. This method is suitable for power users and requires connecting the smartphone to the computer.

If you don't want to use ADB, Alternative: Installation of an application DNS Changer from Google Play. It creates local. VPN-tunnel through which the whole DNS-The disadvantage of this method: constant notification of work VPN in the curtain and a slight increase in battery consumption.

Instructions via ADB:

  1. Activate Developer Mode on Xiaomi: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  3. Connect your smartphone to your PC, install it ADB (For example, through Google’s Platform Tools, and execute the command: adb shell settings put global. private_dns_specifier Hostname instead of hostname, specify the address of the DoT server, for example: adb shell settings put global. private_dns_specifier dns.google
  4. Reset the device.

⚠️ Attention: After use ADB shift DNS Mi Cloud may stop working, and to get it back, follow the command: adb shell settings delete global settings private_dns_specifier

For users who don’t want to mess with ADB, Cloudflare’s 1.1.1.1: Faster & Safer Internet application is suitable, which does not require root rights and configures DNS via VPN, bypassing MIUI restrictions:

  • πŸ“± Install the app from Google Play.
  • πŸ”„ Select 1.1.1.1 (or 1.1.1.1 for Families) to block adult content).
  • πŸ”’ Allow creation VPN-Connections (this is necessary for redirection) DNS-request).

πŸ’‘

If the websites of banks (SberBank, Tinkoff) are no longer open after the DNS change, return the standard settings. Some financial institutions block access when using public DNS.

Method 3: Set up a private DNS (DoT) in Android

Starting with Android 9 (which is installed on all modern Xiaomi, including the Redmi A2 and Xiaomi 13 Pro), the system has built-in support for DNS-over-TLS (DoT), which encrypts DNS requests, protecting them from listening.

  1. Open Settings β†’ Connections and Sharing β†’ Private DNS.
  2. Select the host name of the private DNS provider.
  3. Type in the server address. Examples: dns.google - Google DNS (DoT) 1dot1dot1dot1.cloudflare-dns.com - Cloudflare dns.adguard.com - AdGuard DNS

Save.

Once you activate the DoT, the status bar will have a key icon next to the network indicator. DNS-The requests are now encrypted:

  • πŸ”‹ Increased power consumption: DoT encryption can increase battery consumption by 5-10%.
  • 🌐 Not all apps support DoT: some games or instant messengers (e.g. Telegram) ignore system settings DNS.
  • 🚫 Conflicts with VPN: If you are using NordVPN or ProtonVPN, turn them off before setting up DoT.

How do you check that DoT works? Install the DNS Checker app from Google Play and run the test. If the results show the server you selected (e.g. cloudflare-dns.com), the setup was successful.

What happens if the private DNS is not saved?
On some MIUI firmware (especially POCO X3 Pro and Redmi 9T), the field for entering a private DNS can be blocked. Solution: 1. Install an alternative launcher (for example, Nova Launcher). 2. Through it, open Android Settings (not MIUI!), find the Network and Internet section β†’ Private DNS. 3. Enter the server address and save. If this does not work, use the DNS Changer application (see Method 2).

Problems After DNS Change and Solutions

Even after you set up your DNS properly, Xiaomi can have problems, and here are the most common ones and how to fix them:

Problem.Possible causeDecision
No Internet accessIncorrect. IP-address DNS or conflict with VPNCheck DNS addresses, disable VPN, reboot router
Banking applications are not workingBlocking public DNS (Sberbank, VTB)Return the DNS provider or use a VPN
Slow loading of websitesSelected DNS-server overloadedTry another server (e.g. 8.8.4.4 instead of 8.8.8.8)
No updates to apps in the Play MarketGoogle blocks requests from some DNSUse Google DNS (8.8.8.8) or Cloudflare

If after the DNS change you notice that Mi Video or Mi Browser started to work unstable, it is because Xiaomi uses its own servers to optimize traffic.

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find Mi Video or Mi Browser, clear the cache and data.
  3. Reset the device.

⚠️ Attention: On devices with MIUI Global Stable (e.g. Xiaomi) 11T) shift DNS You may lose push notifications from system applications (Mi Home, Mi Fit) to return them, temporarily disable the user's user experience. DNS or add an exception to these apps in battery settings.

Changing DNS to Xiaomi without root rights: an overview of applications

If system methods don’t work, third-party apps will come to the rescue, requiring no root access and are compatible with most Xiaomi devices, including the Redmi Note. 10 Pro and POCO F3. Here's the top.-3 test-driven:

  • πŸ”„ 1.1.1.1: Faster Internet (Cloudflare) is the simplest solution with minimal battery consumption (VPN + DNS).

How to set up AdGuard to block ads:

  1. Install AdGuard from Google Play.
  2. Select the DNS tab and activate AdGuard DNS.
  3. In the settings, enable Filtering malicious sites and Ad Blocking.
  4. Click Connect (the app will create a local VPN).

The advantage of this approach is that you don’t need to change the settings in the system. the application works at the VPN level, so it can be quickly disabled if you need to return a standard DNS (for example, to work with banking applications).

Disadvantages:

  • πŸ”‹ Continuous notice of employment VPN curtained.
  • πŸ“Š Small increase in ping (5–15 ms) due to traffic redirection.
  • πŸ”’ Some applications (such as Zoom) can block the connection when active. VPN.

πŸ’‘

DNS change apps (like 1.1.1.1 or AdGuard) are the best choice for users who switch between networks frequently (Wi-Fi, mobile internet, VPN) and do not require manual adjustment when changing access points.

FAQ: Frequent questions about changing DNS to Xiaomi

Can I change DNS to Xiaomi without Wi-Fi?
Yes, but with limitations (4G/5G) You'll need either ADB (see method 2), app DNS The changer that creates the VPN-Tunnel. System settings for changing DNS mobile data MIUI no.
Why are some websites not working after the DNS change?
This is because some resources (especially banking and government) block access to public services. DNS-Solution: Give it back. DNS ISP for critical sites. Use VPN (For example, ProtonVPN) over the user DNS. Check if content filtering is included in the settings DNS (For example, in AdGuard, turn off the "Family" mode").
How to bring back standard DNS to Xiaomi?
The method depends on how you changed the settings: If via Wi-Fi: go to the network settings and select DHCP instead of static, if through a private DNS: select Automatically in the settings. ADB: Adb shell settings delete global settings private_dns_specifier. If through the application: disconnect VPN notice-curtain.
Will the DNS change affect mobile internet speed?
Yes, but the effect depends on the server you choose and your location. For example: 1.1.1.1 (Cloudflare) is usually faster than the DNS provider in Europe and Asia. 8.8.8 (Google) can be slower in Russia due to the geographical remoteness of the servers. Local DNS (for example, from Yandex - 77.88.8.8) often show better results in speed tests. To check the real impact, use the Speedtest before and after the DNS change.
Can you use DNS-over-HTTPS (DoH) on Xiaomi?
In the native version, MIUI does not support DoH (unlike DoT), but there are workarounds: Install a browser that supports DoH (like Firefox or Brave). In the browser settings, turn on DNS-over-HTTPS and select a provider (Cloudflare, NextDNS). To system-set up DoH, use the Intra app from Jigsaw (Google). Note: The browser's DoH only works for that browser traffic, not for the entire device.