fix: default dns config

This commit is contained in:
GyDi 2022-10-22 22:26:40 +08:00
parent 294d980b52
commit 2f740b570d
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

View File

@ -57,8 +57,8 @@ fn use_dns_for_tun(mut config: Mapping) -> Mapping {
// 开启tun将同时开启dns
revise!(dns_val, "enable", true);
// 借鉴cfw的默认配置
append!(dns_val, "enhanced-mode", "fake-ip");
append!(dns_val, "fake-ip-range", "198.18.0.1/16");
append!(
dns_val,
"nameserver",