How to completely disable DNS on your Xiaomi phone: 5 proven ways

Why you should turn off DNS on Xiaomi and when you really need it

Domain name system (DNS) β€” It’s like the Internet’s phone book, which converts a user-friendly address (like google.com) into a phone book. IP-On Xiaomi smartphones (including Redmi, POCO mi) DNS-Default servers are often set up automatically via a mobile operator or router, but there are times when it becomes necessary to disable or replace them.

The main reasons why users want to disable or change DNS on Xiaomi are:

  • πŸ”’ Bypassing blocking: some sites are blocked at the level of the Internet DNS (e.g., through Roskomnadzor decisions) Alternative DNS (1.1.1.1 or 8.8.8.8) can help to circumvent these limitations.
  • ⚑ Internet Acceleration: Standard DNS Operators often work slowly. DNS Google or Cloudflare can reduce page loading time by 20 to 50%.
  • πŸ›‘οΈ Increased security: some DNS-servers filter phishing and malicious sites (e.g. 9.9.9.9 from the Quad9).
  • πŸ”§ Technical experiments: network debugging, testing VPN or set up local servers (e.g., Pi-hole).

It is important to understand the difference between shutdowns DNS change DNS-servers, shutdown completely. DNS Make it impossible to access the Internet through domain names – you can only use the Internet. IP-So, it's more likely that you're going to replace it with an address (e.g., 142.250.186.206 instead of google.com). DNS, It's not about shutting down. But in this article, we're going to look at both.

πŸ“Š Why do you want to change? DNS Xiaomi?
Bypassing blocking sites
Speed up the Internet
Enhance security
Set up a local network
Other

Method 1: Turning off automatic DNS in Wi-Fi settings

The easiest way is to change the settings. DNS It's not for a specific Wi-Fi network. DNS It will allow the use of alternative servers. MIUI 14 and MIUI 15 (including HyperOS on new models).

  1. Open the Settings. β†’ Wi-Fi.
  2. Click on your network name (the gear icon next to the connection).
  3. Scroll down to the IP Settings section and select Static (instead of DHCP).
  4. In the DNS 1 and DNS 2 fields, enter alternate addresses, for example: 1.1.1.1 8.8.8.8
  5. Save the changes and reconnect to the network.

If you want to disable DNS completely (which is not recommended), enter non-existent addresses such as 0.0.0.0 into the DNS 1 and DNS 2 fields, but this will cause domain names to stop being allowed and most sites to become unavailable.

Make sure your phone is connected to Wi-Fi|

Check the speed of the Internet via speedtest.net|

Try to open a blocked website (e.g. telegram.org) |

Restart your phone if the changes don’t apply.

-->

⚠️ Note: Some Xiaomi firmware (especially Chinese versions) MIUI) hand-in-field DNS In this case, use Method 3 (change via Private). DNS) or Method 4 (setting up the router).

Method 2: Using Private DNS (Android 9+)

Starting with Android 9 Pie, the system has a private feature DNS, code-encrypting DNS-DNS-over-TLS (DoT) requests are not only changing. DNS-The service is available on all modern Xiaomi smartphones, including the Redmi Note 12, POCO X5 Mi 13.

How to set up:

  1. Go to Settings β†’ Connections and Sharing β†’ Private DNS (or Private DNS).
  2. Select the host name of the private DNS provider.
  3. Enter the address of one of the supported servers: πŸ”Ή dns.google β€” Google Public DNS (filterless) πŸ”Ή 1dot1dot1dot1.cloudflare-dns.com β€” Cloudflare (with filtering malicious sites) πŸ”Ή dns.quad9.net β€” Quad9 (blocking phishing and malware)

Save the settings and restart the phone.

Important: If you have set up a private DNS The Internet has stopped working, check whether your operator or router supports the DoT protocol. Some providers (for example, Beeline or Tele2) can block encrypted data. DNS-request.

DNS-providerAddress for Private DNSFeatures
Cloudflare1dot1dot1dot1.cloudflare-dns.comFast, with a family filter option (family.cloudflare-dns.com)
Googledns.googleStable, but gathers data for analytics
Quad9dns.quad9.netBlocks malicious domains, does not log
AdGuarddns.adguard-dns.comFiltering advertising and trackers

Method 3: Disabling DNS through developer (for power users)

If standard methods don't work (e.g. custom firmware or Chinese versions of MIUI), you can use developer mode, which allows you to manually disable automatic network settings.

Instructions:

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ MIUI Version. Click on MIUI Version 7 times in a row until you become a developer!

Settings

Additionally.

For developers

Not to save mobile data network activity

Reboot the phone.

Then try changing your DNS again through your Wi-Fi settings (see Method 1). If that doesn’t work, use DNS applications to force you to change your DNS (see Method 5).

What to do if the developer mode is not activated?
On some Xiaomi firmware (especially Chinese) activation of the developer mode is blocked. In this case: 1. Install the Activity Launcher app from Google Play. 2. Find the hidden activity of DevelopmentSettings. 3. Manually enable the USB Debugging option and other developer settings.

Method 4: Configure DNS on the router (global solution)

If you want to change the DNS for all devices on the network (including Xiaomi, laptops, Smart TVs), the easiest way to do it is at the router level.

How to set up:

  1. Open the router control panel (usually at 192.168.1.1 or 192.168.0.1).
  2. Log in (logins/passwords are indicated on the router sticker by default).
  3. Find the Internet (or WAN, DHCP) section.
  4. In the Primary DNS and Secondary DNS fields, enter the addresses of alternative servers (e.g., 1.1.1.1 and 1.0.0.1).
  5. Save the settings and restart the router.

⚠️ Note: On some routers (for example, from Rostelecom or MTS) settings DNS They may be reset after a firmware update. To avoid this, link the router to the manufacturer's account and disable automatic updates.

Method 5: Applications for Forced DNS Change

If the system methods don't work, you can use third-party applications that allow you to change the DNS at the VPN level, bypassing the limitations of MIUI.

AnnexReferenceFeatures
1.1.1.1: Faster InternetGoogle PlaySimple interface, WARP support (VPN + DNS)
DNS ChangerGoogle PlayDNS-over-HTTPS (DoH) support, DNS speed test
NextDNSGoogle PlayAdvanced filtering (blocking ads, trackers)

How to use (in example 1.1.1.1):

  1. Download and install the app from Google Play.
  2. Launch it and press Connect (the app will create it) VPN-connection).
  3. Select Only DNS mode (if you only need to change DNS without VPN).
  4. Alternatives can be selected in the application settings DNS-server.

πŸ’‘

If, after installing the application, DNS The Internet is no longer working, check if your antivirus is blocking your system. VPN-For example, Avast or Kaspersky may consider such applications suspicious.

The solution to the problem: DNS is not changing or the Internet is gone

Sometimes, after a DNS change, the Internet stops working or the settings don't apply.

  • πŸ”„ DNS Not saved after rebooting: The reason: MIUI It resets the network settings. Solution: Use Private. DNS (Method 2) or configure the router (Method 4).
  • 🚫 Websites are not opened after the change DNS: Reason: Blocking alternatives DNS Solution: Try DNS-over-HTTPS (DoH) through applications like DNS Changer.
  • ⚠️ Error "Network without Internet access": Reason: incorrectly stated static IP or DNS. Solution: Return the settings DHCP and re-set the setup.
  • πŸ“΅ Mobile Internet (4G/5G) not working after shift DNS: Reason: DNS For mobile data, you can customize it separately. Solution: Use Private DNS (It also works for the mobile network).

If none of these methods helped, check:

  • πŸ”Œ Is your phone connected to the internet (try another Wi-Fi or mobile data).
  • πŸ”’ Does the antivirus or firewall block network settings.
  • πŸ“± Is firmware updated? MIUI Up to the latest version (older versions have bugs with the DNS).

πŸ’‘

If after all the manipulations, the Internet still doesn't work, reset the network settings: Settings β†’ System β†’ Reset β†’ Network settings Reset. This will return all network settings to factory settings, but will not affect personal data.

FAQ: Frequent questions about DNS on Xiaomi

Can I turn off DNS for individual applications only?
No, at the Android level and MIUI can't be assigned DNS It's for different applications, but it can be used: πŸ”Ή VPN-applications with split tunneling function (e.g. ProtonVPN). πŸ”Ή Firewall applications like NetGuard that block network access for selected applications.
How to check which DNSs are used on Xiaomi?
There are several ways: through the app DNS Checker (available on Google Play). via Termux (terminal emulator): ping -c 1 google.com nslookup google.com The output will indicate the used DNS-server.
Will Telegram work after the DNS change?
Yes, in most cases Telegram will work better, as many blockings of this messenger in Russia and other countries are implemented at the level of the Internet. DNS. Recommended DNS Telegram: πŸ”Ή 1.1.1.1 (Cloudflare) πŸ”Ή 8.8.8.8 (Google) πŸ”Ή 78.157.42.100 (If Telegram still doesn’t work, try to turn on it. Proxy/Socks5 messenger settings.
Can you turn off DNS on Xiaomi without root rights?
Yes, all of the methods described in this article (except for manual editing of /etc/resolv.conf) work without root, but full control of DNS (for example, to block ads at the system level) may require superuser rights and applications like AdAway.
Why do some websites open more slowly after the DNS change?
It's connected to: πŸ”Ή Geographical location DNS-servers: if you use 8.8.8.8 (Google) and are in Russia, requests will go to the US, which increases ping. πŸ”Ή Caching: Some DNS-Servers (such as Cloudflare) cache responses more aggressively than others, which can slow down the update of records. πŸ”Ή Blocking the provider: if your operator blocks alternatives DNS, You may have a delay in connection. Solution: select DNS-server that is geographically closer to you (e.g. 77.88.8.8 for Russia from Yandex).