Update On Tue Oct 28 19:41:17 CET 2025

This commit is contained in:
github-action[bot]
2025-10-28 19:41:18 +01:00
parent 521877b2c5
commit d6c0cc343d
83 changed files with 70619 additions and 71116 deletions

View File

@@ -67,15 +67,12 @@ func patchProfile(cfg *config.RawConfig, _ string) error {
func patchDns(cfg *config.RawConfig, _ string) error {
if !cfg.DNS.Enable {
cfg.DNS = config.RawDNS{
Enable: true,
UseHosts: true,
DefaultNameserver: defaultNameServers,
NameServer: defaultNameServers,
EnhancedMode: C.DNSFakeIP,
FakeIPRange: defaultFakeIPRange,
FakeIPFilter: defaultFakeIPFilter,
}
cfg.DNS = config.DefaultRawConfig().DNS
cfg.DNS.Enable = true
cfg.DNS.NameServer = defaultNameServers
cfg.DNS.EnhancedMode = C.DNSFakeIP
cfg.DNS.FakeIPRange = defaultFakeIPRange
cfg.DNS.FakeIPFilter = defaultFakeIPFilter
cfg.ClashForAndroid.AppendSystemDNS = true
}