Skip to content

Commit

Permalink
feat(HTTPDNS.Block): ByteDance
Browse files Browse the repository at this point in the history
fixed #76
  • Loading branch information
VirgilClyne committed Feb 28, 2025
1 parent ada05e9 commit 4cf6cd3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
5 changes: 4 additions & 1 deletion plugin/HTTPDNS.Block.plugin
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
^http:\/\/112\.64\.218\.119\/resolve - reject
^http:\/\/112\.65\.200\.117\/resolve - reject

# ByteDance
^https?:\/\/.+\.zijieapi\.com\/get_domains\/ - reject

# JD
^https:\/\/dns\.jd\.com\/v6\/b - reject

Expand Down Expand Up @@ -200,4 +203,4 @@ IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
^http:\/\/103\.41\.167\.237\/v2\/resolv - reject

[MITM]
hostname = 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com, *.httpdns.pro
hostname = 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com, *.httpdns.pro, *.zijieapi.com
5 changes: 4 additions & 1 deletion sgmodule/HTTPDNS.Block.beta.sgmodule
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve,pre-matching
^http:\/\/112\.64\.218\.119\/resolve - reject
^http:\/\/112\.65\.200\.117\/resolve - reject

# ByteDance
^https?:\/\/.+\.zijieapi\.com\/get_domains\/ - reject

# JD
^https:\/\/dns\.jd\.com\/v6\/b - reject

Expand Down Expand Up @@ -227,4 +230,4 @@ IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve,pre-matching
^http:\/\/103\.41\.167\.237\/v2\/resolv - reject

[MITM]
hostname = %APPEND% 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com, *.httpdns.pro
hostname = %APPEND% 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com, *.httpdns.pro, *.zijieapi.com
5 changes: 4 additions & 1 deletion sgmodule/HTTPDNS.Block.sgmodule
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve,pre-matching
^http:\/\/112\.64\.218\.119\/resolve - reject
^http:\/\/112\.65\.200\.117\/resolve - reject

# ByteDance
^https?:\/\/.+\.zijieapi\.com\/get_domains\/ - reject

# JD
^https:\/\/dns\.jd\.com\/v6\/b - reject

Expand Down Expand Up @@ -227,4 +230,4 @@ IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve,pre-matching
^http:\/\/103\.41\.167\.237\/v2\/resolv - reject

[MITM]
hostname = %APPEND% 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com, *.httpdns.pro
hostname = %APPEND% 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com, *.httpdns.pro, *.zijieapi.com
5 changes: 4 additions & 1 deletion snippet/HTTPDNS.Block.snippet
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
^http:\/\/112\.64\.218\.119\/resolve url reject
^http:\/\/112\.65\.200\.117\/resolve url reject

# ByteDance
^https?:\/\/.+\.zijieapi\.com\/get_domains\/ - reject

# JD
^https:\/\/dns\.jd\.com\/v6\/b url reject

Expand Down Expand Up @@ -94,4 +97,4 @@
^http:\/\/103\.41\.167\.237\/v2\/resolv url reject

#[MITM]
hostname = 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com
hostname = 119.29.29.98, 119.29.29.99, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com, *.zijieapi.com
4 changes: 4 additions & 0 deletions stoverride/HTTPDNS.Block.stoverride
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ http:
- amdc.alipay.com
- amdc-sibling.alipay.com.cn
- dns.jd.com
- *.zijieapi.com
url-rewrite:
# Alipay
- ^https?:\/\/amdc\.alipay\.com\/s?query - reject
Expand Down Expand Up @@ -163,6 +164,9 @@ http:
- ^http:\/\/112\.64\.218\.119\/resolve - reject
- ^http:\/\/112\.65\.200\.117\/resolve - reject

# ByteDance
- ^https?:\/\/.+\.zijieapi\.com\/get_domains\/ - reject

# JD
- ^https:\/\/dns\.jd\.com\/v6\/b - reject

Expand Down

0 comments on commit 4cf6cd3

Please sign in to comment.