[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:
Skyxim 2022-01-09 00:36:05 +08:00
parent 4ab986cccb
commit 00e44cd141

View File

@ -208,8 +208,8 @@ func UnmarshalRawConfig(buf []byte) (*RawConfig, error) {
Tun: Tun{ Tun: Tun{
Enable: false, Enable: false,
Stack: "gvisor", Stack: "gvisor",
DnsHijack: []string{"192.18.0.2:53"}, DnsHijack: []string{},
AutoRoute: true, AutoRoute: false,
}, },
DNS: RawDNS{ DNS: RawDNS{
Enable: false, Enable: false,
@ -228,8 +228,8 @@ func UnmarshalRawConfig(buf []byte) (*RawConfig, error) {
"1.0.0.1", "1.0.0.1",
}, },
NameServer: []string{ NameServer: []string{
"https://8.8.8.8/dns-query", "223.5.5.5",
"https://1.0.0.1/dns-query", "119.29.29",
}, },
FakeIPFilter: []string{ FakeIPFilter: []string{
"dns.msftnsci.com", "dns.msftnsci.com",