Skip to content
Snippets Groups Projects
Unverified Commit 7ef4b7ee authored by GyDi's avatar GyDi
Browse files

fix: change default tun dns-hijack

parent 4668be6e
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ pub fn use_tun(mut config: Mapping, enable: bool) -> Mapping {
revise!(tun_val, "enable", enable);
if enable {
append!(tun_val, "stack", "gvisor");
append!(tun_val, "dns-hijack", vec!["198.18.0.2:53"]);
append!(tun_val, "dns-hijack", vec!["any:53"]);
append!(tun_val, "auto-route", true);
append!(tun_val, "auto-detect-interface", true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment