Skip to content

smokedzn/xiaomi-dns-filter

 
 

Repository files navigation

Xiaomi DNS Blocklist/Whitelist

In this repository you'll get updated blocklists and allowlists to minimize the collected data via DNS-Filtering (Tracking, Bloatware, (Personalized) Ads, Telemetry etc. and Allowlists for certain Apps or Firmware-Updates) on Xiaomi devices, including Redmi and POCO.

Getting Started

Important (as of 2024-11-12)

This List currently isn't being actievly monitored, nor actievly edited. If you see new DNS-Queries which might be related to Xiaomi, please start using an updated Blocklist or contribute by adding entries via PR.

PiHole

Simply add the raw list(s) in PiHole Settings/Blocklists and click save and update.

NextDNS

Add the Native Tracking Protection Blocklist for Xiaomi under the Privacy Tab. Add the Domains, listed under "Denylist" and "Allowlist" from xiaomi-dns-blocklist/Xiaomi_NextDNS.txt

Prerequisites

Cloud Solutions:

NextDNS Setup (Currently Recommended)

ControlD Setup (Missing List)

AdGuard DNS Setup (Missing List)

Local-Network Solutions (Recommended):

PiHole Installation

Lists

xiaomi_pihole_block.lst

Manually collected DNS entries, in combination with parts of the following Blocklists:

xiaomi_pihole_allow.lst

Self-tested collected DNS Whitelist entries to improve compability.

Xiaomi_NextDNS.txt

Consider using HaGeZi's - Multi PRO++ and unknownFalleN's Xiaomi DNS Blocklist in combination with my Denylist/Allowlist instead of adding only all manual picked domains. For more information, take a look at the Denylist.

Manually collected DNS entries, in combination with parts of the following Blocklists:

Whitelist (Semi-Outdated)

A collection of domains for the whitelist. These should be set manually as needed in NextDNS or PiHole. You can also just import the list xiaomi_pihole_allow.lst (PiHole only)

Xiaomi account management

account.xiaomi.com

System app updater

global.market.xiaomi.com

Find my Device

us.find.api.micloud.xiaomi.net
account.xiaomi.com
find.api.micloud.xiaomi.net

Updates of the Firmware

update.miui.com
update.intl.miui.com
api.io.mi.com

Mi Fitness (Compability for Mi Band Firmware and Watchfaces/Band Displays)

mcc.intl.inf.miui.com
cdn.awsde0-fusion.fds.api.mi-img.com

Special thanks to:

Authors

  1. unknownFalleN - Initial work and updates - unknownFalleN
  2. smokedzn - Bugfixes and extended Updates - .smokedzn

License

This project is licensed under the GNU Lesser General Public License v3.0 - see the LICENSE file for details.

Advice

No liability is assumed for completeness and/or correctness.

Releases

No releases published

Packages

No packages published