多项更新优化

This commit is contained in:
Alex Yang
2025-12-26 09:02:59 +08:00
parent 356310ae75
commit b48dc4ed27
18 changed files with 1178 additions and 348 deletions

View File

@@ -5,18 +5,17 @@
"223.5.5.5:53"
],
"dnssecUpstreamDNS": [
"117.50.10.10:53",
"101.226.4.6:53",
"218.30.118.6:53",
"208.67.220.220:53",
"208.67.222.222:53"
"117.50.10.10",
"101.226.4.6",
"218.30.118.6",
"208.67.220.220",
"208.67.222.222"
],
"timeout": 5000,
"statsFile": "data/stats.json",
"saveInterval": 300,
"timeout": 5,
"saveInterval": 30,
"cacheTTL": 10,
"enableDNSSEC": true,
"queryMode": "loadbalance",
"queryMode": "parallel",
"domainSpecificDNS": {
"addr.arpa": [
"10.35.10.200:53"
@@ -45,7 +44,8 @@
"addr.arpa",
"amazehome.xyz",
".cn"
]
],
"enableIPv6": false
},
"http": {
"port": 8080,
@@ -55,7 +55,6 @@
"password": "admin"
},
"shield": {
"localRulesFile": "data/rules.txt",
"blacklists": [
{
"name": "AdGuard DNS filter",
@@ -79,7 +78,7 @@
"name": "My GitHub Rules",
"url": "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/costomize.txt",
"enabled": true,
"lastUpdateTime": "2025-11-29T17:05:40.283Z"
"lastUpdateTime": "2025-12-24T07:11:16.596Z"
},
{
"name": "CNList",
@@ -117,7 +116,7 @@
"name": "My Gitlab A/T Rules",
"url": "http://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/ads-and-trackers.txt",
"enabled": true,
"lastUpdateTime": "2025-12-18T10:38:42.344Z"
"lastUpdateTime": "2025-12-24T07:11:07.334Z"
},
{
"name": "My Gitlab Malware List",
@@ -141,15 +140,11 @@
}
],
"updateInterval": 3600,
"hostsFile": "data/hosts.txt",
"blockMethod": "NXDOMAIN",
"customBlockIP": "",
"statsFile": "./data/shield_stats.json",
"statsSaveInterval": 60,
"remoteRulesCacheDir": "data/remote_rules"
"statsSaveInterval": 60
},
"log": {
"file": "logs/dns-server.log",
"level": "debug",
"maxSize": 100,
"maxBackups": 10,