How to find out DNS on Xiaomi devices: from smartphone to router

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:

  1. Open the Settings. β†’ Wi-Fi.
  2. Click on the name of your network (near the tick).
  3. 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):

  1. Go to Settings. β†’ SIM-maps and mobile networks β†’ [Yours. SIM] β†’ Access points (APN).
  2. 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:

  1. Go to Settings. β†’ The phone.
  2. Click 7 times on the MIUI version to activate the developer mode.
  3. 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 dns

You'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:

  1. On the remote, press Settings.
  2. Select Network & Internet β†’ Wi-Fi (or Ethernet if connected by cable).
  3. Click on your network name β†’ Advanced settings.
  4. 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
On some Xiaomi TVs with China firmware (CN), the DNS menu may be hidden. In this case, try: 1. Reset network settings in Settings β†’ Device Preferences β†’ Reset β†’ Network reset. 2. Use a router with a forced DNS (DHCP setting on the router). 3. Set an alternative launcher (e.g., ATV Launcher) to access hidden settings.

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:

  1. Connect to your router’s Wi-Fi network.
  2. Open your browser and enter 192.168.31.1 (or miwifi.com).
  3. Log in (login and password from the router).
  4. Go to Additional settings β†’ Network β†’ LAN.
  5. 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-serverAdvantagesDeficiencies
1.1.1.1 (Cloudflare)The fastest, supports DNS-over-HTTPS (DoH)Can block some torrent trackers
8.8.8.8 (Google)Stable, rarely fallingGoogle collects data about requests
9.9.9.9 (Quad9)Blocking malicious websitesSometimes slower than Cloudflare
76.76.76.76 (Yandex)Optimized for RunetCensorship 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:

  1. Install the app from Google Play.
  2. Open the LAN tab.
  3. 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:

  1. Open the Command Prompt (Win + R β†’ enter cmd).
  2. 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:

  1. Open the Terminal.
  2. 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
If you have access to a router, go to its control panel and find a list of connected devices (usually in the section below). DHCP Clients or Connected Devices, near the IP-The address of the Xiaomi device can also be displayed DNS. However, not all routers show this information.

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.

  1. Go to the router control panel (192.168.31.1).
  2. Go to the Additional settings β†’ Network β†’ WAN.
  3. 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.

FAQ: Answers to Frequent Questions

Can you use Google DNS or Cloudflare on Xiaomi in Russia?
Yes, these DNSs work in Russia, but some sites (e.g., government or banking) may block access from foreign DNSs for security reasons. If you encounter a problem, try 76.76.76.76 (Yandex DNS) or return settings to Automatic.
How to reset DNS on Xiaomi to factory?
On your smartphone: go to Settings β†’ Memory β†’ Settings Reset β†’ Network Settings Reset. On the router: Go to Additional Settings β†’ System β†’ Reset and Reset β†’ Settings Reset (all devices will be disconnected from Wi-Fi).
Why did some applications stop working after the DNS change?
Some applications (such as Mi Fit or Mi Home) are tied to Chinese servers and may not work with Western DNS. In this case, add AliDNS servers: 223.5.5.5 and 223.6.6.6 to the list of DNS.
How to check which DNS is a specific application on Xiaomi?
Install PCAPdroid (root rights required) or NetGuard. They will show you which ones are available. DNS-The alternative is to use an adb logcat with a keyword filter. DNS.
Can I configure DNS separately for Wi-Fi and mobile?
Yes, on Xiaomi smartphones, the DNS settings for Wi-Fi and mobile Internet are set independently, for example, in Wi-Fi you can specify 1.1.1.1, and in the mobile network you can leave automatic.