Clash/rewrite/Surge/BlockHTTPDNS/BlockHTTPDNS.sgmodule

88 lines
3.2 KiB
Plaintext
Raw Normal View History

2023-04-14 00:17:15 +08:00
#!name=BlockHTTPDNS
#!desc=最后更新时间 2023-11-28 15:53:04
2023-04-14 00:17:15 +08:00
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!domain=20
2023-10-26 16:19:04 +08:00
#!domain-suffix=1
#!ip-cidr=19
2023-07-20 23:30:12 +08:00
#!ip-cidr6=4
#!reject=16
#!mitm=16
#!force-http-engine-hosts=4
#!total=80
2023-04-14 00:17:15 +08:00
[General]
force-http-engine-hosts = %APPEND% 119.29.29.29:80,dns.weixin.qq.com:443,dns.weixin.qq.com:80,dns.weixin.qq.com:8080
2023-04-14 00:17:15 +08:00
[Rule]
2023-07-20 23:30:12 +08:00
DOMAIN,dns.jd.com,REJECT
2023-04-14 00:17:15 +08:00
DOMAIN,dns.weibo.cn,REJECT
DOMAIN,dns.weixin.qq.com,REJECT
DOMAIN,dns.weixin.qq.com.cn,REJECT
DOMAIN,httpdns-api.aliyuncs.com,REJECT
DOMAIN,httpdns-sc.aliyuncs.com,REJECT
DOMAIN,httpdns.alicdn.com,REJECT
DOMAIN,httpdns.baidu.com,REJECT
DOMAIN,httpdns.baidubce.com,REJECT
DOMAIN,httpdns.bilivideo.com,REJECT
DOMAIN,httpdns.c.cdnhwc2.com,REJECT
2023-10-26 16:19:04 +08:00
DOMAIN,httpdns.meituan.com,REJECT
2023-07-20 23:30:12 +08:00
DOMAIN,httpdns.music.163.com,REJECT
2023-04-14 00:17:15 +08:00
DOMAIN,httpdns.n.netease.com,REJECT
DOMAIN,httpdns.push.oppomobile.com,REJECT
DOMAIN,httpdns.volcengineapi.com,REJECT
DOMAIN,httpdnsvip.meituan.com,REJECT
2023-04-14 00:17:15 +08:00
DOMAIN,httpsdns.baidu.com,REJECT
DOMAIN,lofter.httpdns.c.163.com,REJECT
DOMAIN,music.httpdns.c.163.com,REJECT
2023-10-26 16:19:04 +08:00
DOMAIN-SUFFIX,httpdns.pro,REJECT
2023-07-20 23:30:12 +08:00
IP-CIDR,101.124.19.122/32,REJECT,no-resolve
IP-CIDR,103.224.222.208/32,REJECT,no-resolve
IP-CIDR,115.236.121.195/32,REJECT,no-resolve
IP-CIDR,115.236.121.51/32,REJECT,no-resolve
2023-10-26 16:19:04 +08:00
IP-CIDR,119.29.29.98/32,REJECT,no-resolve
IP-CIDR,119.29.29.99/32,REJECT,no-resolve
2023-04-14 00:17:15 +08:00
IP-CIDR,123.151.54.50/32,REJECT,no-resolve
2023-10-26 16:19:04 +08:00
IP-CIDR,182.254.116.117/32,REJECT,no-resolve
IP-CIDR,182.254.118.119/32,REJECT,no-resolve
2023-04-14 00:17:15 +08:00
IP-CIDR,186.76.76.200/32,REJECT,no-resolve
IP-CIDR,203.107.1.0/24,REJECT,no-resolve
IP-CIDR,39.97.128.148/32,REJECT,no-resolve
IP-CIDR,39.97.130.51/32,REJECT,no-resolve
IP-CIDR,42.187.182.106/32,REJECT,no-resolve
IP-CIDR,42.187.182.123/32,REJECT,no-resolve
IP-CIDR,42.187.184.154/32,REJECT,no-resolve
IP-CIDR,42.81.232.18/32,REJECT,no-resolve
IP-CIDR,59.111.239.61/32,REJECT,no-resolve
IP-CIDR,59.111.239.62/32,REJECT,no-resolve
2023-07-20 23:30:12 +08:00
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
2023-04-14 00:17:15 +08:00
IP-CIDR6,2402:4e00:1900:1700:0:9554:1ad9:c3a/128,REJECT,no-resolve
2023-07-20 23:30:12 +08:00
IP-CIDR6,2402:db40:5100:1011::5/128,REJECT,no-resolve
2023-04-14 00:17:15 +08:00
IP-CIDR6,240e:928:1400:10::25/128,REJECT,no-resolve
[URL Rewrite]
"^http:\/\/101\.35\.204\.35\/d" - reject
"^http:\/\/103\.37\.155\.60\/fetch" - reject
"^http:\/\/114\.110\.96\.26\/d" - reject
"^http:\/\/180\.76\.76\.112\/v4\/resolve" - reject
"^http:\/\/182\.256\.116\.116\/d" - reject
"^http:\/\/api\.weibo\.cn\/2\/httpdns\/config" - reject
2023-07-20 23:30:12 +08:00
"^https:\/\/dns\.jd\.com\/v6\/b" - reject
2023-04-14 00:17:15 +08:00
"^https?:\/\/110\.76\.8\.150\/squery" - reject
"^https?:\/\/119\.29\.29\.29\/d" - reject
"^https?:\/\/203\.209\.230\.39\/squery" - reject
"^https?:\/\/2400:B180:6001::18F\/squery" - reject
"^https?:\/\/2400:B200:1005:3000::155\/squery" - reject
"^https?:\/\/amdc-sibling\.alipay\.com\.cn\/s?query" - reject
"^https?:\/\/amdc\.alipay\.com\/s?query" - reject
"^https?:\/\/dns\.weixin\.qq\.com\/cgi-bin\/micromsg-bin\/newgetdns" - reject
"^https?:\/\/short\.weixin\.qq\.com\/cgi-bin\/micromsg-bin\/getcdndns" - reject
2023-04-14 00:17:15 +08:00
[MITM]
hostname = %APPEND% *.httpdns.pro,101.35.204.35,103.37.155.60,110.76.8.150,114.110.96.26,119.29.29.29,119.29.29.98,119.29.29.99,180.76.76.112,182.256.116.116,amdc-sibling.alipay.com.cn,amdc.alipay.com,api.weibo.cn,dns.jd.com,dns.weixin.qq.com,short.weixin.qq.com