summaryrefslogtreecommitdiffstats
path: root/samples/knot.sample.conf.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:53:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:53:35 +0000
commit69c6a41ffb878ef98c9378ed4b1634a404cfaa7f (patch)
treeb2a4f704565d62fbb129ab9dc3b35977c50e6e7f /samples/knot.sample.conf.in
parentInitial commit. (diff)
downloadknot-69c6a41ffb878ef98c9378ed4b1634a404cfaa7f.tar.xz
knot-69c6a41ffb878ef98c9378ed4b1634a404cfaa7f.zip
Adding upstream version 2.7.6.upstream/2.7.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'samples/knot.sample.conf.in')
-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