mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
feat: remote dns for sing
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"Level": "error",
|
||||
"Timestamp": true
|
||||
},
|
||||
"DnsConfigPath": "/etc/V2bX/dns.json",
|
||||
"NTP": {
|
||||
"Enable": true,
|
||||
"Server": "time.apple.com",
|
||||
@@ -28,6 +29,7 @@
|
||||
"ListenIP": "0.0.0.0",
|
||||
"SendIP": "0.0.0.0",
|
||||
"EnableProxyProtocol": false,
|
||||
"EnableDNS": true
|
||||
"DomainStrategy": "ipv4_only",
|
||||
"LimitConfig": {
|
||||
"EnableRealtime": false,
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
"Server": "time.apple.com",
|
||||
"ServerPort": 0
|
||||
},
|
||||
"DnsConfigPath": "/etc/V2bX/dns.json",
|
||||
// SingBox源配置文件目录,用于引用标准SingBox配置文件
|
||||
"OriginalPath": "/etc/V2bX/sing_origin.json"
|
||||
},
|
||||
@@ -113,7 +114,9 @@
|
||||
// 开启 TCP Fast Open
|
||||
"EnableTFO": true,
|
||||
|
||||
// 设置 Domain Strategy
|
||||
// 开启 DNS
|
||||
"EnableDNS" : true,
|
||||
// 设置 Domain Strategy 需要开启 DNS ,默认 AsIS
|
||||
// 可选 prefer_ipv4 / prefer_ipv6 / ipv4_only / ipv6_only
|
||||
"DomainStrategy": "ipv4_only",
|
||||
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
"SendIP": "0.0.0.0",
|
||||
"EnableProxyProtocol": false,
|
||||
"EnableTFO": true,
|
||||
"DomainStrategy": "ipv4_only"
|
||||
"DNSType": "ipv4_only"
|
||||
}
|
||||
Reference in New Issue
Block a user