diff --git a/src/main/utils/template.ts b/src/main/utils/template.ts index 26f2db1..5fd7dae 100644 --- a/src/main/utils/template.ts +++ b/src/main/utils/template.ts @@ -73,8 +73,8 @@ export const defaultControledMihomoConfig: Partial = { 'fake-ip-filter': ['*', '+.lan', '+.local', 'time.*.com', 'ntp.*.com', '+.market.xiaomi.com'], 'use-hosts': false, 'use-system-hosts': false, - nameserver: ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'], - 'proxy-server-nameserver': ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'] + nameserver: ['https://120.53.53.53/dns-query', 'https://223.5.5.5/dns-query'], + 'proxy-server-nameserver': ['https://120.53.53.53/dns-query', 'https://223.5.5.5/dns-query'] }, sniffer: { enable: true, diff --git a/src/renderer/src/pages/dns.tsx b/src/renderer/src/pages/dns.tsx index 6bc7865..5a298bd 100644 --- a/src/renderer/src/pages/dns.tsx +++ b/src/renderer/src/pages/dns.tsx @@ -28,10 +28,10 @@ const DNS: React.FC = () => { 'use-hosts': useHosts = false, 'use-system-hosts': useSystemHosts = false, 'respect-rules': respectRules = false, - nameserver = ['https://doh.pub/dns-query', 'https://dns.alidns.com/dns-query'], + nameserver = ['https://120.53.53.53/dns-query', 'https://223.5.5.5/dns-query'], 'proxy-server-nameserver': proxyServerNameserver = [ - 'https://doh.pub/dns-query', - 'https://dns.alidns.com/dns-query' + 'https://120.53.53.53/dns-query', + 'https://223.5.5.5/dns-query' ] } = dns || {} const [changed, setChanged] = useState(false) @@ -195,7 +195,7 @@ const DNS: React.FC = () => {

真实 IP 回应

- {renderListInputs('fakeIPFilter', '例: +.lan')} + {renderListInputs('fakeIPFilter', '例:+.lan')}
@@ -221,12 +221,12 @@ const DNS: React.FC = () => {

代理节点域名解析

- {renderListInputs('proxyServerNameserver', '例: tls://223.5.5.5')} + {renderListInputs('proxyServerNameserver', '例:tls://223.5.5.5')}

DNS 服务器

- {renderListInputs('nameserver', '例: tls://223.5.5.5')} + {renderListInputs('nameserver', '例:tls://223.5.5.5')}