Skip to content

Commit cb7b4a1

Browse files
committed
fix: update version to 20250803 and versionCode to 42; enable private PTR resolvers; modify changelog and filters
1 parent 6166e71 commit cb7b4a1

File tree

6 files changed

+38
-51
lines changed

6 files changed

+38
-51
lines changed

changelog.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
- 例行更新广告规则
44
- Routine update of ad rules
5-
- 修改了输出 bin.log 的逻辑,避免文件过大
6-
- Changed the logic for outputting bin.log to prevent file size from becoming too large
7-
- 默认配置关闭了 启用 EDNS 子网
8-
- Default configuration disables EDNS subnet
9-
- 简化了 iptables 的日志输出
10-
- Simplified the log output of iptables
5+
- 更新 AdGuard Home 至 v0.107.64
6+
- Updated AdGuard Home to v0.107.64
7+
- 更新文档
8+
- Updated documentation

docs/index.md

Lines changed: 13 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -56,30 +56,6 @@ rm /data/adb/modules/AdGuardHome/disable
5656
以下是我自用的 FlClash 配置文件示例:
5757

5858
```yaml
59-
dns:
60-
enable: true
61-
listen: :1053
62-
ipv6: true
63-
enhanced-mode: fake-ip
64-
fake-ip-range: 198.18.0.1/16
65-
fake-ip-filter:
66-
- '*'
67-
- '+.lan'
68-
- '+.local'
69-
default-nameserver:
70-
- 223.5.5.5
71-
- 119.29.29.29
72-
nameserver:
73-
- 'https://1.1.1.1/dns-query'
74-
- 'https://8.8.8.8/dns-query'
75-
proxy-server-nameserver:
76-
- "https://223.5.5.5/dns-query"
77-
- "https://1.12.12.12/dns-query"
78-
nameserver-policy:
79-
"geosite:cn,private":
80-
- "https://223.5.5.5/dns-query"
81-
- "https://1.12.12.12/dns-query"
82-
8359
proxy-providers:
8460
provider1:
8561
type: http
@@ -99,34 +75,35 @@ proxy-groups:
9975
include-all: true
10076

10177
rules:
102-
# direct FCM
103-
- AND,((NETWORK,TCP),(DST-PORT,5228-5230),(OR,((DOMAIN-KEYWORD,google)))),DIRECT
104-
105-
# direct ntp
106-
- AND,((NETWORK,UDP),(DST-PORT,123)),DIRECT
78+
proxy-groups:
79+
- name: PROXY
80+
type: select
81+
include-all: true
10782

108-
# geosite rules
83+
rules:
84+
# rules geosite
10985
- GEOSITE,private,DIRECT
11086
- GEOSITE,telegram,PROXY
111-
- GEOSITE,youtube,PROXY
11287
- GEOSITE,google,PROXY
88+
- GEOSITE,googlefcm,DIRECT
89+
- GEOSITE,bilibili,DIRECT
90+
- GEOSITE,youtube,PROXY
11391
- GEOSITE,twitter,PROXY
11492
- GEOSITE,pixiv,PROXY
11593
- GEOSITE,category-scholar-!cn,PROXY
116-
- GEOSITE,bilibili,DIRECT
117-
- GEOSITE,onedrive,DIRECT
94+
- GEOSITE,onedrive,PROXY
11895
- GEOSITE,microsoft@cn,DIRECT
11996
- GEOSITE,apple-cn,DIRECT
12097
- GEOSITE,steam@cn,DIRECT
12198
- GEOSITE,category-games@cn,DIRECT
12299
- GEOSITE,geolocation-!cn,PROXY
123100
- GEOSITE,cn,DIRECT
124101

125-
# geoip rules
102+
# rules geoip
126103
- GEOIP,private,DIRECT,no-resolve
127-
- GEOIP,telegram,PROXY
128-
- GEOIP,CN,DIRECT
104+
- GEOIP,cn,DIRECT
129105
- MATCH,PROXY
106+
130107
```
131108

132109
**代理模块**:如 [box_for_magisk](https://github.com/taamarin/box_for_magisk)[akashaProxy](https://github.com/akashaProxy/akashaProxy) 等。这些模块通常运行在系统层级,适合需要更高权限或更深度集成的场景。

src/bin/AdGuardHome.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dns:
6060
bootstrap_prefer_ipv6: false
6161
upstream_timeout: 10s
6262
private_networks: []
63-
use_private_ptr_resolvers: false
63+
use_private_ptr_resolvers: true
6464
local_ptr_upstreams: []
6565
use_dns64: false
6666
dns64_prefixes: []

src/bin/data/filters/1732747955.txt

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@
512512
||mobaliyun.res.mgtv.com^
513513
||mobile.da.mgtv.com^
514514
||mobilelog.upqzfile.com^
515-
||mon.zijieapi.com^
516515
||monitor-ads-test.huan.tv^
517516
||monitor-uu.play.aiseet.atianqi.com^
518517
||monitor.music.qq.com^
@@ -718,7 +717,6 @@
718717
||tnc3-aliec2.bytedance.com^
719718
||tnc3-aliec2.snssdk.com^
720719
||tnc3-aliec2.toutiaoapi.com^
721-
||tnc3-aliec2.zijieapi.com^
722720
||tnc3-alisc1.bytedance.com^
723721
||tnc3-alisc1.snssdk.com^
724722
||tnc3-alisc1.toutiaoapi.com^
@@ -781,7 +779,6 @@
781779
||v2mi.gdt.qq.com^
782780
||v3-ad.video.yximgs.com^
783781
||v3.gdt.qq.com^
784-
||vali-ugc.cp31.ott.cibntv.net^
785782
||vd6.l.qq.com^
786783
||vi.l.qq.com^
787784
||video-ad.sm.cn^
@@ -838,6 +835,22 @@
838835
||zeus.ad.xiaomi.com^
839836
||zhihu-web-analytics.zhihu.com^
840837
||zxid-m.mobileservice.cn^
838+
||1rtb.com^
839+
||a.market.xiaomi.com^
840+
||ad.gameley.com^
841+
||adintl.cn^
842+
||adx.adwangmai.com^
843+
||data.hicloud.com^
844+
||log.aliyuncs.com^
845+
||ubixioe.com^
846+
||vlion.cn^
847+
||yfanads.com^
848+
||zhangyuyidong.cn^
849+
*-ad.sm.cn*
850+
*-ad.video.yximgs.com*
851+
*-ad.wtzw.com*
852+
*-be-pack-sign.pglstatp-toutiao.com*
853+
*-normal.zijieapi.com*
841854
/.*.1rtb.com/
842855
/.*.a.market.xiaomi.com/
843856
/.*.ad.gameley.com/
@@ -856,4 +869,3 @@
856869
/[a-zA-Z0-9.-]*-be-pack-sign.pglstatp-toutiao.com/
857870
/[a-zA-Z0-9.-]*-normal-[a-zA-Z0-9.-]*.zijieapi.com/
858871
/[a-zA-Z0-9.-]*-normal.zijieapi.com/
859-
/cloudinject[a-zA-Z0-9.-]*-dev.*.[a-zA-Z0-9.-]*-[a-zA-Z0-9.-]*-[a-zA-Z0-9.-]*.amazonaws.com/

src/module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=AdGuardHome
22
name=AdGuardHome for Root
3-
version=20250725
4-
versionCode=41
3+
version=20250803
4+
versionCode=42
55
author=twoone3
66
description=none
77
updateJson=https://raw.githubusercontent.com/twoone-3/AdGuardHomeForRoot/main/version.json

version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"versionCode": 41,
3-
"version": "20250725",
2+
"versionCode": 42,
3+
"version": "20250803",
44
"zipUrl": "https://github.com/twoone-3/AdGuardHomeForRoot/releases/latest/download/AdGuardHomeForRoot_arm64.zip",
55
"changelog": "https://raw.githubusercontent.com/twoone-3/AdGuardHomeForRoot/main/changelog.md"
66
}

0 commit comments

Comments
 (0)