How to set up correctly DNS On Xiaomi devices: from phone to router

If your Xiaomi is slow to open websites, block access to the right services or show connection errors, the problem may lie in the wrong settings. DNS-servers. Default devices use DNS ISPs, who are often unstable, slowing down or censoring content, will be able to manually configure this article. DNS on all types of Xiaomi equipment: smartphones (Redmi, POCO, Mi, routers (Mi Router, AX3600), TVs (Mi) TV) And even smart speakers.

We will not limit ourselves to basic instructions – you will learn which ones are DNS-So servers are better for different tasks (bypassing locks, speeding up the Internet, protecting against viruses), how to check the performance of new settings and what to do if changes do not apply. MIUI, allowable DNS Globally for all applications, not just the browser.

Why we should change DNS Xiaomi

DNS (Domain Name System is like the Internet’s phone book: it converts the addresses of websites (like google.com) into the Internet’s phone book. IP-By default, your Xiaomi uses server addresses. DNS Your Internet Service Provider, and Here’s Why It’s Bad:

  • 🐒 Slow work: Provider services DNS Often overloaded, which makes websites open for 20-30% longer%.
  • 🚫 Blocking: Roskomnadzor and other regulators force providers to block access to certain resources.
  • πŸ›‘οΈ Lack of protection: Standard DNS Do not filter phishing and malicious sites.
  • πŸ“ Data collection: Some providers log your queries for targeted advertising.

After shift. DNS Alternatives (e.g., Cloudflare 1.1.1.1 or Google 8.8.8.8) are notable:

  • ⚑ Pages open faster (especially on weaker Internet).
  • 🌍 Access to blocked resources (if any) DNS Supports circumvention).
  • πŸ”’ Protection against fraudulent websites (in some cases) DNS Threat filtering is built in).

⚠️ Attention: Change DNS he doesn't hide yours IP-address and does not encrypt traffic. VPN reliable DNS.

What are they? DNS-Best Servers to Choose for Xiaomi

Choice DNS Depends on your goal. Below is a table with popular options and their features:

DNS-serverAddress (IPv4)AdvantagesDeficiencies
Cloudflare1.1.1.1, 1.0.0.1The fastest, supports DNS-over-HTTPS, no logsSometimes it blocks legitimate websites due to strict filtering
Google Public DNS8.8.8.8, 8.8.4.4Stable, good speed, reliabilityGoogle collects data about requests (anonymized)
OpenDNS208.67.222.222, 208.67.220.220Filtering malicious sites, family controlCan block torrents and some services
AdGuard DNS94.140.14.14, 94.140.15.15Block ads and trackers at the DNS levelIt can break the work of some sites (for example, with captcha)
Yandex.DNS77.88.8.8, 77.88.8.1Optimized for Russian-language sites, there is a "Safe" modeObeys Russian laws (possible censorship)

For most Xiaomi users, the best choice is 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google).If you want to block ads, try AdGuard. DNS. To circumvent regional restrictions (e.g., to watch Netflix) USA) specialized DNS 104.155.237.220 (but they change frequently).

πŸ“Š What? DNS You are using Xiaomi?
Cloudflare (1.1.1.1)
Google (8.8.8.8)
OpenDNS
AdGuard
Other
No change.

Setting up DNS on Xiaomi smartphones (MIUI)

On Xiaomi smartphones (including Redmi, POCO, Black Shark has two ways to change DNS: via Wi-Fi settings or through "Private" DNS" (DNS-over-TLS. The first method is simpler, but it only works for the current network. The second applies settings globally, but requires Android 9.+.

Method 1: Change DNS specific Wi-Fi

  1. Open the Settings. β†’ Wi-Fi.
  2. Click on your network name (connected) and select Change Network.
  3. Scroll down to the section. DNS and select Static.
  4. Enter addresses. DNS (e.g. 1.1.1.1 and 1.0.0.1).
  5. Save the changes.

⚠️ Important: These settings will only apply to the selected Wi-Fi network (4G/5G) You'll have to use "Private." DNS".

Method 2: Global settings through "Private" DNS" (DNS-over-TLS)

This method is encrypted. DNS-requests and works for all connections (Wi-Fi, mobile network). MIUI 10+ (Android 9 and newer):

  1. Go to Settings β†’ Connections and Sharing β†’ Private DNS.
  2. Select the host name of the private DNS provider.
  3. Enter one of the addresses: 1dot1dot1dot1.cloudflare-dns.com (Cloudflare) dns.google (Google) dns.adguard.com (AdGuard)

Save and restart your smartphone.

Make sure the internet is working.|Open your browser and check the speed of loading sites|Try to go to a blocked resource (for example, some torrent tracker)|Use the service DNS Leak Test for Testing

-->

After the shift DNS The internet is gone, check it out:

  • πŸ”„ Correctness of the entered addresses (typos are not allowed!).
  • πŸ“Ά Stability of the Internet connection itself (try reconnecting to Wi-Fi).
  • πŸ”’ Are there any restrictions on the provider’s side (some block third-party ones) DNS).
What to do if MIUI drop off DNS post-boot?
In some versions MIUI (particularly POCO) setting DNS Resets are due to optimisation of power consumption. Solution: 1. Turn off the Adaptive Battery function in the battery settings. 2. Add the Settings app to auto-start exceptions (Settings) β†’ Annexes β†’ Permits β†’ Autorun. 3. If the problem persists, use applications like DNS Changer from Google Play.

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

Change of change DNS On the Xiaomi router, you automatically apply the new settings to all devices on your network, from smartphones to smart light bulbs. This is convenient if you don't want to set each gadget separately. 4A, AX3600, Mi Router 4C others.

Step 1: Enter the Administrator Panel

Open the browser on your computer or smartphone and type in the address bar:

http://192.168.31.1

Or use the official Mi Wi-Fi app (available for Android and iOS) login with your login and password (by default β€” admin/router sticker).

Step 2: Change DNS customized WAN

On the web interface:

  1. Go to Additional Settings β†’ Internet (WAN).
  2. In the Settings section DNS select Manual input.
  3. Enter the primary and the replacement DNS (e.g. 1.1.1.1 and 8.8.8.8).
  4. Save the settings and restart the router.

In the Mi Wi-Fi app:

  1. Open the Router tab. β†’ Settings.
  2. Choose the Internet β†’ DNS-server.
  3. Turn off the option Automatically and enter addresses manually.

⚠️ Attention: On Xiaomi routers with MiWiFi firmware R3G and older may not have a manual field DNS. In this case, update the firmware through Settings. β†’ Update the software or use an alternative firmware (e.g. Padavan).

πŸ’‘

After the shift DNS On the router, some sites have stopped opening, try using a combination of two different servers (for example, Cloudflare). + This increases stability when one of the DNS.

Setting up DNS on Mi TVs TV Mi Box

On Xiaomi Mi TVs TV (including the Mi models TV 4S, Mi TV Q1, Mi TV A2) and the Mi Box S. DNS The interface may differ depending on the PatchWall version, but the overall logic is maintained.

For Wi-Fi connectivity:

  1. Open Settings β†’ Network and Internet β†’ Wi-Fi.
  2. Select your network and click Change Network (or Additional).
  3. Scroll to the section. DNS and choose manually.
  4. Enter addresses (e.g. 9.9.9.9 β€” Quad9 virus-proof).
  5. Save and reconnect.

For wired connection (Ethernet):

  1. Go to Settings. β†’ Network and Internet β†’ Wired network.
  2. Select Settings IP β†’ Static.
  3. In the fields DNS 1 and DNS 2 Enter the desired addresses.
  4. Save and restart the TV (power button on the remote) β†’ Reboot).

On the Mi Box S, the path is a bit different:

Settings β†’ Network β†’ Ethernet/Wi-Fi β†’ Settings IP β†’ Static β†’ DNS

If the TV is not connected to the Internet after the changes:

  • πŸ”Œ Check the cable (for Ethernet) or the strength of the Wi-Fi signal.
  • πŸ”„ Try alternatives. DNS (For example, 77.88.8.8 from Yandex).
  • πŸ“Ί Update the TV firmware (Settings) β†’ On TV. β†’ Updating the system).

πŸ’‘

Xiaomi TVs with PatchWall 3.0 firmware+ You may need to disable the Smart Connection feature in your network settings to manually DNS applied.

Checking the health of new DNS

Just change. DNS Not enough -- you need to make sure they're actually being used. Here are 3 ways to check:

Method 1: Through the Service DNS Leak Test

  1. Open your browser and go to dnsleaktest.com.
  2. Press Extended Test.
  3. Look at what they are. DNS-The servers are displayed in the results. If there are old addresses, the settings are not applied.

Method 2: Through the Command Prompt (for PC)

If you're setting up DNS on the router and check from the computer:

  1. Open the Command Prompt (Win + R β†’ cmd).
  2. Enter the command: nslookup google.com
  3. In the answer, find the Server line - there will be the used DNS.

Method 3: Through an Android App

Install the app DNS Checker from Google Play:

  • Current DNS-server.
  • Response time (ping).
  • Does the server support DNS-over-HTTPS/TLS.

If the test shows the old ones DNS:

  • πŸ”„ Restart the device or router.
  • πŸ“± On smartphones, check if the settings overlap VPN or a traffic saving application (e.g. Data Saver in the MIUI).
  • πŸ› οΈ On the router, drop the cache. DNS (In the web interface, find the Clear option. DNS Cache).

Frequent mistakes and their solutions

Even after the right setup DNS There may be problems. Let's look at the most common ones:

Problem.Possible causeDecision
The Internet is gone after the DNS changeIncorrect addresses DNS orCheck the correctness of the inputs IP. Try 8.8.8.8 as a backup option.
DNS reset after rebootingOptimizing energy consumption in MIUIDisable the Adaptive Battery for the Settings app or use third-party utilities.
Some sites are not openedDNS-The server blocks the resource or the provider uses a transparent proxyTry another one. DNS (1.1.1.1 instead of 8.8.8.8) or use VPN.
Low Internet speedSelected DNS is geographically or overloadedChoose. DNS with the nearest server (e.g. 77.88.8.8 for Russia).
Settings DNS not stored on the routerOutdated firmware or provider restrictionsUpdate the router’s firmware or contact the provider’s support.

If none of these options worked, try:

  • πŸ”§ Reset network settings on the device (Settings) β†’ System system β†’ Resetting settings β†’ Resetting network settings).
  • πŸ“‘ Connect to another network (e.g. mobile internet instead of Wi-Fi) and check your work DNS.
  • πŸ›‘οΈ Temporarily disable firewall or antivirus (they can block the change) DNS).

FAQ: Answers to Frequent Questions

Can I use it? DNS AdGuard on Xiaomi to block ads?
Yes, AdGuard. DNS (94.140.14.14) blocks advertising and trackers at the level DNS. However, note: Some sites may not work properly (e.g. with CAPTCHA). Advertising in apps (e.g. games) will not be blocked - only in the browser.
How to return standard DNS from the provider?
To roll back changes: On a smartphone: in the settings of Wi-Fi or "Private" DNS" Select Automatic. On the router: in the settings WAN Return the option to Receive DNS On the TV: in the network settings, select DHCP static IP. Then restart the device.
Will Netflix work with the changed ones? DNS Xiaomi?
Depends on the chosen one. DNS. Standard servers like 1.1.1.1 or 8.8.8.8 don’t change your region on Netflix. DNS (For example, 104.155.237.220), but they're often blocked β€” VPN.
Can we set up? DNS Xiaomi smartwatches (Mi Band, Watch)?
No, Xiaomi smartwatches (including Mi Band 7, Xiaomi Watch) S1) They do not support manual adjustment. DNS. They use them. DNS the device to which you are connected (smartphone or router) to change DNS for the watch, set it up on a smartphone or router.
Why do some applications fail after changing the DNS?
Some applications (especially banking or government services) are linked to DNS ISPs and can block access when using third-party servers. Solutions: Add these applications to the exceptions VPN (If you use it, give it back temporarily. DNS ISP to work with problematic applications. Use the "Separate Tunnel" in the settings VPN (If any, the application should be avoided. DNS.