为dnsmasq创建配置文件

touch /jffs/configs/dnsmasq.conf.add

编辑配置文件

vi /jffs/configs/dnsmasq.conf.add

写入内容

#xiaomi

address=/api.ad.xiaomi.com/127.0.0.1
address=/sdkconfig.ad.xiaomi.com/127.0.0.1
address=/ad.mi.com/127.0.0.1
address=/ad.xiaomi.com/127.0.0.1
address=/ad1.xiaomi.com/127.0.0.1

address=/adv.sec.miui.com/127.0.0.1
address=/test.ad.xiaomi.com/127.0.0.1
address=/new.api.ad.xiaomi.com/127.0.0.1

address=/cdn.ad.xiaomi.com/127.0.0.1
address=/e.ad.xiaomi.com/127.0.0.1
address=/test.new.api.ad.xiaomi.com/127.0.0.1

address=/ssp.ad.xiaomi.com/127.0.0.1
address=/o2o.api.xiaomi.com/127.0.0.1

address=/package.cdn.pandora.xiaomi.com/127.0.0.1

# gitv

address=/api.cupid.ptqy.gitv.tv/127.0.0.1
address=/t7z.cupid.ptqy.gitv.tv/127.0.0.1
address=/.cupid.ptqy.gitv.tv/127.0.0.1
address=/mixer.cupid.ptqy.gitv.tv/127.0.0.1
address=/msg.ptqy.gitv.tv/127.0.0.1
address=/msga.ptqy.gitv.tv/127.0.0.1
address=/msg2.video.ptqy.gitv.tv/127.0.0.1
address=/nl.rcd.ptqy.gitv.tv/127.0.0.1
address=/msg.c002.ottcn.com/127.0.0.1
address=/store.ptqy.gitv.tv/127.0.0.1

#iqiyi
address=/api.cupid.iqiyi.com/127.0.0.1
address=/api.yuedu.iqiyi.com/127.0.0.1
address=/c.uaa.iqiyi.com/127.0.0.1
address=/cloudpush.iqiyi.com/127.0.0.1
address=/cm.passport.iqiyi.com/127.0.0.1
address=/gamecenter.iqiyi.com/127.0.0.1
address=/ifacelog.iqiyi.com/127.0.0.1
address=/mbdlog.iqiyi.com/127.0.0.1
address=/msg.iqiyi.com/127.0.0.1
address=/msga.cupid.iqiyi.com/127.0.0.1
address=/nl.notice.iqiyi.com/127.0.0.1
address=/notice.iqiyi.com/127.0.0.1
address=/policy.video.iqiyi.com/127.0.0.1
address=/static.g.iqiyi.com/127.0.0.1
address=/store.iqiyi.com/127.0.0.1
address=/t7z.cupid.iqiyi.com/127.0.0.1
address=/nl.rcd.iqiyi.com/127.0.0.1
#iqiyi-pps
address=/count.game.pps.tv/127.0.0.1
address=/game.pps.tv/127.0.0.1
address=/static.g.ppstream.com/127.0.0.1
address=/qosp.msg.71.am/127.0.0.1
address=/msga.71.am/127.0.0.1
address=/androidgo.duapp.com/127.0.0.1
address=/noxagile.duapp.com/127.0.0.1
#iqiyi-qiyi
address=/api.cupid.qiyi.com/127.0.0.1
address=/msg.video.qiyi.com/127.0.0.1
address=/msg2.video.qiyi.com/127.0.0.1

重启dnsmasq

service restart_dnsmasq

重启路由器

reboot