路由器自定义Dnsmasq设置屏蔽优酷,土豆广告
我的路由器是网件Netgear WNDR3700v3,刷了第三方的tomato固件。
在“高级设置”->“DHCP/DNS”->“Dnsmasq自定义设置”中,添加如下规则即可屏蔽优酷,土豆广告。
如下图所示:address=/atm.youku.com/127.0.0.1 address=/fvid.atm.youku.com/127.0.0.1 address=/html.atm.youku.com/127.0.0.1 address=/valb.atm.youku.com/127.0.0.1 address=/valc.atm.youku.com/127.0.0.1 address=/valf.atm.youku.com/127.0.0.1 address=/valo.atm.youku.com/127.0.0.1 address=/valp.atm.youku.com/127.0.0.1 address=/vid.atm.youku.com/127.0.0.1 address=/walp.atm.youku.com/127.0.0.1 address=/lstat.youku.com/127.0.0.1 address=/speed.lstat.youku.com/127.0.0.1 address=/static.lstat.youku.com/127.0.0.1 address=/urchin.lstat.youku.com/127.0.0.1 address=/stat.youku.com/127.0.0.1 address=/adextensioncontrol.tudou.com/127.0.0.1 address=/iwstat.tudou.com/127.0.0.1 address=/nstat.tudou.com/127.0.0.1 address=/stats.tudou.com/127.0.0.1 address=/p2v.tudou.com/127.0.0.1 address=/at-img1.tdimg.com/127.0.0.1 address=/at-img2.tdimg.com/127.0.0.1 address=/at-img3.tdimg.com/127.0.0.1 address=/adplay.tudou.com/127.0.0.1 address=/adcontroL.tudou.com/127.0.0.1 address=/stat.tudou.com/127.0.0.1