From 00e44cd141020e28fce8416bf83a41562989cbf5 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sun, 9 Jan 2022 00:36:05 +0800 Subject: [PATCH] [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 --- config/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/config.go b/config/config.go index 54db63d6..73389540 100644 --- a/config/config.go +++ b/config/config.go @@ -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",