Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
sy618 committed Jun 9, 2017
1 parent 340d32f commit 710d3d3
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 61 deletions.
34 changes: 21 additions & 13 deletions ADFQ
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## 2017-06-08 01:36:06
## 2017-06-09 20:56:12
## https://github.com/sy618/hosts
# 请自行改订阅成以下两个,可获得最新数据。
# AD:https://raw.githubusercontent.com/vokins/yhosts/master/hosts
# FQ:https://raw.githubusercontent.com/sy618/hosts/master/FQ
#####################################################
## 2017-06-08 01:34:56
#version=201706071801
## 2017-06-09 20:55:24
#version=201706091926
#url=https://github.com/vokins/yhosts
127.0.0.1 localhost
::1 ip6-localhost
Expand Down Expand Up @@ -184,7 +184,6 @@
127.0.0.1 wkclick.baidu.com
127.0.0.1 tob-cms.bj.bcebos.com
127.0.0.1 wenku-cms.bj.bcebos.com
127.0.0.1 fex.bdstatic.com
127.0.0.1 kstj.baidu.com
127.0.0.1 adx.xiaodutv.com
127.0.0.1 nsclickvideo.baidu.com
Expand Down Expand Up @@ -2298,6 +2297,7 @@
127.0.0.1 r.pixgold.com
127.0.0.1 ad.evozi.com
127.0.0.1 da.ddanq.com
127.0.0.1 dan.qytyf.com
127.0.0.1 m.qbyy010.com
127.0.0.1 m.mzbclean.com
127.0.0.1 shi.xacqp.com
Expand Down Expand Up @@ -2555,6 +2555,7 @@
127.0.0.1 gmtw.wzflourish.com
127.0.0.1 s.175bar.com
127.0.0.1 js.csxjys.com
127.0.0.1 u.diginavi.net
127.0.0.1 kn.awyys.com
127.0.0.1 js439.lytubaobao.com
127.0.0.1 e.tangoutianxia.com
Expand Down Expand Up @@ -2672,6 +2673,7 @@
127.0.0.1 zzc.shumilou.co
127.0.0.1 c.m.shumilou.co
127.0.0.1 s.m.shumilou.co
127.0.0.1 e.qbyy010.com
127.0.0.1 js.srhtzx.com
127.0.0.1 e.mzbclean.com
127.0.0.1 e.jundazulin.com
Expand Down Expand Up @@ -2753,12 +2755,14 @@
127.0.0.1 img2.xztkc.com
127.0.0.1 dvygej.m.xs222.com
127.0.0.1 gdhyfgd.m.xs222.com
127.0.0.1 gdhyfgd.m.xs222.tw
127.0.0.1 m.xul478.com
127.0.0.1 m.papajia55.com
127.0.0.1 m.runiman.com
127.0.0.1 e.feifish66.com
127.0.0.1 e.maibahe300cc.com
127.0.0.1 e.cnzzlink.com
127.0.0.1 flux.faloo.com
127.0.0.1 cdn.0i-i0.com
127.0.0.1 9pkw.com
127.0.0.1 gfnksw.wap.xxbiquge.com
Expand Down Expand Up @@ -3333,6 +3337,8 @@
127.0.0.1 cdn1.res.nx5.com
127.0.0.1 api.anti.wauee.com
127.0.0.1 code.gutun.net
127.0.0.1 www.legozu.com
127.0.0.1 www.k3bos.com
127.0.0.1 img.qdscgj.com
127.0.0.1 lz.wfhxssg.com
127.0.0.1 uri6.com
Expand Down Expand Up @@ -3366,6 +3372,7 @@
127.0.0.1 v.xiucm.com
127.0.0.1 slb.gedawang.com
127.0.0.1 js.chinaheh.com
127.0.0.1 s.hk9600.com
127.0.0.1 www.70niandai.net
127.0.0.1 w.yunluge.com
127.0.0.1 js.wjnpxk.com
Expand Down Expand Up @@ -3998,6 +4005,7 @@
127.0.0.1 api.tongji.today
127.0.0.1 stat.tongji.today
127.0.0.1 rh.code.jjyx.com
127.0.0.1 tv.code.jjyx.com
127.0.0.1 c.yisu.com
127.0.0.1 tb.code.twyxi.com
127.0.0.1 sycnzz.17tanwan.com
Expand Down Expand Up @@ -4386,7 +4394,6 @@
127.0.0.1 api.waptest.taobao.com
127.0.0.1 apoll.m.taobao.com
127.0.0.1 dsp.simba.taobao.com
127.0.0.1 err.taobao.com
127.0.0.1 m-adash.m.taobao.com
127.0.0.1 re.taobao.com
127.0.0.1 sdkinit.taobao.com
Expand Down Expand Up @@ -6455,7 +6462,7 @@
127.0.0.1 sdkupgrade.insight.ucweb.com
127.0.0.1 insight.ucweb.com
127.0.0.1 gj.applog.uc.cn
## 2017-06-08 01:36:05
## 2017-06-09 20:56:10
157.240.7.35 0-edge-chat.facebook.com
157.240.7.35 0-edge-chat.messenger.com
216.58.200.33 0-focus-opensocial.googleusercontent.com
Expand Down Expand Up @@ -7045,7 +7052,7 @@
31.13.93.15 ent-b.xx.fbcdn.net
31.13.93.15 ent-c.xx.fbcdn.net
31.13.93.15 ent-e.xx.fbcdn.net
52.206.184.18 et.nytimes.com
52.1.225.49 et.nytimes.com
54.239.54.107 eu-central-1.console.aws.amazon.com
208.80.154.224 eu.wikipedia.org
52.84.200.202 eventgateway.soundcloud.com
Expand Down Expand Up @@ -7633,7 +7640,7 @@
119.161.8.100 media.tumblr.com
151.101.25.127 media0.giphy.com
104.16.121.127 medium.com
52.203.102.52 messaging-sub.api.nytimes.com
54.236.141.13 messaging-sub.api.nytimes.com
157.240.7.35 messenger.com
192.0.66.2 messengerplatform.fb.com
208.80.154.224 meta.m.wikimedia.org
Expand Down Expand Up @@ -7714,7 +7721,7 @@
216.58.200.33 nt1.ggpht.com
216.58.200.33 nt2.ggpht.com
216.58.200.33 nt3.ggpht.com
50.19.127.24 nytab.nytimes.com
23.23.72.28 nytab.nytimes.com
151.101.24.134 nytchinese.disqus.com
151.101.77.164 nytimes.com
216.58.200.33 nz.vp.video.l.google.com
Expand Down Expand Up @@ -7801,6 +7808,7 @@
216.58.200.33 productforums.google.com
219.76.10.49 profile.ak.fbcdn.net
216.58.200.33 profiles.google.com
216.58.200.33 program-think.blogspot.com
216.58.200.33 promote.orkut.com
72.21.91.127 promoted.soundcloud.com
216.58.200.33 proxy-dev.googlezip.net
Expand All @@ -7812,7 +7820,7 @@
216.58.200.33 reader.google.com
216.58.200.33 reader.googleusercontent.com
68.142.242.184 real-min-ruler.secure.yahoo.com
54.209.158.74 rec.api.nytimes.com
54.173.131.119 rec.api.nytimes.com
216.58.200.33 redirector-bigcache.googleapis.com
216.58.200.33 redirector.c.youtube.com
219.76.4.14 redirector.googlevideo.com
Expand Down Expand Up @@ -7844,7 +7852,7 @@
216.58.200.33 s2.youtube.com
54.231.251.9 s3-ap-southeast-2.amazonaws.com
54.239.31.175 s3-console-us-standard.console.aws.amazon.com
54.231.192.41 s3-eu-central-1.amazonaws.com
52.219.74.16 s3-eu-central-1.amazonaws.com
52.218.48.12 s3-eu-west-1.amazonaws.com
52.92.74.14 s3-sa-east-1.amazonaws.com
52.219.24.41 s3-us-west-1.amazonaws.com
Expand Down Expand Up @@ -7952,7 +7960,7 @@
157.240.7.35 ssl.facebook.com
216.58.200.33 ssl.gstatic.com
216.58.200.33 sslvideo-upload.l.google.com
54.64.135.49 sso.nytcn.me
54.249.127.56 sso.nytcn.me
216.58.200.33 stage.gdata.youtube.com
157.240.7.35 star.c10r.facebook.com
157.240.7.35 star.facebook.com
Expand Down Expand Up @@ -8009,7 +8017,7 @@
216.58.200.33 t6.gstatic.com
104.25.32.112 t66y.com
216.58.200.33 t7.gstatic.com
50.16.209.123 tagx.nytimes.com
204.236.232.125 tagx.nytimes.com
64.233.188.125 talk.google.com
64.233.188.125 talk.l.google.com
216.58.200.33 talkgadget.google.com
Expand Down
17 changes: 9 additions & 8 deletions FQ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2017-06-08 01:36:05
## 2017-06-09 20:56:10
## https://github.com/sy618/hosts
157.240.7.35 0-edge-chat.facebook.com
157.240.7.35 0-edge-chat.messenger.com
Expand Down Expand Up @@ -589,7 +589,7 @@
31.13.93.15 ent-b.xx.fbcdn.net
31.13.93.15 ent-c.xx.fbcdn.net
31.13.93.15 ent-e.xx.fbcdn.net
52.206.184.18 et.nytimes.com
52.1.225.49 et.nytimes.com
54.239.54.107 eu-central-1.console.aws.amazon.com
208.80.154.224 eu.wikipedia.org
52.84.200.202 eventgateway.soundcloud.com
Expand Down Expand Up @@ -1177,7 +1177,7 @@
119.161.8.100 media.tumblr.com
151.101.25.127 media0.giphy.com
104.16.121.127 medium.com
52.203.102.52 messaging-sub.api.nytimes.com
54.236.141.13 messaging-sub.api.nytimes.com
157.240.7.35 messenger.com
192.0.66.2 messengerplatform.fb.com
208.80.154.224 meta.m.wikimedia.org
Expand Down Expand Up @@ -1258,7 +1258,7 @@
216.58.200.33 nt1.ggpht.com
216.58.200.33 nt2.ggpht.com
216.58.200.33 nt3.ggpht.com
50.19.127.24 nytab.nytimes.com
23.23.72.28 nytab.nytimes.com
151.101.24.134 nytchinese.disqus.com
151.101.77.164 nytimes.com
216.58.200.33 nz.vp.video.l.google.com
Expand Down Expand Up @@ -1345,6 +1345,7 @@
216.58.200.33 productforums.google.com
219.76.10.49 profile.ak.fbcdn.net
216.58.200.33 profiles.google.com
216.58.200.33 program-think.blogspot.com
216.58.200.33 promote.orkut.com
72.21.91.127 promoted.soundcloud.com
216.58.200.33 proxy-dev.googlezip.net
Expand All @@ -1356,7 +1357,7 @@
216.58.200.33 reader.google.com
216.58.200.33 reader.googleusercontent.com
68.142.242.184 real-min-ruler.secure.yahoo.com
54.209.158.74 rec.api.nytimes.com
54.173.131.119 rec.api.nytimes.com
216.58.200.33 redirector-bigcache.googleapis.com
216.58.200.33 redirector.c.youtube.com
219.76.4.14 redirector.googlevideo.com
Expand Down Expand Up @@ -1388,7 +1389,7 @@
216.58.200.33 s2.youtube.com
54.231.251.9 s3-ap-southeast-2.amazonaws.com
54.239.31.175 s3-console-us-standard.console.aws.amazon.com
54.231.192.41 s3-eu-central-1.amazonaws.com
52.219.74.16 s3-eu-central-1.amazonaws.com
52.218.48.12 s3-eu-west-1.amazonaws.com
52.92.74.14 s3-sa-east-1.amazonaws.com
52.219.24.41 s3-us-west-1.amazonaws.com
Expand Down Expand Up @@ -1496,7 +1497,7 @@
157.240.7.35 ssl.facebook.com
216.58.200.33 ssl.gstatic.com
216.58.200.33 sslvideo-upload.l.google.com
54.64.135.49 sso.nytcn.me
54.249.127.56 sso.nytcn.me
216.58.200.33 stage.gdata.youtube.com
157.240.7.35 star.c10r.facebook.com
157.240.7.35 star.facebook.com
Expand Down Expand Up @@ -1553,7 +1554,7 @@
216.58.200.33 t6.gstatic.com
104.25.32.112 t66y.com
216.58.200.33 t7.gstatic.com
50.16.209.123 tagx.nytimes.com
204.236.232.125 tagx.nytimes.com
64.233.188.125 talk.google.com
64.233.188.125 talk.l.google.com
216.58.200.33 talkgadget.google.com
Expand Down
3 changes: 2 additions & 1 deletion dnsmasq/dnsfq
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2017-06-08 01:34:56
## 2017-06-09 20:55:24
## by sy618
## https://github.com/sy618/hosts
# This work is licensed under a CC BY-NC 4.0 International License.
Expand Down Expand Up @@ -85,6 +85,7 @@ address=/ue.flipboard.com/23.23.66.189
address=/admob.com/216.58.200.33
address=/agoogleaday.com/216.58.200.33
address=/android.com/216.58.200.33
address=/blogblog.com/216.58.200.33
address=/blogger.com/216.58.200.33
address=/blogspot.com/216.58.200.33
address=/chromium.org/216.58.200.33
Expand Down
18 changes: 15 additions & 3 deletions dnsmasq/dnsmasq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dnsmasq功能很多,我们这里主要用来重定向、加快网络响应 和
2 规则介绍
2.1 自.由.上.网,享受无墙般体验。
https://raw.githubusercontent.com/sy618/hosts/master/dnsmasq/dnsfq
没时间解释了,上车就是。详情请到github看
没时间解释了,上车就是。详情请到github看

2.2 屏蔽广告
可以使用vokins的专门去国内广告hosts
Expand Down Expand Up @@ -40,18 +40,30 @@ wget --no-check-certificate https://raw.githubusercontent.com/vokins/yhosts/mast
#去广告hosts
02 00 * * * wget --no-check-certificate https://raw.githubusercontent.com/vokins/yhosts/master/hosts -O /etc/storage/dnsmasq/hosts;sed -i "1 i\## update:$(date "+%Y-%m-%d %H:%M:%S")" /etc/storage/dnsmasq/hosts;restart_dhcpd

3.2 自动化脚本
一键运行命令:不会手动添加的用这个脚本命令,适用h大的老毛子固件
3.2 自动化脚本(适用h大的老毛子固件)
一键运行命令:不会手动添加的用这个脚本命令
mkdir -p /etc/storage/dnsmasq/dns;wget --no-check-certificate https://raw.githubusercontent.com/sy618/hosts/master/dnsmasq/sh/setting.sh -O /etc/storage/dnsmasq/dns/setting.sh;/bin/sh /etc/storage/dnsmasq/dns/setting.sh
一键还原命令:
/bin/sh /etc/storage/dnsmasq/dns/del.sh
详细看https://github.com/sy618/hosts/tree/master/dnsmasq/sh

3.3其他固件的脚本
Openwtr、LEDE脚本可以参考基友发的帖子
http://www.right.com.cn/forum/thread-217335-1-1.html
!由于我没有用过这些固件,所以没测试过效果如何。自测,有问题找帖子作者反馈。

4.优缺点
优点:解析快,消耗极少CPU资源,非常适合路由器使用。过滤广告无需证书,可部分代替s-s
缺点:易失效,这一切美好的事情,全靠规则维护者的维护,希望有更多人加入维护!

5.已集成规则的老毛子固件
http://www.right.com.cn/forum/forum.php?mod=viewthread&tid=216667&extra=page%3D3&mobile=2
这是由论坛基友做的固件,可以刷入试试。

由于不常上论坛,有问题请到github上反馈与交流!
去广告项目:
https://github.com/vokins/yhosts
FQ项目:
https://github.com/sy618/hosts

做这个不为别的,在方便自己使用的同时也造福所有人,希望有更多人参与规则的维护!
Loading

0 comments on commit 710d3d3

Please sign in to comment.