mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 03:32:17 +08:00
adjust default value
This commit is contained in:
parent
d02421414f
commit
c043281b9f
|
@ -73,8 +73,8 @@ export const defaultControledMihomoConfig: Partial<IMihomoConfig> = {
|
|||
'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,
|
||||
|
|
|
@ -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 = () => {
|
|||
</SettingItem>
|
||||
<div className="flex flex-col items-stretch">
|
||||
<h3>真实 IP 回应</h3>
|
||||
{renderListInputs('fakeIPFilter', '例: +.lan')}
|
||||
{renderListInputs('fakeIPFilter', '例:+.lan')}
|
||||
</div>
|
||||
<Divider className="my-2" />
|
||||
</>
|
||||
|
@ -221,12 +221,12 @@ const DNS: React.FC = () => {
|
|||
|
||||
<div className="flex flex-col items-stretch">
|
||||
<h3>代理节点域名解析</h3>
|
||||
{renderListInputs('proxyServerNameserver', '例: tls://223.5.5.5')}
|
||||
{renderListInputs('proxyServerNameserver', '例:tls://223.5.5.5')}
|
||||
</div>
|
||||
<Divider className="my-2" />
|
||||
<div className="flex flex-col items-stretch">
|
||||
<h3>DNS 服务器</h3>
|
||||
{renderListInputs('nameserver', '例: tls://223.5.5.5')}
|
||||
{renderListInputs('nameserver', '例:tls://223.5.5.5')}
|
||||
</div>
|
||||
<Divider className="my-2" />
|
||||
<SettingItem title="覆盖DNS策略" divider>
|
||||
|
|
Loading…
Reference in New Issue
Block a user