支持DNS上游服务器的并行,最快,均衡查询模式

This commit is contained in:
Alex Yang
2025-12-17 19:15:17 +08:00
parent 307fbefee2
commit 5d0fb6d4fe
42 changed files with 714 additions and 584346 deletions

View File

@@ -37,9 +37,16 @@ func createDefaultConfig(configFile string) error {
"223.5.5.5:53",
"223.6.6.6:53"
],
"dnssecUpstreamDNS": [
"8.8.8.8:53",
"1.1.1.1:53"
],
"timeout": 5000,
"statsFile": "./data/stats.json",
"saveInterval": 300
"saveInterval": 300,
"cacheTTL": 30,
"enableDNSSEC": true,
"queryMode": "parallel"
},
"http": {
"port": 8080,