fix: default dns config
This commit is contained in:
parent
294d980b52
commit
2f740b570d
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user