-
-
Save LEXUGE/17f5c4a9d77e5fbe2b2a7fe1bd85fb1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
verbosity: 'info' | |
cache_size: 4096 | |
address: 0.0.0.0:53 | |
table: | |
- tag: start | |
if: | |
qtype: | |
- AAAA | |
then: | |
- disable | |
- end | |
else: | |
- skip | |
- dispatch | |
- tag: dispatch | |
if: any | |
then: | |
- query: domestic | |
- check_secure | |
- tag: check_secure | |
if: | |
geoip: | |
on: resp | |
codes: | |
- CN | |
else: | |
- query: secure | |
- end | |
upstreams: | |
- method: | |
udp: | |
addr: 114.114.114.114:53 | |
tag: 114DNS | |
- method: | |
udp: | |
addr: 223.6.6.6:53 | |
tag: Ali | |
- method: | |
hybrid: | |
- 114DNS | |
- Ali | |
tag: domestic | |
- method: | |
https: | |
no_sni: true | |
name: cloudflare-dns.com | |
addr: 1.1.1.1:443 | |
tag: cloudflare | |
- method: | |
https: | |
no_sni: true | |
name: dns.quad9.net | |
addr: 9.9.9.9:443 | |
tag: quad9 | |
- method: | |
hybrid: | |
- cloudflare | |
- quad9 | |
tag: secure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment