mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 17:20:35 +08:00
Chore: prefer domain for DNSPod in AdGuard DNS Mapping
This commit is contained in:
parent
e443d6d939
commit
ce924cfd2e
@ -244,10 +244,8 @@ export const buildDomesticRuleset = task(require.main === module, __filename)(as
|
|||||||
span,
|
span,
|
||||||
[
|
[
|
||||||
'# Local DNS Mapping for AdGuard Home',
|
'# Local DNS Mapping for AdGuard Home',
|
||||||
'tls://1.12.12.12',
|
'tls://dot.pub',
|
||||||
'tls://120.53.53.53',
|
'https://doh.pub/dns-query',
|
||||||
'https://1.12.12.12/dns-query',
|
|
||||||
'https://120.53.53.53/dns-query',
|
|
||||||
'[//]udp://10.10.1.1:53',
|
'[//]udp://10.10.1.1:53',
|
||||||
...(([DOMESTICS, DIRECTS, LAN, HOSTS] as const).flatMap(Object.values) as DNSMapping[]).flatMap(({ domains, dns: _dns }) => domains.flatMap((domain) => {
|
...(([DOMESTICS, DIRECTS, LAN, HOSTS] as const).flatMap(Object.values) as DNSMapping[]).flatMap(({ domains, dns: _dns }) => domains.flatMap((domain) => {
|
||||||
let dns;
|
let dns;
|
||||||
|
|||||||
@ -444,7 +444,7 @@ export const DOH_BOOTSTRAP: Record<string, DNSMapping> = {
|
|||||||
|
|
||||||
export const AdGuardHomeDNSMapping = {
|
export const AdGuardHomeDNSMapping = {
|
||||||
system: ['udp://10.10.1.1:53'],
|
system: ['udp://10.10.1.1:53'],
|
||||||
'https://doh.pub/dns-query': ['tls://1.12.12.12', 'tls://120.53.53.53', 'https://1.12.12.12/dns-query', 'https://120.53.53.53/dns-query'],
|
'https://doh.pub/dns-query': ['tls://dot.pub', 'https://doh.pub/dns-query'],
|
||||||
'quic://dns.alidns.com:853': ['quic://223.5.5.5', 'quic://223.6.6.6', 'h3://223.5.5.5/dns-query', 'h3://223.6.6.6/dns-query'],
|
'quic://dns.alidns.com:853': ['quic://223.5.5.5', 'quic://223.6.6.6', 'h3://223.5.5.5/dns-query', 'h3://223.6.6.6/dns-query'],
|
||||||
'https://doh.360.cn/dns-query': ['https://doh.360.cn/dns-query', 'tls://dot.360.cn'],
|
'https://doh.360.cn/dns-query': ['https://doh.360.cn/dns-query', 'tls://dot.360.cn'],
|
||||||
'180.76.76.76': ['udp://180.76.76.76'],
|
'180.76.76.76': ['udp://180.76.76.76'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user