Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PiHole DNS Blocklist Xiaomi
# This is a DNS blocklist for the PiHole (https://pi-hole.net/) to block unnecessary connections to Xiaomi.
#
# License: GPL-3.0-or-later
#
# New Git Repo https://github.com/unknownFalleN/xiaomi-dns-blocklist
# There I will also add further lists e.g. all subdomains.
# Please use the list from the new repo, I will not maintain both lists and delete them here sometime
#
# Please help to collect domains!
abtest.mistat.intl.xiaomi.com
abtest.mistat.xiaomi.com
account.preview.n.xiaomi.net
account.xiaomi.com
ad1.xiaomi.com
ad.mi.com
adv.sec.intl.miui.com
adv.sec.miui.com
ad.xiaomi.com
api.accelerator.intl.miui.com
api.account.preview.n.xiaomi.net
api.account.xiaomi.com
api.ad.intl.xiaomi.com
api.admob.xiaomi.com
api.ad.xiaomi.com
api.chat.xiaomi.net
api.comm.miui.com
api.cupid.ptqy.gitv.tv
api.developer.xiaomi.com
api.device.xiaomi.net
api.d.xiaomi.com
api.hybrid.xiaomi.com
api.io.mi.com
api.micloud.xiaomi.net
api.miui.security.xiaomi.com
api.sec.intl.miui.com
api.sec.miui.com
api.setting.intl.miui.com
api.vip.miui.com
api.xiaomi.com
api.xmpush.xiaomi.com
api.zhuti.intl.xiaomi.com
api.zhuti.xiaomi.com
app.chat.global.xiaomi.net
app.chat.us.xiaomi.net
app.chat.xiaomi.net
app.market.xiaomi.com
app.mibi.xiaomi.com
app.migc.xiaomi.com
appstore.cdn.pandora.xiaomi.com
appstore.pandora.xiaomi.com
app.xiaomi.com
assistant.pandora.xiaomi.com
a.stat.xiaomi.com
authbe.sec.intl.miui.com
auth.be.sec.miui.com
awsusor0-cdn.fds-ssl.api.xiaomi.com
bbs.game.xiaomi.com
be01.hh.xiaomi.com
bgp.fe01.c3.xiaomi.com
bk01.hh.xiaomi.com
blog.xiaomi.com
b.netcheck.gallery.pandora.xiaomi.com
bss.pandora.xiaomi.com
cc2.sys.intl.xiaomi.com
cc2.sys.miui.com
ccc.sys.intl.xiaomi.com
ccc.sys.miui.com
cc.sys.intl.xiaomi.com
cc.sys.miui.com
cdn.ad.xiaomi.com
cdn.fds-ssl.api.xiaomi.com
c.id.mi.com
clock.ad.xiaomi.com
cnc.fe01.lg.xiaomi.com
config.kuyun.com
connect.rom.miui.com
contactapi.micloud.xiaomi.net
ctc.fe01.c3.xiaomi.com
ctc.fe02.c3.xiaomi.com
data.game.xiaomi.com
data.mistat.india.xiaomi.com
data.mistat.intl.xiaomi.com
data.mistat.rus.xiaomi.com
data.mistat.us.xiaomi.com
data.mistat.xiaomi.com
data.sec.miui.com
de.pandora.xiaomi.com
dev.api.zhuti.n.xiaomi.com
dev.market.n.xiaomi.com
dev.staging.api.developer.n.xiaomi.com
drm.market.xiaomi.com
dvb.pandora.xiaomi.com
d.xiaomi.com
e.ad.xiaomi.com
f1.g.mi.com
fcanr.tracking.miui.com
fe02.lg.xiaomi.com
fe05.lg.xiaomi.com
feedback.miui.com
file.market.xiaomi.com
file.xmpush.xiaomi.com
find.api.micloud.xiaomi.net
flash.sec.intl.miui.com
from.pandora.xiaomi.com
gallery.cdn.pandora.xiaomi.com
gallery.pandora.xiaomi.com
game.xiaomi.com
geofence.sys.miui.com
globalapi.ad.xiaomi.com
global.market.xiaomi.com
global.preview.app.market.pt.xiaomi.com
global.search.xiaomi.net
gvod.aiseejapp.atianqi.com
hd02.lg.xiaomi.com
hd.xiaomi.com
heyue.xiaomi.com
hk.mibi.xiaomi.com
huodong.xiaomi.com
huosai.xiaomi.com
igame.xiaomi.com
image.pandora.xiaomi.com
ime.api.xiaomi.com
imgg.traffic-media.co
iosdl.game.xiaomi.com
i.xiaomi.com
jellyfish.pandora.xiaomi.com
lbs.pandora.xiaomi.com
lg-bgp.pandora.xiaomi.com
log.ad.xiaomi.com
login.game.xiaomi.com
logonext.tv.kuyun.com
logupdate.avlyun.sec.miui.com
market.mi-img.com
market.xiaomi.com
mazu.sec.miui.com
m.bss.pandora.xiaomi.com
meihua.xiaomi.com
metok.sys.miui.com
mibi.api.xiaomi.com
mibi.xiaomi.com
micardapi.micloud.xiaomi.net
micloud.xiaomi.net
milink.pandora.xiaomi.com
mishop.cdn.pandora.xiaomi.com
mishop.pandora.xiaomi.com
mis.migc.xiaomi.com
mitunes.game.xiaomi.com
miui.com
miui.net
mp.huangye.miui.com
m.zhuti.xiaomi.com
new.api.ad.xiaomi.com
notice.game.xiaomi.com
o2o.api.xiaomi.com
onebox.api.zhuti.n.xiaomi.com
onebox.market.n.xiaomi.com
order.music.xiaomi.com
pdc.micloud.xiaomi.net
phonecallapi.micloud.xiaomi.net
pmall.migc.xiaomi.com
ppurifier.game.xiaomi.com
ptmi.gitv.pandora.xiaomi.com
qiye.xiaomi.com
r.browser.miui.com
register.xmpush.global.xiaomi.com
register.xmpush.xiaomi.com
resolver.gslb.mi-idc.com
resolver.msg.xiaomi.net
r.sg.sec.miui.com
ruac.account.xiaomi.com
sa.api.intl.miui.com
sandbox.xmpush.xiaomi.com
sdkconfig.ad.intl.xiaomi.com
sdkconfig.ad.xiaomi.com
sec-cdn.static.xiaomi.net
secode2.hd.xiaomi.com
sfsapi.micloud.xiaomi.net
sgpac.account.xiaomi.com
shenghuo.xiaomi.com
shoes.app-xae.xiaomi.com
solve.msg.xiaomi.net
ssp.ad.xiaomi.com
staging.ai.api.xiaomi.com
staging.api.zhuti.n.xiaomi.com
staging.appapi.n.xiaomi.com
staging.market.n.xiaomi.com
starfish.pandora.xiaomi.com
static.game.xiaomi.com
static.mibi.xiaomi.com
stat.pandora.xiaomi.com
statusapi.micloud.xiaomi.net
stat.xiaomi.com
storeconfig.mistat.intl.xiaomi.com
t1.g.mi.com
t1.market.xiaomi.com
t2.market.xiaomi.com
tc.hd.xiaomi.com
tel.fe01.hh.xiaomi.com
test.ad.xiaomi.com
test.e.ad.xiaomi.com
test.log.ad.xiaomi.com
test.new.api.ad.xiaomi.com
test.xiaomi.com
test.zeus.ad.xiaomi.com
thm.market.intl.miui.com
thm.market.xiaomi.com
tracking.intl.miui.com
tracking.miui.com
trial.api.huangye.miui.com
tv.app.migc.xiaomi.com
update.avlyun.sec.miui.com
update.intl.miui.com
update.miui.com
upgrade.mishop.pandora.xiaomi.com
userid.xiaomi.com
us.find.api.micloud.xiaomi.net
video.intl.xiaomi.com
voip.game.xiaomi.com
wallpaper.cdn.pandora.xiaomi.com
wallpaper.pandora.xiaomi.com
wap.game.xiaomi.com
weatherapi.market.xiaomi.coma.stat.xiaomi.com
weather.pandora.xiaomi.com
wifiapi.micloud.xiaomi.net
www.xiaomi.com
xiaomi.com
xiaomi.net
xiazai.xiaomi.com
xitong.xiaomi.com
xlmc.sec.miui.com
xshare.api.xiaomi.com
zeus.ad.intl.xiaomi.com
zeus.ad.xiaomi.com
zhuti.xiaomi.com
zx.game.xiaomi.com
zx.game.xiaomi.comstat.xiaomi.com
@outloudvi

This comment has been minimized.

Copy link

outloudvi commented Mar 6, 2019

market.mi-img.com seems to be also also related.

@ohbus

This comment has been minimized.

Copy link

ohbus commented May 25, 2019

data.mistat.india.xiaomi.com

This also seems to be very notorious.

@DRSDavidSoft

This comment has been minimized.

Copy link

DRSDavidSoft commented Jul 23, 2019

Do these help?
(Click to show list ↓)
abtest.mistat.intl.xiaomi.com
ad.mi.com
ad.xiaomi.com
ad1.xiaomi.com
api.account.xiaomi.com
api.chat.xiaomi.net
api.comm.miui.com
api.cupid.ptqy.gitv.tv
api.device.xiaomi.net
api.io.mi.com
api.micloud.xiaomi.net
api.miui.security.xiaomi.com
api.sec.miui.com
api.vip.miui.com
api.xiaomi.com
api.xmpush.xiaomi.com
app.chat.xiaomi.net
app.migc.xiaomi.com
appstore.cdn.pandora.xiaomi.com
appstore.pandora.xiaomi.com
assistant.pandora.xiaomi.com
auth.be.sec.miui.com
awsusor0-cdn.fds-ssl.api.xiaomi.com
b.netcheck.gallery.pandora.xiaomi.com
bbs.game.xiaomi.com
be01.hh.xiaomi.com
bgp.fe01.c3.xiaomi.com
bk01.hh.xiaomi.com
blog.xiaomi.com
bss.pandora.xiaomi.com
c.id.mi.com
cdn.fds-ssl.api.xiaomi.com
clock.ad.xiaomi.com
cnc.fe01.lg.xiaomi.com
config.kuyun.com
connect.rom.miui.com
contactapi.micloud.xiaomi.net
ctc.fe01.c3.xiaomi.com
ctc.fe02.c3.xiaomi.com
d.xiaomi.com
data.game.xiaomi.com
from.pandora.xiaomi.com
dvb.pandora.xiaomi.com
f1.g.mi.com
fcanr.tracking.miui.com
fe02.lg.xiaomi.com
fe05.lg.xiaomi.com
file.market.xiaomi.com
file.xmpush.xiaomi.com
gallery.cdn.pandora.xiaomi.com
gallery.pandora.xiaomi.com
game.xiaomi.com
global.search.xiaomi.net
gvod.aiseejapp.atianqi.com
hd.xiaomi.com
hd02.lg.xiaomi.com
heyue.xiaomi.com
hk.mibi.xiaomi.com
huodong.xiaomi.com
huosai.xiaomi.com
i.xiaomi.com
igame.xiaomi.com
image.pandora.xiaomi.com
ime.api.xiaomi.com
imgg.traffic-media.co
iosdl.game.xiaomi.com
jellyfish.pandora.xiaomi.com
lbs.pandora.xiaomi.com
lg-bgp.pandora.xiaomi.com
login.game.xiaomi.com
logonext.tv.kuyun.com
m.bss.pandora.xiaomi.com
meihua.xiaomi.com
metok.sys.miui.com
mibi.api.xiaomi.com
mibi.xiaomi.com
micardapi.micloud.xiaomi.net
milink.pandora.xiaomi.com
mis.migc.xiaomi.com
mishop.cdn.pandora.xiaomi.com
mishop.pandora.xiaomi.com
mitunes.game.xiaomi.com
mp.huangye.miui.com
notice.game.xiaomi.com
o2o.api.xiaomi.com
order.music.xiaomi.com
pdc.micloud.xiaomi.net
phonecallapi.micloud.xiaomi.net
pmall.migc.xiaomi.com
ppurifier.game.xiaomi.com
ptmi.gitv.pandora.xiaomi.com
qiye.xiaomi.com
r.browser.miui.com
r.sg.sec.miui.com
register.xmpush.xiaomi.com
resolver.gslb.mi-idc.com
solve.msg.xiaomi.net
sandbox.xmpush.xiaomi.com
sdkconfig.ad.intl.xiaomi.com
secode2.hd.xiaomi.com
sfsapi.micloud.xiaomi.net
sgpac.account.xiaomi.com
shenghuo.xiaomi.com
shoes.app-xae.xiaomi.com
staging.ai.api.xiaomi.com
starfish.pandora.xiaomi.com
stat.pandora.xiaomi.com
static.game.xiaomi.com
static.mibi.xiaomi.com
statusapi.micloud.xiaomi.net
storeconfig.mistat.intl.xiaomi.com
t1.g.mi.com
tc.hd.xiaomi.com
tel.fe01.hh.xiaomi.com
trial.api.huangye.miui.com
tv.app.migc.xiaomi.com
update.avlyun.sec.miui.com
update.miui.com
upgrade.mishop.pandora.xiaomi.com
userid.xiaomi.com
voip.game.xiaomi.com
wallpaper.cdn.pandora.xiaomi.com
wallpaper.pandora.xiaomi.com
wap.game.xiaomi.com
weather.pandora.xiaomi.com
xiazai.xiaomi.com
xitong.xiaomi.com
xlmc.sec.miui.com
xshare.api.xiaomi.com
zeus.ad.intl.xiaomi.com
zx.game.xiaomi.comstat.xiaomi.com
de.pandora.xiaomi.com
resolver.msg.xiaomi.net
zx.game.xiaomi.com
@ediowar

This comment has been minimized.

Copy link

ediowar commented Oct 28, 2019

api.ad.intl.xiaomi.com
sa.api.intl.miui.com
api.accelerator.intl.miui.com
thm.market.intl.miui.com
api.zhuti.intl.xiaomi.com
t1.market.xiaomi.com
t2.market.xiaomi.com

Other lists:
https://github.com/anthony-wang/PiHoleBlocklist/blob/master/hosts1
https://gist.github.com/eboye/ef2f8c3e9e3b32c0980ff1a226770b1c
Ads and tracking on Xiaomi devices (lines 255-334) from StevenBlack hosts

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented Oct 28, 2019

api.ad.intl.xiaomi.com
sa.api.intl.miui.com
api.accelerator.intl.miui.com
thm.market.intl.miui.com
api.zhuti.intl.xiaomi.com
t1.market.xiaomi.com
t2.market.xiaomi.com
Other lists:
https://github.com/anthony-wang/PiHoleBlocklist/blob/master/hosts1
https://gist.github.com/eboye/ef2f8c3e9e3b32c0980ff1a226770b1c

Merged the lists.

@dhaavi

This comment has been minimized.

Copy link

dhaavi commented May 2, 2020

I think you are missing data.mistat.rus.xiaomi.com.

Ref: https://twitter.com/craiu/status/1256508158161367040

@dhaavi

This comment has been minimized.

Copy link

dhaavi commented May 2, 2020

Also, is there a license for this? Would love to include these in the Portmaster's Filterlists.

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 4, 2020

I think you are missing data.mistat.rus.xiaomi.com.

Ref: https://twitter.com/craiu/status/1256508158161367040

thanks for the info. Will add the domain data.mistat.rus.xiaomi.com to the list.

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 4, 2020

Also, is there a license for this? Would love to include these in the Portmaster's Filterlists.

Hey @dhaavi, that's a good question. Actually, it should remain a small list and is now, I think, very well distributed. Maybe it is better to put it in a repo and choose an appropriate license?

@dhaavi

This comment has been minimized.

Copy link

dhaavi commented May 4, 2020

Yes, this is sort of what I was thinking about. Alternatively, you could just specify a license in the "header" of this gist.
I never meant to "absord" this, or anything of the likes. Just wanting to clarify the conditions of usage and redistribution. 😉

@ediowar

This comment has been minimized.

Copy link

ediowar commented May 4, 2020

IMO

  • The list for each device will be different.
  • The list should be changed periodically (old ones are deleted and new domains are added).
@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 4, 2020

@ediwar a list per Device is not feasible. It will always be a big list and everyone can add entries to his PiHole whitelist.

I have looked a little bit, maybe I can automate a part by using https://sslmate.com/certspotter/ and https://github.com/yassineaboukir/sublert. Will also create a repo in the near future.

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 4, 2020

@ediowar

This comment has been minimized.

Copy link

ediowar commented May 4, 2020

a list per Device is not feasible. It will always be a big list and everyone can add entries to his PiHole whitelist.

The list for a specific device is no more than this list. Another thing is that the owner of the device will have to make this list independently.

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 4, 2020

The list for a specific device is no more than this list. Another thing is that the owner of the device will have to make this list independently.

Maybe we got it wrong? You want a list https://xiaomi-mi.com/mi-smart-home/ in all categories for every internet enabled device?

@ediowar

This comment has been minimized.

Copy link

ediowar commented May 5, 2020

I mean smartphones, tablets, laptops, smart TV sets. The content of the list also depends on Xiaomi device firmware. The list for the smartphone can be made using applications such as Blokada or AdAway. This list is for which Xiaomi device?

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 5, 2020

okay, a list for each category. I like that idea, I've had that one before.
Do you have any idea how we can distinguish the different categories using DNS names. So how can we use the list above to tell which DNS record is used by which category? It's best to give a few examples. Have you already created such a list for categories?

@ediowar

This comment has been minimized.

Copy link

ediowar commented May 5, 2020

My idea is that, ideally, you need to have a separate list for each device. You can make a list that will contain common addresses for all devices. But in this case, you still need to have all the lists for each device.

@dhaavi

This comment has been minimized.

Copy link

dhaavi commented May 5, 2020

I am not sure what the benefit of having multiple lists is. The performance impact by a bigger list is negligible. And if you start splitting it up, you make things more complex and increase the possibility of missing entries. If there is a domain that is known to impair privacy, I'd want to block it on every single device I have, not just on the devices where it is known to be used.

No matter how you proceed, thank you all for your work, for strengthening privacy! Keep at it!

@MA24th

This comment has been minimized.

Copy link

MA24th commented May 10, 2020

Add
sg-urc.io.mi.com

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 11, 2020

I am not sure what the benefit of having multiple lists is. The performance impact by a bigger list is negligible. And if you start splitting it up, you make things more complex and increase the possibility of missing entries. If there is a domain that is known to impair privacy, I'd want to block it on every single device I have, not just on the devices where it is known to be used.

No matter how you proceed, thank you all for your work, for strengthening privacy! Keep at it!

Thank you very much. I think so too

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented May 11, 2020

Add
sg-urc.io.mi.com

Thank you, i added it to Git Repo https://github.com/unknownFalleN/xiaomi-dns-blocklist. There I will also add further lists e.g. all subdomains.

Please use the list from the new repo, I will not maintain both lists and delete them here sometime

@mricartx

This comment has been minimized.

Copy link

mricartx commented Jun 3, 2020

Hi , thank you for mantaining this list .
You could add those ones also :

resolver.msg.global.xiaomi.net
fr.app.chat.global.xiaomi.net
fr-app-chat-global-xiaomi-net-1516654448.eu-central-1.elb.amazonaws.com

@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented Jun 3, 2020

Hi , thank you for mantaining this list .
You could add those ones also :

resolver.msg.global.xiaomi.net
fr.app.chat.global.xiaomi.net
fr-app-chat-global-xiaomi-net-1516654448.eu-central-1.elb.amazonaws.com

Hi, thanks. Added the domains in the new repo unknownFalleN/xiaomi-dns-blocklist@4672630. Migrate your list https://github.com/unknownFalleN/xiaomi-dns-blocklist

@plan291037

This comment has been minimized.

Copy link

plan291037 commented Jun 27, 2020

I think this item doesn't have to be blocked.

update.intl.miui.com = Android system update
global.market.xiaomi.com = General system updates, screens, themes and more.
@unknownFalleN

This comment has been minimized.

Copy link
Owner Author

unknownFalleN commented Jul 3, 2020

I think this item doesn't have to be blocked.

update.intl.miui.com = Android system update
global.market.xiaomi.com = General system updates, screens, themes and more.

Hey, thanks for feedback. Can you open a issue in the repo https://github.com/unknownFalleN/xiaomi-dns-blocklist for discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.