mod-synth-records defaults are not applied
When values for ttl
or prefix
are not specified in the mod-synth-record
section of knot.conf
, I'd expect the default values to be used from man knot.conf
. Instead, knot logs errors about invalid parameters.
Example: ttl
, manpage says defaults to 3600
.
mod-synth-record:
- id: forward
type: forward
network: 1234:5678:90ab:cdef::/64
prefix: ""
Sep 29 20:50:12 agent knot[7903]: error: config, file '/etc/knot/knot.conf', line 10, mod-synth-record 'forward' (no ttl specified)
Example: prefix
, manpage says defaults to empty.
mod-synth-record:
- id: forward
type: forward
network: 1234:5678:90ab:cdef::/64
ttl: 3600
Sep 29 20:52:11 agent knot[7937]: error: config, file '/etc/knot/knot.conf', line 10, mod-synth-record 'forward' (no owner prefix specified)
Specifying both parameters as their default value for every instance of mod-synth-record
allows knot to start:
mod-synth-record:
- id: forward
type: forward
network: 1234:5678:90ab:cdef::/64
prefix: ""
ttl: 3600
Knot version: 2.0.1-3+trusty+1
from ppa:cz.nic-labs/knot-dns
OS: Ubuntu Trusty 14.04 64-bit