update once

This commit is contained in:
XOF
2026-01-06 02:25:24 +08:00
commit 7bf4f27be3
25 changed files with 4587 additions and 0 deletions

61
data/config.json.example Normal file
View File

@@ -0,0 +1,61 @@
{
"debug": false,
"profiling": false,
"strategy": 2,
"timeout": 2,
"serve_addr": "127.0.0.1:8853",
"web_addr": "0.0.0.0:8854",
"socks_proxy": "",
"built_in_cache": false,
"max_active_connections": 50,
"max_idle_connections": 20,
"stats_save_interval": 5,
"doh_server": {
"username": "user",
"password": "password"
},
"web_auth": {
"username": "admin",
"password": "your_secure_password"
}
"bootstrap": [
{
"address": "udp://223.5.5.5:53"
},
{
"address": "udp://223.6.6.6:53"
}
],
"upstreams": [
{
"address": "udp://223.5.5.5:53",
"is_primary": true
},
{
"address": "udp://223.6.6.6:53",
"is_primary": true
},
{
"address": "udp://114.114.114.114:53",
"is_primary": true
},
{
"address": "udp://119.28.28.28:53",
"is_primary": true
},
{
"address": "tcp-tls://one.one.one.one:853",
"use_socks": false
},
{
"address": "https://dns.google/dns-query",
"use_socks": false,
"match": [
".*\\.onion"
]
}
],
"blacklist": [
"^.*\\.?bing.com*"
]
}