You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
792 B
YAML
42 lines
792 B
YAML
|
|
listen:
|
|
- network: tcp
|
|
host: 0.0.0.0
|
|
port: 1053
|
|
|
|
- network: udp
|
|
host: 0.0.0.0
|
|
port: 1053
|
|
|
|
blacklistfile: ./testdata/blacklist.dat
|
|
hostfile: ./testdata/hosts
|
|
timeout: 2
|
|
debug: true
|
|
|
|
defaultupstream:
|
|
-
|
|
network: tcp
|
|
host: 8.8.8.8
|
|
port: 53
|
|
-
|
|
network:udp
|
|
host: 8.8.8.8
|
|
port: 53
|
|
|
|
forwardrules:
|
|
- domainfile: ./testdata/cn.dat
|
|
server:
|
|
- network: tcp
|
|
host: 114.114.114.114
|
|
port: 53
|
|
|
|
- domainfile: testdata/us.dat
|
|
server:
|
|
- network: tcp
|
|
host: 8.8.8.8
|
|
port: 53
|
|
|
|
- network: https
|
|
host: 74.175.200.100
|
|
port: 443
|