summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDaniel Salzman <daniel.salzman@nic.cz>2018-08-09 15:03:02 +0200
committerDaniel Salzman <daniel.salzman@nic.cz>2018-08-09 16:26:30 +0200
commit8e73d8326dd1d6ddaf477ae0fa46235d62a46d5c (patch)
treee70ec0ebc40bd4e5214c66d95e85892531b67048 /samples
parentdoc: removed obsolete note that is no longer true (diff)
downloadknot-8e73d8326dd1d6ddaf477ae0fa46235d62a46d5c.tar.xz
knot-8e73d8326dd1d6ddaf477ae0fa46235d62a46d5c.zip
samples: simplify knot.sample.conf, enable user: knot:knot
Diffstat (limited to 'samples')
-rw-r--r--samples/knot.sample.conf.in31
1 files changed, 13 insertions, 18 deletions
diff --git a/samples/knot.sample.conf.in b/samples/knot.sample.conf.in
index 2c9ab3014..10302f958 100644
--- a/samples/knot.sample.conf.in
+++ b/samples/knot.sample.conf.in
@@ -1,48 +1,43 @@
-#
# 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:
- # Listen on IPv4 and IPv6 localhost
- listen: 127.0.0.1@53
- listen: ::1@53
- # User for running the server.
- # user: knot:knot
+ rundir: "@run_dir@"
+ user: knot:knot
+ listen: [ 127.0.0.1@53, ::1@53 ]
log:
- # Log info and more serious events to syslog.
- target: syslog
any: info
remote:
# - id: slave
-# address: 203.0.113.1@53
+# address: 192.168.1.1@53
#
# - id: master
-# address: 198.51.100.1@53
+# address: 192.168.2.1@53
acl:
# - id: acl_slave
-# address: 203.0.113.1
+# address: 192.168.1.1
# action: transfer
# - id: acl_master
-# address: 198.51.100.1
+# address: 192.168.2.1
# action: notify
template:
-# - id: default
-# storage: "@storage_dir@"
+ - id: default
+ storage: "@storage_dir@"
+ file: "%s.zone"
zone:
-# # Master zone.
+# # Master zone
# - domain: example.com
-# file: "example.com.zone"
# notify: slave
# acl: acl_slave
-# # Slave zone.
+# # Slave zone
# - domain: example.net
# master: master
# acl: acl_master