mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-07 05:51:20 +07:00
Update dns.md
This commit is contained in:
parent
80d9091d68
commit
5d23ce1e6f
24
docs/dns.md
24
docs/dns.md
@ -59,9 +59,11 @@ dns {
|
||||
googledns: 'tcp+udp://dns.google:53'
|
||||
alidns: 'udp://dns.alidns.com:53'
|
||||
}
|
||||
request {
|
||||
qname(geosite:cn) -> alidns
|
||||
fallback: googledns
|
||||
routing {
|
||||
request {
|
||||
qname(geosite:cn) -> alidns
|
||||
fallback: googledns
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
@ -73,13 +75,15 @@ dns {
|
||||
googledns: 'tcp+udp://dns.google:53'
|
||||
alidns: 'udp://dns.alidns.com:53'
|
||||
}
|
||||
request {
|
||||
fallback: alidns
|
||||
}
|
||||
response {
|
||||
upstream(googledns) -> accept
|
||||
!qname(geosite:cn) && ip(geoip:private) -> googledns
|
||||
fallback: accept
|
||||
routing {
|
||||
request {
|
||||
fallback: alidns
|
||||
}
|
||||
response {
|
||||
upstream(googledns) -> accept
|
||||
!qname(geosite:cn) && ip(geoip:private) -> googledns
|
||||
fallback: accept
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user