summaryrefslogtreecommitdiffstats
path: root/samples/knot.sample.conf.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--samples/knot.sample.conf.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/samples/knot.sample.conf.in b/samples/knot.sample.conf.in
new file mode 100644
index 0000000..10302f9
--- /dev/null
+++ b/samples/knot.sample.conf.in
@@ -0,0 +1,43 @@
+# 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
+
+remote:
+# - id: slave
+# address: 192.168.1.1@53
+#
+# - id: master
+# address: 192.168.2.1@53
+
+acl:
+# - id: acl_slave
+# address: 192.168.1.1
+# action: transfer
+
+# - id: acl_master
+# address: 192.168.2.1
+# action: notify
+
+template:
+ - id: default
+ storage: "@storage_dir@"
+ file: "%s.zone"
+
+zone:
+# # Master zone
+# - domain: example.com
+# notify: slave
+# acl: acl_slave
+
+# # Slave zone
+# - domain: example.net
+# master: master
+# acl: acl_master