use DoH3 in dae
This commit is contained in:
parent
3bcd428c2b
commit
1ee4ca4d80
1 changed files with 4 additions and 4 deletions
|
|
@ -24,18 +24,18 @@ dns {
|
||||||
ipversion_prefer: 4
|
ipversion_prefer: 4
|
||||||
|
|
||||||
upstream {
|
upstream {
|
||||||
googledns: 'tcp+udp://8.8.8.8:53'
|
cloudflaredns: 'http3://1.1.1.1/dns-query'
|
||||||
alidns: 'udp://223.5.5.5:53'
|
alidns: 'http3://223.6.6.6/dns-query'
|
||||||
}
|
}
|
||||||
routing {
|
routing {
|
||||||
request {
|
request {
|
||||||
qname(geosite: category-ads) -> reject
|
qname(geosite: category-ads) -> reject
|
||||||
qname(geosite: category-ads-all) -> reject
|
qname(geosite: category-ads-all) -> reject
|
||||||
qname(geosite: cn) -> alidns
|
qname(geosite: cn) -> alidns
|
||||||
fallback: googledns
|
fallback: cloudflaredns
|
||||||
}
|
}
|
||||||
response {
|
response {
|
||||||
upstream(googledns) && ip(geoip: private) -> alidns
|
upstream(cloudflaredns) && ip(geoip: private) -> alidns
|
||||||
fallback: accept
|
fallback: accept
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue