Skip to content

Instantly share code, notes, and snippets.

@LEXUGE
Created December 17, 2020 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LEXUGE/f629c9229851c5ad5816469de2495eca to your computer and use it in GitHub Desktop.
Save LEXUGE/f629c9229851c5ad5816469de2495eca to your computer and use it in GitHub Desktop.
---
verbosity: info
cache_size: 4096
address: 0.0.0.0:2053
table:
- tag: start
if:
qtype:
- AAAA
then:
- disable
- end
else:
- skip
- dispatch
- tag: dispatch
if:
domain:
- PATH TO DOMAIN LIST
then:
- query: domestic
- end
else:
- query: secure
- end
upstreams:
- method:
udp:
addr: 114.114.114.114:53
timeout: 2
tag: 114DNS
- method:
udp: 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