mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-07 09:53:58 +08:00
[Style] Modify the default configuration, tun config delete default hijack dns and modify auto-route to false. modify NameServer to 223.5.5.5 and 119.29.29.29 by Skyxim
This commit is contained in:
parent
0a96994452
commit
fea7d47d19
@ -208,8 +208,8 @@ func UnmarshalRawConfig(buf []byte) (*RawConfig, error) {
|
||||
Tun: Tun{
|
||||
Enable: false,
|
||||
Stack: "gvisor",
|
||||
DnsHijack: []string{"192.18.0.2:53"},
|
||||
AutoRoute: true,
|
||||
DnsHijack: []string{},
|
||||
AutoRoute: false,
|
||||
},
|
||||
DNS: RawDNS{
|
||||
Enable: false,
|
||||
@ -228,8 +228,8 @@ func UnmarshalRawConfig(buf []byte) (*RawConfig, error) {
|
||||
"1.0.0.1",
|
||||
},
|
||||
NameServer: []string{
|
||||
"https://8.8.8.8/dns-query",
|
||||
"https://1.0.0.1/dns-query",
|
||||
"223.5.5.5",
|
||||
"119.29.29",
|
||||
},
|
||||
FakeIPFilter: []string{
|
||||
"dns.msftnsci.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user