summaryrefslogtreecommitdiffstats
path: root/samples/knot.sample.conf.in
blob: e53575709183c82ee08e53f3c56458d4bcf4bca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This is a sample of a minimal configuration file for Knot DNS.
# See knot.conf(5) or refer to the server documentation.

server:
    rundir: "@run_dir@"
    user: knot:knot
    listen: [ 127.0.0.1@53, ::1@53 ]

log:
  - target: syslog
    any: info

database:
    storage: "@storage_dir@"

remote:
#  - id: secondary
#    address: 192.168.1.1@53
#
#  - id: primary
#    address: 192.168.2.1@53

acl:
#  - id: acl_secondary
#    address: 192.168.1.1
#    action: transfer

#  - id: acl_primary
#    address: 192.168.2.1
#    action: notify

template:
  - id: default
    storage: "@storage_dir@"
    file: "%s.zone"

zone:
#    # Primary zone
#  - domain: example.com
#    notify: secondary
#    acl: acl_secondary

#    # Secondary zone
#  - domain: example.net
#    master: primary
#    acl: acl_primary