diff --git a/core/src/main/golang/native/config/process.go b/core/src/main/golang/native/config/process.go index df019214..606c0782 100644 --- a/core/src/main/golang/native/config/process.go +++ b/core/src/main/golang/native/config/process.go @@ -14,7 +14,6 @@ import ( "github.com/metacubex/mihomo/log" "github.com/metacubex/mihomo/config" - "github.com/metacubex/mihomo/dns" ) var processors = []processor{ @@ -70,7 +69,7 @@ func patchDns(cfg *config.RawConfig, _ string) error { } if cfg.ClashForAndroid.AppendSystemDNS { - cfg.DNS.NameServer = append(cfg.DNS.NameServer, "dhcp://"+dns.SystemDNSPlaceholder) + cfg.DNS.NameServer = append(cfg.DNS.NameServer, "system://") } return nil