cool-dns/exampleConfig.yml

41 lines
657 B
YAML
Raw Permalink Normal View History

2020-12-21 21:43:07 +00:00
zones:
- zone: example.com.
file: zonefile.txt
2020-12-25 13:43:14 +00:00
- zone: example.com.
file: zonefile2.txt
acl:
2021-02-01 23:49:23 +00:00
- vpn
2020-12-25 13:43:14 +00:00
2020-12-21 21:43:07 +00:00
acl:
- name: vpn
2020-12-22 18:07:39 +00:00
cidr: 10.0.0.0/24
2020-12-25 13:43:14 +00:00
- name: lan
cidr: 192.168.0.0/16
- name: local
cidr: 127.0.0.1/32
2020-12-21 21:43:07 +00:00
forward:
2020-12-23 20:44:33 +00:00
acl:
2020-12-27 21:13:13 +00:00
- local
2020-12-23 20:44:33 +00:00
server: "8.8.8.8:53"
2020-12-26 13:41:08 +00:00
2020-12-27 21:13:13 +00:00
address: 0.0.0.0:8053
2020-12-30 20:59:33 +00:00
tls:
2021-02-01 23:49:23 +00:00
enable: false
2020-12-30 20:59:33 +00:00
address: 0.0.0.0:8853
cert: cert.crt
key: private.key
2020-12-27 21:13:13 +00:00
blacklist:
- url: https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
format: host
2020-12-30 13:14:52 +00:00
- url: https://blocklistproject.github.io/Lists/alt-version/ads-nl.txt
format: line
2021-01-08 15:08:57 +00:00
lego:
enable: true
address: :8080
username: lego
secret: "133742069ab"