Xiaomi
Set Up a Private DNS Server auf Xiaomi
On Xiaomi phones running MIUI, DNS resolution defaults to whatever your mobile network or Wi-Fi router provides. This setting is called Private DNS, and it ships set to Automatic on most devices.
Automatic mode simply uses the DNS server broadcast by your current network. That works for basic browsing but gives you no filtering, no encryption, and no consistency when you switch between Wi-Fi and mobile data. Setting a private DNS provider hostname forces every app to resolve domains through that one server instead, which matters for ad blocking, malware filtering, or avoiding a provider that logs your queries.
To change it, open Settings ➔ Connection & sharing ➔ Private DNS. Pick Automatic to stay with the network default, or choose Private DNS provider hostname, type in the hostname of your chosen DNS provider, and tap Save.
Not every Xiaomi model exposes this menu. Older MIUI builds or certain regional firmware can hide the option or lock it permanently to Automatic. If Private DNS is missing on your device, a firmware update sometimes adds it later; otherwise a VPN-based DNS app is the only workaround.
Entering an invalid or unreachable hostname blocks all internet access until you switch back to Automatic or Off, so verify the address before saving.
