Setting up DNS on Xiaomi devices: from smartphone to router

Change of settings DNS On Xiaomi devices, it's one of the most effective ways to improve Internet speed, bypass regional locks, or improve network security. Despite the seeming complexity, the procedure takes no more than 5 minutes, if you know the nuances of the interface. MIUI, HyperOS or firmware routers Mi Router. in this article we will analyze all possible scenarios: from smartphones Redmi and POCO to the Mi smart TVs TV and routers Xiaomi AIoT Router.

It is important to understand that DNS (Domain Name System is a kind of β€œphone book” of the Internet that converts domain names (such as google.com) into a β€œphone book” of the Internet. IP-By default, your operator or provider uses its DNS-servers that are not always optimal in speed or security. DNS Google, Cloudflare, or AdGuard can significantly improve the experience of the web – but only if you set up the right setup.

Why do we change? DNS on Xiaomi devices?

The main reasons are three: speed, security, and access to blocked content. Let's go through each one in more detail.

First, speed up the loading of websites. DNS-Your ISP's servers may be overloaded or physically located far away from you, for example, if you are in Moscow, and if you are not in the United States, you may be unable to access your servers. DNS-The server is located in Yekaterinburg, each request will last longer. DNS (For example, Cloudflare's 1.1.1.1 servers often have servers closer to the user and are optimized for quick answers.

Second, protection against phishing and malicious sites. DNS-servers (e.g. AdGuard) DNS or Yandex.DNS in family mode) automatically block access to fraudulent resources, this is especially true for Xiaomi devices, where applications from third-party sources are often installed.

Third, bypassing locks. Some services (e.g. Netflix, Disney)+ Telegram or Telegram in certain countries may not be available through standard DNS. Using alternative servers, you can access content that would otherwise be blocked.

  • πŸš€ Speed: Reduced response time DNS Up to 50% according to DNSPerf tests).
  • πŸ›‘οΈ Security: Blocking phishing and malicious sites at the level DNS.
  • 🌍 Availability: Bypassing geo-blocking for streaming services.
  • πŸ“± Universality: Settings apply to all applications on the device.

⚠️ Attention: Change DNS On the Xiaomi router, it will affect all connected devices, including smart appliances (lamps, robot vacuum cleaners, etc.) If you use Mi Home or Google Home, make sure that new ones are available. DNS Do not block access to the management servers.

How to change DNS on a Xiaomi smartphone (MIUI/HyperOS)

On smartphones Xiaomi, Redmi and POCO setup DNS It depends on the firmware version. MIUI 12-14 And the new HyperOS interface is a little different, but the general logic is still there.

For MIUI 12/13/14:

  1. Open the Settings. β†’ Wi-Fi.
  2. Click on your network name (near the connection tick).
  3. Scroll down and select Change Network (or Additional).
  4. In the IP Settings section, select Static (instead of DHCP).
  5. Fields DNS 1 and DNS 2 become active – enter addresses there (e.g. 8.8.8.8 and 8.8.4.4 for Google) DNS).
  6. Save the changes.

For HyperOS (New Interface):

  1. Go to Settings β†’ Connections and Sharing β†’ Wi-Fi.
  2. Slip on the current network and select Edit (pencil icon).
  3. Activate the switch Additional settings.
  4. In the section IP-Select the settings manually.
  5. Fill in the fields. DNS 1 and DNS 2 (e.g. 1.1.1.1 and 1.0.0.1 for Cloudflare).
  6. Press Save.

Write down the current DNS settings (in case of rollbacks)

Check the stability of the Wi-Fi connection

Choose alternatives DNS-servers

Reboot your smartphone after the changes (recommended)

-->

If, after the change, DNS The internet has stopped working:

  1. Make sure the addresses are entered correctly (without spaces or typos).
  2. Try another set. DNS (for example 9.9.9.9 from Quad9).
  3. Return the settings to DHCP (automatic).
  4. Restart the router and smartphone.

⚠️ Note: Some Xiaomi firmware after the change DNS Mi Account services (e.g., note synchronization or cloud storage) may be lost due to the blocking of Chinese accounts. DNS-The servers that Xiaomi's ecosystem uses. Solution: add to the list DNS 223.5.5.5 (AliDNS) server as third.

The best. DNS-servers for Xiaomi in 2026

Choice DNS It depends on your goals: speed, security or bypassing locks. We tested popular options on Xiaomi devices and ranked them according to three criteria: response time, reliability and additional features.

DNS-serverAddresses (IPv4)Average response time (MS)FeaturesRecommendation
Cloudflare DNS1.1.1.1, 1.0.0.18-12No logs, DDoS protection, family filterπŸ† The best balance of speed and safety
Google DNS8.8.8.8, 8.8.4.410-15High reliability, but collects data⚠️ It is good for speed, but not for privacy.
AdGuard DNS94.140.14.14, 94.140.15.1512-18Blocking Ads and Trackers at DNS LevelπŸ›‘οΈ Optimal for safety
Quad99.9.9.9, 149.112.112.11215-20Blocking malicious domains, no logsπŸ”’ Good for protection against viruses
Yandex.DNS77.88.8.8, 77.88.8.15-10 (for Russia)Family filter, optimized for RunetπŸ‡·πŸ‡Ί The best choice for Russian users

To check the speed DNS You can use applications on your Xiaomi device:

  • πŸ“± DNS Checker (available on Google Play).
  • 🌐 DNS Benchmark (from Benchmark) GRC, PC).
  • πŸ“Š Network Analyzer (Shows response time) DNS).

Cloudflare (1.1.1.1)

Google (8.8.8.8)

AdGuard (ad blocking)

Yandex.DNS

The other (I'll write in the comments)

-->

Critical information: If you are using VPN on the Xiaomi device, the change DNS Wi-Fi may not work in the settings – many VPN-providers redefining DNS To get around this, set up DNS directly in the appendix VPN (If you have this option, use an app like DNS Changer that is forced to change DNS system-level.

Setting up DNS on Xiaomi routers (Mi Router, AIoT Router)

Change of change DNS Xiaomi router is more efficient than individual devices, as settings apply to all home traffic.This is especially useful if you have a lot of smart tech (Mi Home, Yeelight, etc.) that does not support manual setup. DNS.

Instructions for Mi Router 4A/4C/5G AIoT Router AX3600/AX6000:

  1. Connect to the router via Wi-Fi or cable.
  2. Open your browser and go to 192.168.31.1 (or miwifi.com).
  3. Log in (login and password from the sticker on the router).
  4. Go to Additional settings β†’ Network β†’ LAN settings.
  5. In the field DNS-server enter primary and secondary addresses (e.g., 1.1.1.1 and 8.8.8.8).
  6. Save the settings and restart the router.

For new models with HyperOS (e.g. Xiaomi Router) BE7000):

  1. Open the Mi WiFi app on your smartphone.
  2. Select your router and go to Settings β†’ Local area network.
  3. Tap it on. DNS-server and select manually.
  4. Enter the addresses and save.
What to do if after the change DNS The router does not work Mi Home?
If Xiaomi smart devices (lamps, vacuum cleaners, sensors) stopped responding after the change DNS, The problem is blocking access to Xiaomi servers in China. Solution: 1. DNS 223.5.5.5 (AliDNS) as third. 2. Or go back to automatic DNS Configure alternative servers only on individual devices (smartphones, PCs).

Advantages of customization DNS router:

  • πŸ“Ά Uniform rules for all devices – you do not need to configure each gadget separately.
  • πŸ”„ Automatic application to new devices connected to the network.
  • πŸ›‘οΈ Centralized Protection – Blocking malicious sites at the network level.

⚠️ Note: On Xiaomi routers with firmware for the Chinese market (for example, models with suffix) CN) There may be no manual adjustments. DNS. In this case, you will need firmware for the global version or the use of alternative firmware (for example, OpenWRT).

Setting up DNS on Mi TVs TV Mi Box

On smart TVs Xiaomi Mi TV (series A2, P1, Q2) and the Mi Box S process of changing DNS It's a little bit more complicated because of the limited interface, and there are two ways to do this: through network settings or through an application. DNS Changer (requires Google Play, available only on the Mi Box).

Method 1: Via Wi-Fi settings (for all models)

  1. Open Settings β†’ Network and Internet β†’ Wi-Fi.
  2. Select your network and click Change Network (or Additional Settings).
  3. In the IP Settings section, select Static.
  4. Fill in the fields. DNS 1 and DNS 2 (e.g. 1.1.1.1 and 1.0.0.1).
  5. Save and restart the TV.

Method 2: Through the application DNS Changer (for Mi Box S only)

  1. Install the DNS Changer app from Google Play.
  2. Run it and select Custom. DNS.
  3. Enter addresses (e.g. 8.8.8.8 and 8.8.4.4).
  4. Click Apply and confirm the change.

If, after the change, DNS on Mi TV Apps (such as Netflix or YouTube) have stopped working, try it:

  • πŸ”„ Reboot the TV (disconnect from the network for 30 seconds).
  • πŸ“Ά Return the settings DNS Automatically and repeat the procedure.
  • πŸ› οΈ Update the TV firmware (in Settings) β†’ On TV. β†’ Updating the system).

πŸ’‘

If it's Mi. TV Do not open websites through the browser after the change DNS, try to use DNS AdGuard (94.140.14.14) optimized to work with modern web standards and often solve content display problems.

Problems and Solutions in Setup DNS Xiaomi

Even with the right setup DNS We've collected the most common mistakes and ways to solve them.

Problem.Possible causeDecision
The Internet is gone after the DNS changeIncorrect DNS addresses or blocking by the providerCheck the typo addresses. Try 8.8.8.8 or 1.1.1.1. If it doesn't work, return it. DHCP.
Xiaomi services (Mi Cloud, themes) are not workingBlocking Chinese DNS-serverAdd 223.5.5.5 as the third DNS Use Cloudflare with 1.1.1.3 disabled (family filter).
Slow loading of websitesSelected DNS-server far or farTest the speed through DNS Benchmark and choose the fastest server for your region.
Streaming services are not working (Netflix, Disney+)DNS Does not support bypassing geo-blockingUse specialized DNS for streaming (e.g. 103.86.98.98 for Smart) DNS Proxy).
Smart devices Mi Home turned offDNS Blocking access to Xiaomi servers in ChinaAdd 223.5.5.5 to the list DNS Or set exceptions for.mi.com and.xiaomi.com domains.

If none of the solutions worked, try:

  1. Reset network settings on the device (Settings) β†’ System system β†’ Reset β†’ Resetting network settings).
  2. Check if your provider is blocking alternatives. DNS (relevant to some corporate or public networks).
  3. Use it. VPN Custom-optional DNS (For example, ProtonVPN or Windscribe).

πŸ’‘

If after all the manipulations, the problem remains, the most likely cause is a lock-in at the provider level, in which case the only solution is to use the system. VPN user-supported DNS.

Additional tools for working with DNS Xiaomi

For advanced users who want to manage flexibly DNS-Instructions: There are several useful tools:

  • πŸ“± Annex DNS Changer – allows you to switch between DNS-profiles, test speed and block ads.

To install Pi-hole or NextDNS on Xiaomi router:

  1. Register on the NextDNS website and get your own unique DNS-address.
  2. In router settings (192.168.31.1) enter this address in the field DNS-server.
  3. Set up filtering rules in the NextDNS personal account.

If you use Termux for testing DNS, Here are some useful teams:

Checking the current DNS


nslookup google.com




DNS speed test (requires digging installation)



dig @1.1.1.1 google.com




dig @8.8.8.8 google.com




Checking for DNS leaks



curl https://www.dnsleaktest.com/

FAQ: Frequent questions about setting up DNS on Xiaomi

❓ How to bring back the standard DNS post-mortem?
To return the default settings: On your smartphone: go to Wi-Fi Settings β†’ Change the network β†’ Settings IP and choose DHCP. On the router: in the web interface (192.168.31.1) delete manually entered DNS And save the settings. DNS You will be automatically assigned by your provider.
❓ Can you set up different things? DNS for different devices on the same network?
Yes, but only if: Set up DNS individually on each device (smartphone, PC, TV) Use a router with support DHCP Reservations and binding DNS specific MAC-Addresses (e.g. OpenWRT firmware on Xiaomi Router) The standard firmware of Xiaomi routers does not support flexible configuration. DNS single-arrange.
❓ Why not after the shift? DNS Some websites open more slowly?
This may be related to: Caching DNS β€” The old records are still stored in the cache of the device or browser. DNS ipconfig /flushdns (on a PC) or restart the device. Geographically remote server - selected DNS Solution: Choose a server with less ping (check through through the DNS Benchmark.Blocking. CDN β€” some DNS (For example, AdGuard can block content delivery networks (for example, Cloudflare). CDN). Solution: Add an exception to the domain of the problematic site.
❓ How to check which ones DNS They are used on my Xiaomi device?
There are several ways: On Android: Install Network Info II β€” It'll show you the current ones. DNS On PC: In the command line, run nslookup google.com - the answer will indicate the used DNS. Online: Go to the site DNS Leak Test - He'll show everything DNS-servers that use your connection.
❓ Can you use DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) on Xiaomi?
Yes, but with reservations: On smartphones: In MIUI 12+ HyperOS has built-in support for private DNS (DoT. Path: Settings β†’ Connections β†’ Private DNS. Select the hostname of the provider and type, for example, dns.google (for Google). DNS) or 1dot1dot1dot1.cloudflare-dns.com (On routers: Xiaomi's standard firmware does not support DoH/DoT. You will need alternative firmware (such as OpenWRT) or customization on client devices. DoH/DoT code DNS-requests that enhance privacy but may conflict with certain services (e.g. parental controls).