cool-dns/config.yml

41 lines
656 B
YAML

zones:
- zone: example.com.
file: zonefile.txt
- zone: example.com.
file: zonefile2.txt
acl:
- lan
acl:
- name: vpn
cidr: 10.0.0.0/24
- name: lan
cidr: 192.168.0.0/16
- name: local
cidr: 127.0.0.1/32
forward:
acl:
- local
server: "8.8.8.8:53"
address: 0.0.0.0:8053
tls:
enable: true
address: 0.0.0.0:8853
cert: cert.crt
key: private.key
blacklist:
- url: https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
format: host
- url: https://blocklistproject.github.io/Lists/alt-version/ads-nl.txt
format: line
lego:
enable: true
address: :8080
username: lego
secret: "133742069ab"