Reapply "feat(dns): protect provider DNS from unconfirmed overrides (#7902)"

This reverts commit df79ed3efb.
This commit is contained in:
wonfen
2026-09-21 21:22:45 +08:00
parent d7e0126586
commit 07825afb1e
37 changed files with 570 additions and 36 deletions
+5
View File
@@ -698,6 +698,11 @@ export const translationKeys = [
'settings.modals.tun.messages.routeExcludeAddressHint',
'settings.modals.dns.dialog.title',
'settings.modals.dns.dialog.warning',
'settings.modals.dns.protection.title',
'settings.modals.dns.protection.message',
'settings.modals.dns.protection.enableAnyway',
'settings.modals.dns.protection.keepDisabled',
'settings.modals.dns.protection.autoDisabled',
'settings.modals.dns.sections.general',
'settings.modals.dns.sections.fallbackFilter',
'settings.modals.dns.sections.hosts',
+7
View File
@@ -1041,6 +1041,13 @@ export interface TranslationResources {
configError: string
saved: string
}
protection: {
autoDisabled: string
enableAnyway: string
keepDisabled: string
message: string
title: string
}
sections: {
fallbackFilter: string
general: string