Have you ever experienced slow internet on Xiaomi, even though the rate should be high? Or maybe some sites open with an error while other devices are working fine? DNS-servers β they are responsible for converting domain names (for example, google.com) into IP-Addresses that are understandable to devices. Incorrect or slow. DNS They can slow down pages, block access to resources, or even put you at risk of data leaks.
In this article, we will discuss how to find out the current DNS-servers on any Xiaomi device β whether it is a smartphone MIUI, Android TV TV You can also learn to check which router is Mi Router. DNS These are used by default, and if necessary, change them to faster or more secure ones (for example, 1.1.1.1 from Cloudflare or 8.8.8.8 from Google.
What is DNS and why should you check it for Xiaomi?
DNS (Domain Name System is like the Internet's phone book. When you type in a browser a website address, your device is accessing the Internet. DNS-server to find out about it IP-The speed and reliability of this server determines how fast the page opens.
On Xiaomi devices DNS They can be set up automatically (they are issued by the provider) or manually (if you or the application has changed them). DNS manifest:
- π Websites are loaded or not opened at all (mistake) DNS_PROBE_FINISHED_NXDOMAIN).
- π Some services are not working (for example, Netflix or YouTube).
- π‘οΈ Suspicious redirects to advertising pages.
- π΅ Slow work of messengers (Telegram, WhatsApp).
Providers often use their own DNS-servers that may be overloaded or censored, such as in some regions through standard DNS Torrents or social media are blocked. On Xiaomi devices with firmware MIUI Global sometimes occurs when a bug DNS The system is being dumped on Chinese servers (e.g. 114.114.114.114), which slows access to Western resources.
Method 1: Check DNS on a Xiaomi smartphone (MIUI)
If you are using a Redmi smartphone, POCO or Xiaomi with a shell MIUI, know current DNS You can use Wi-Fi or mobile settings. All versions are suitable. MIUI 12-14 and HyperOS.
For Wi-Fi:
- Open the Settings. β Wi-Fi.
- Click on the name of your network (near the tick).
- Scroll down to the DNS block. Current servers (e.g. 8.8.8.8 and 8.8.4.4) will be listed here. If the field is empty or is Automatic, then the provider's DNS is used.
For mobile Internet (3G/4G/5G):
- Go to Settings. β SIM-maps and mobile networks β [Yours. SIM] β Access points (APN).
- Select an active APN and look at the DNS 1 and DNS 2 fields. If they are not filled, the DNS assigns the carrier.
Check the network connection |Reboot your smartphone |Reboot your MIUI to the latest version |Reset your network settings to Settings β Memory β Reset your settings β Reset your network settings
-->
On some MIUI firmware (especially Chinese ones), the DNS may be hidden, in which case use the alternative methods described below.
Method 2: Commands for DNS verification via terminal (ADB)
If you want detailed data on network settings, including DNS, you can use ADB (Android Debug Bridge), which works on all Xiaomi devices, but requires a connection to a computer.
First, turn on the USB debugging:
- Go to Settings. β The phone.
- Click 7 times on the MIUI version to activate the developer mode.
- Return to Settings β Additional β For developers and enable USB debugging.
Now connect your smartphone to your PC and execute the command in the terminal (or PowerShell on Windows):
adb shell getprop | grep dnsYou'll see a conclusion like this:
net.dns1: [1.1.1.1]
net.dns2: [1.0.0.1]That's what you're doing. DNS-If the command line returns empty values, then the default settings are used (from the provider).
π‘
To avoid connecting your smartphone to your PC, install the Termux app from F-Droid and execute the same command directly on your device.
Method 3: Check DNS on Xiaomi TVs (Android TV)
Xiaomi Mi TV or Redmi Smart TVs also use DNS to access the Internet, and you can find them through the settings menu, but the interface is different from smartphones.
Instructions:
- On the remote, press Settings.
- Select Network & Internet β Wi-Fi (or Ethernet if connected by cable).
- Click on your network name β Advanced settings.
- Scroll to DNS. Servers (or Automatic if assigned automatically) will be listed here.
On some models (e.g. Mi TV Q1 or Redmi TV A2), the path may be slightly different:
- πΊ Settings β Device Preferences β Network β [Your network] β IP settings.
- π§ In the section IP Switch to Static to see the current settings DNS (Even if you donβt save the changes).
What to do if your DNS settings are blocked
If the TV is connected to the Internet via a router, it can use the router's DNS, not the provider. To find out the exact values, check the settings on the router itself (see next section).
Method 4: How to find out DNS on Xiaomi routers (Mi Router)
Xiaomi Mi Router (including Mi Router 4A, AX3600, AX6000) not only allows you to see the current DNS, but also configure them for all connected devices. This is useful if you want all gadgets on the network to use, for example, Cloudflare DNS for acceleration or AdGuard DNS for blocking ads.
Instructions:
- Connect to your routerβs Wi-Fi network.
- Open your browser and enter 192.168.31.1 (or miwifi.com).
- Log in (login and password from the router).
- Go to Additional settings β Network β LAN.
- In the DHCP Settings block, find the Primary DNS and Secondary DNS fields, and here are the servers that the router gives to all devices on the network.
If the fields are empty, the router will send the DNS to the devices from the provider, and to change this, type manually, for example:
- π 1.1.1.1 (Cloudflare) and 1.0.0.1.
- π 8.8.8.8 (Google) and 8.8.4.4.
- π‘οΈ 94.140.14.14 (AdGuard DNS) plug-in.
| DNS-server | Advantages | Deficiencies |
|---|---|---|
| 1.1.1.1 (Cloudflare) | The fastest, supports DNS-over-HTTPS (DoH) | Can block some torrent trackers |
| 8.8.8.8 (Google) | Stable, rarely falling | Google collects data about requests |
| 9.9.9.9 (Quad9) | Blocking malicious websites | Sometimes slower than Cloudflare |
| 76.76.76.76 (Yandex) | Optimized for Runet | Censorship of some Western resources |
Cloudflare (1.1.1.1)|Google (8.8.8.8)|AdGuard (94.140.14.14)|Provider (by default)|Other-->
When you change the DNS on your router, restart it so that the settings apply to all devices. Note: if you have manual DNS on your smartphone or TV, it will take precedence over your router settings.
Method 5: Using third-party applications to analyze DNS
If you need to not only know the DNS, but also test its speed or security, use specialized applications that show the real servers your device uses, even if they are hidden in the settings.
Top.-3 Android:
- π DNS Changer β shows the current DNS It allows you to change them without manual input.
- π‘οΈ 1.1.1.1: Faster Internet (from Cloudflare) - Testing speeds DNS and offers the best.
- π Network Analyzer β displays all network parameters, including DNS, ping and routing.
Example of Network Analyzer:
- Install the app from Google Play.
- Open the LAN tab.
- Press. DNS β The app will show you all active DNS-servers, including backup.
These apps are also useful if you suspect your traffic is being redirected through suspicious servers (such as when using public Wi-Fi).
π‘
Third-party apps may show DNS that are not visible in standard MIUI settings, especially if they are assigned via a VPN or proxy.
Method 6: Verify DNS through a computer (if Xiaomi is connected to the network)
If your Xiaomi device is connected to the same network as your computer (for example, via a Wi-Fi router), you can recognize its DNS using the command line or specialized utilities.
For Windows:
- Open the Command Prompt (Win + R β enter cmd).
- Execute the command: nslookup mi.com In the output will be the Server string: [IP-address. DNS-server that is being used.
For macOS/Linux:
- Open the Terminal.
- Do: scutil --dns | grep nameserver or cat /etc/resolv.conf
These commands will show the DNS your computer uses. If a Xiaomi device is connected to the same router and doesn't have its own DNS settings, the servers will be the same. However, if a smartphone or TV has custom DNS, they may differ.
How to find out the DNS of a particular device on the network
Frequent DNS Issues on Xiaomi and How to Solve Them
Even after you have tested your DNS, you may have problems, and here are the typical situations and ways to fix them:
β οΈ Attention: If after the shift DNS Some sites (e.g., banking or government) have stopped opening, and you can return settings to Automatic. DNS (e.g. 1.1.1.1) for safety reasons.
- π DNS Do not change: Restart your device or reset your network settings in Settings β Memory. β Resetting settings β Resetting network settings.
- π« Websites are not opened: Check if yours is blocking them DNS (For example, AdGuard. DNS You can filter content. You can try another server.
- π’ Slow Internet: Test the speed DNS assisted DNS Benchmark (Windows) or DNS Changer (Android) and choose the fastest.
- π Suspicious activity: If DNS Changed by themselves, check the device for viruses (for example, using Malwarebytes).
On Xiaomi routers, there is sometimes a bug when DNS settings are reset after updating the firmware.
- Go to the router control panel (192.168.31.1).
- Go to the Additional settings β Network β WAN.
- Check if there are any old or incorrect DNSs (e.g. 0.0.0.0).
β οΈ Attention: On some firmware MIUI China (CN) change DNS This can cause a connection error to Xiaomi servers (for example, Mi Cloud or Mi Home will not work). DNS from AliDNS: 223.5.5.5 and 223.6.6.6.