diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2015-05-19 09:45:50 +0200 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2015-05-19 09:45:50 +0200 |
commit | 6bfb70cdc4c627c0ac7ec972633679ba5f107dc4 (patch) | |
tree | 82636bd2c22003244f7f8430e9eaae998b144094 /samples | |
parent | doc: unify section header (diff) | |
download | knot-6bfb70cdc4c627c0ac7ec972633679ba5f107dc4.tar.xz knot-6bfb70cdc4c627c0ac7ec972633679ba5f107dc4.zip |
samples: update sample configuration
Diffstat (limited to 'samples')
-rw-r--r-- | samples/knot.sample.conf.in | 74 |
1 files changed, 33 insertions, 41 deletions
diff --git a/samples/knot.sample.conf.in b/samples/knot.sample.conf.in index b967fa377..e07c8a70d 100644 --- a/samples/knot.sample.conf.in +++ b/samples/knot.sample.conf.in @@ -1,57 +1,49 @@ # # This is a sample of a minimal configuration file for Knot DNS. -# For exhaustive list of all options see man 5 knot.conf or refer to user manual. +# For more details, see man 5 knot.conf or refer to the server documentation. # server: - # Identity of the server. - identity: "Knot DNS" - - # Version of the server (automatic value). - version: "" - - # Listening interfaces (all configured IPv4 and IPv6 interfaces). + # Listen on all configured IPv4 interfaces. listen: 0.0.0.0@53 + # Listen on all configured IPv6 interfaces. listen: ::@53 + # User for running the server. + # user: knot:knot -remote: - - id: slave - address: 203.0.113.1@53 +log: + # Log info and more serious events to syslog. + - target: syslog + any: info - - id: master - address: 198.51.100.1@53 +remote: +# - id: slave +# address: 203.0.113.1@53 +# +# - id: master +# address: 198.51.100.1@53 acl: - - id: acl_slave - address: 203.0.113.1 - action: xfer +# - id: acl_slave +# address: 203.0.113.1 +# action: transfer - - id: acl_master - address: 198.51.100.1 - action: notify +# - id: acl_master +# address: 198.51.100.1 +# action: notify template: - - id: default - storage: "@storage_dir@" +# - id: default +# storage: "@storage_dir@" zone: - # Master zone. - - domain: example.com - file: "@storage_dir@/example.com.zone" - notify: slave - acl: acl_slave - - # Slave zone. - - domain: example.net - file: "@storage_dir@/example.net.zone" - master: master - acl: acl_master - -log: - # Log info and more serious events to syslog. - - to: syslog - any: info - - # Log warnings, errors and criticals to stderr. - - to: stderr - any: warning +# # Master zone. +# - domain: example.com +# file: "example.com.zone" +# notify: slave +# acl: acl_slave + +# # Slave zone. +# - domain: example.net +# master: master +# acl: acl_master |