June 2018
Intermediate to advanced
368 pages
11h 1m
English
The configuration is straightforward and self-explanatory, as we can see from the example bare-bones setup:
# Example of a very simple Knot DNS configuration.
server:
listen: 0.0.0.0@53
listen: ::@53
zone:
- domain: example.com
storage: /var/lib/knot/zones/
file: example.com.zone
log:
- target: syslog
any: info
(Via https://www.knot-dns.cz/docs/2.6/html/configuration.html#simple-configuration)
Knot DNS provides user-definable zone templates, where you can set up initial values for varying situations and any new zones will assume those values upon initial addition to the system:
# Configuration export (Knot DNS 2.6.7)server: listen: [ "0.0.0.0@53", "::@53" ]log: - target: "syslog" any: "debug"acl: - id: "acl_master" address: ...
Read now
Unlock full access