Skip to content

Instantly share code, notes, and snippets.

@cjh0613
Forked from JamesHopbourn/douyin.txt
Created May 29, 2023 04:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjh0613/fbeb97201b468ad7f16c06a725ee5a6a to your computer and use it in GitHub Desktop.
Save cjh0613/fbeb97201b468ad7f16c06a725ee5a6a to your computer and use it in GitHub Desktop.
抖音、快手等软件 DNS 域名污染,局域网内屏蔽相关流量
set system static-host-mapping host-name aaid.umeng.com inet 127.0.0.1
set system static-host-mapping host-name abtest-ch.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name activity-aghbwh.awemeughun.com inet 127.0.0.1
set system static-host-mapping host-name ai.login.umeng.com inet 127.0.0.1
set system static-host-mapping host-name api1.kuaishoupay.com inet 127.0.0.1
set system static-host-mapping host-name api3-core-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api3-normal-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api5-core-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api5-normal-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api100-core-c333.amemv.com inet 127.0.0.1
set system static-host-mapping host-name apijs.ksapisrv.com inet 127.0.0.1
set system static-host-mapping host-name api.amemv.com inet 127.0.0.1
set system static-host-mapping host-name api.e.kuaishou.com inet 127.0.0.1
set system static-host-mapping host-name api.kuaishouzt.com inet 127.0.0.1
set system static-host-mapping host-name api.kwaizt.com inet 127.0.0.1
set system static-host-mapping host-name aweme.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name baidu.com inet 127.0.0.1
set system static-host-mapping host-name baike.baidu.com inet 127.0.0.1
set system static-host-mapping host-name blog.csdn.net inet 127.0.0.1
set system static-host-mapping host-name boxer.baidu.com inet 127.0.0.1
set system static-host-mapping host-name bsync3-normal-lf.zijieapi.com inet 127.0.0.1
set system static-host-mapping host-name cdnauth1.hpplay.cn inet 127.0.0.1
set system static-host-mapping host-name center-api.game.kuaishou.com inet 127.0.0.1
set system static-host-mapping host-name dict.baidu.com inet 127.0.0.1
set system static-host-mapping host-name dig.bdurl.net inet 127.0.0.1
set system static-host-mapping host-name dm.toutiao.com inet 127.0.0.1
set system static-host-mapping host-name effect.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name errlog.umeng.com inet 127.0.0.1
set system static-host-mapping host-name fanyi.baidu.com inet 127.0.0.1
set system static-host-mapping host-name frontier100-aweme-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name frontier-aweme-lf-ipainner.amemv.com inet 127.0.0.1
set system static-host-mapping host-name graph.baidu.com inet 127.0.0.1
set system static-host-mapping host-name hotsoon.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name hpplay.cn inet 127.0.0.1
set system static-host-mapping host-name image.baidu.com inet 127.0.0.1
set system static-host-mapping host-name is.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name iu.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name i.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name lf1-cdn-tos.bytegoofy.com inet 127.0.0.1
set system static-host-mapping host-name lf3-short.bytegoofy.com inet 127.0.0.1
set system static-host-mapping host-name lf3-static.bytednsdoc.com inet 127.0.0.1
set system static-host-mapping host-name lf3-cdn-tos.bytescm.com inet 127.0.0.1
set system static-host-mapping host-name lf9-dy-cdn-tos.bytegecko.com inet 127.0.0.1
set system static-host-mapping host-name lf9-webcast-cdn-tos.bytegecko.com inet 127.0.0.1
set system static-host-mapping host-name lf-cdn-tos.bytescm.com inet 127.0.0.1
set system static-host-mapping host-name lf.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name log3-misc-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name log5-misc-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name log.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name ma3-normal-lf.zijieapi.com inet 127.0.0.1
set system static-host-mapping host-name ma5-normal-lf.zijieapi.com inet 127.0.0.1
set system static-host-mapping host-name mobile.baidu.com inet 127.0.0.1
set system static-host-mapping host-name mon11-misc-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name mon.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name mon.toutiaocloud.com inet 127.0.0.1
set system static-host-mapping host-name mon.toutiaocloud.net inet 127.0.0.1
set system static-host-mapping host-name mssdk3-normal-lf.zijieapi.com inet 127.0.0.1
set system static-host-mapping host-name m.baidu.com inet 127.0.0.1
set system static-host-mapping host-name naotu.baidu.com inet 127.0.0.1
set system static-host-mapping host-name news.baidu.com inet 127.0.0.1
set system static-host-mapping host-name ocsp.apple.com inet 127.0.0.1
set system static-host-mapping host-name open.kuaishou.com inet 127.0.0.1
set system static-host-mapping host-name open.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name p1.pstatp.com inet 127.0.0.1
set system static-host-mapping host-name p3-sign.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p3.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p3.pstatp.com inet 127.0.0.1
set system static-host-mapping host-name p5-ipv6.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p6-sign.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p6-webcast.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p6.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p9-sign.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p9-webcast.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p9.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p26-sign.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p26.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name p29.douyinpic.com inet 127.0.0.1
set system static-host-mapping host-name pan.baidu.com inet 127.0.0.1
set system static-host-mapping host-name pitaya.bytedance.com inet 127.0.0.1
set system static-host-mapping host-name ppg.m.etoote.com inet 127.0.0.1
set system static-host-mapping host-name pull-f5.flive.douyincdn.com inet 127.0.0.1
set system static-host-mapping host-name pull-flv-f26.douyincdn.com inet 127.0.0.1
set system static-host-mapping host-name pull-flv-l6.douyincdn.com inet 127.0.0.1
set system static-host-mapping host-name pull-flv-l26.douyincdn.com inet 127.0.0.1
set system static-host-mapping host-name rp.hpplay.cn inet 127.0.0.1
set system static-host-mapping host-name search3-search-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name search5-search-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name search100-search-quic-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name security.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name sentry.kuaishou.com inet 127.0.0.1
set system static-host-mapping host-name sf1-scmcdn-tos.pstatp.com inet 127.0.0.1
set system static-host-mapping host-name sf1-scmcdn2-tos.pstatp.com inet 127.0.0.1
set system static-host-mapping host-name sixinpicnew.ksapisrv.com inet 127.0.0.1
set system static-host-mapping host-name ssdkauth.hpplay.cn inet 127.0.0.1
set system static-host-mapping host-name tieba.baidu.com inet 127.0.0.1
set system static-host-mapping host-name tnc3-alisc1.bytedance.com inet 127.0.0.1
set system static-host-mapping host-name tnc11-aliec2.bytedance.com inet 127.0.0.1
set system static-host-mapping host-name tnc11-alisc1.bytedance.com inet 127.0.0.1
set system static-host-mapping host-name tnc11-bjlgy.bytedance.com inet 127.0.0.1
set system static-host-mapping host-name tp-pay.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name tx1.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx2.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx2.a.yximgs.com inet 127.0.0.1
set system static-host-mapping host-name tx3.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx4.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx5.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx6.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx7.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx8.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx9.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx10.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx11.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx12.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx13.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx14.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx15.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx16.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx17.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx18.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx19.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name tx20.a.kwimgs.com inet 127.0.0.1
set system static-host-mapping host-name ubnt inet 127.0.0.1
set system static-host-mapping host-name ulogs.umengcloud.com inet 127.0.0.1
set system static-host-mapping host-name ulogs.umeng.com inet 127.0.0.1
set system static-host-mapping host-name utoken.umeng.com inet 127.0.0.1
set system static-host-mapping host-name v1-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v1-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v1kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v1.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v2-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v2-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v2kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v2.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v3-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v3-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v3kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v3.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v4-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v4-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v4kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v4.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v5-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v5-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v5kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v5-qos-hourly.douyinvod.com inet 127.0.0.1
set system static-host-mapping host-name v5.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v6-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v6-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v6kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v6.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v7-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v7-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v7kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v7.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v8-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v8-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v8kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v8.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v9-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v9-vod.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v9kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v9-qos-hourly.douyinvod.com inet 127.0.0.1
set system static-host-mapping host-name v9.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v10-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v10kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v10.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v11-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v11kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v11.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v12-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v12kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v12.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v13-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v13kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v13.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v14-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v14kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v14.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v15-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v15kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v15.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v16-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v16kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v16.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v17-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v17kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v17.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v18-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v18kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v18.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v19-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v19kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v19.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v20-mg08.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v20kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v20.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v21.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v22.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v23.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v24.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v25.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v26-qos-hourly.douyinvod.com inet 127.0.0.1
set system static-host-mapping host-name v26.douyinvod.com inet 127.0.0.1
set system static-host-mapping host-name v26.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v27.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v28.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v29.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name v30.kwaicdn.com inet 127.0.0.1
set system static-host-mapping host-name vcs.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name webcast3-core-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name webcast3-normal-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name webcast5-core-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name webcast5-normal-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name webcast100-ws-c-lf.amemv.com inet 127.0.0.1
set system static-host-mapping host-name wk.baidu.com inet 127.0.0.1
set system static-host-mapping host-name www2.baidu.com inet 127.0.0.1
set system static-host-mapping host-name www.baidu.com inet 127.0.0.1
set system static-host-mapping host-name www.kuaishou.com inet 127.0.0.1
set system static-host-mapping host-name www.umeng.com inet 127.0.0.1
set system static-host-mapping host-name www.yuncheapp.cn inet 127.0.0.1
set system static-host-mapping host-name xlog.snssdk.com inet 127.0.0.1
set system static-host-mapping host-name xueshu.baidu.com inet 127.0.0.1
sed -i '/^$/d' *.txt
sed -i '/qq.com/d' *.txt
sed -i '/gtimg.cn/d' *.txt
sed -i '/qlogo.cn/d' *.txt
sed -i '/hpplay.cn/d' *.txt
sed -i '/apple.com/d' *.txt
sed -i '/weibo.com/d' *.txt
sed -i '/myapp.com/d' *.txt
sed -i '/icloud.com/d' *.txt
sed -i '/spotify.com/d' *.txt
sed -i '/googletagmanager.com/d' *.txt
sed -i s/'http[s]\?:\/\/'// *.txt
url=$(git config remote.origin.url) ;
rm -rf .git ;
git init ;
git add . ;
git commit -m 'restore' ;
git remote add origin $url ;
git push -u -f origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment