Skip to content
Snippets Groups Projects
Commit 8e73d832 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

samples: simplify knot.sample.conf, enable user: knot:knot

parent 10d9f71e
No related branches found
No related tags found
1 merge request!918packaging updates
#
# This is a sample of a minimal configuration file for Knot DNS. # This is a sample of a minimal configuration file for Knot DNS.
# For more details, see man 5 knot.conf or refer to the server documentation. # See knot.conf(5) or refer to the server documentation.
#
server: server:
# Listen on IPv4 and IPv6 localhost rundir: "@run_dir@"
listen: 127.0.0.1@53 user: knot:knot
listen: ::1@53 listen: [ 127.0.0.1@53, ::1@53 ]
# User for running the server.
# user: knot:knot
log: log:
# Log info and more serious events to syslog.
- target: syslog - target: syslog
any: info any: info
remote: remote:
# - id: slave # - id: slave
# address: 203.0.113.1@53 # address: 192.168.1.1@53
# #
# - id: master # - id: master
# address: 198.51.100.1@53 # address: 192.168.2.1@53
acl: acl:
# - id: acl_slave # - id: acl_slave
# address: 203.0.113.1 # address: 192.168.1.1
# action: transfer # action: transfer
# - id: acl_master # - id: acl_master
# address: 198.51.100.1 # address: 192.168.2.1
# action: notify # action: notify
template: template:
# - id: default - id: default
# storage: "@storage_dir@" storage: "@storage_dir@"
file: "%s.zone"
zone: zone:
# # Master zone. # # Master zone
# - domain: example.com # - domain: example.com
# file: "example.com.zone"
# notify: slave # notify: slave
# acl: acl_slave # acl: acl_slave
# # Slave zone. # # Slave zone
# - domain: example.net # - domain: example.net
# master: master # master: master
# acl: acl_master # acl: acl_master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment