Error when using catalog-zone
When using catalog zone on master in generate mode, the server fails with: error: config, file '/etc/knot/knot.conf', line 72, section 'zone[crb-m1-default-catalog.]' ('catalog-role' must correspond to configured 'catalog-zone')
The error points to an empty line just after the catalog zone definition.
`template:
- id: default storage: "/var/lib/knot/zones" file: "%s.zone" notify: koncentrator dnssec-signing: off
dnssec-policy: ecdsa
zonefile-sync: -1
zonefile-load: difference-no-serial
journal-content: all
catalog-role: member
catalog-zone: crb-m1-default-catalog.
acl: koncentrator_acl
zone:
-
domain: crb-m1-default-catalog. catalog-role: generate acl: koncentrator_acl
-
domain: example.com. template: default `
Troubles start after adding any zone to the catalog. When catalog-* in the template is commented out, the server starts without issue. When the catalog-role and catalog-zone are present, the server terminates with the above-mentioned error.
The idea behind the configuration is to have multiple catalog zones that are interpreted in another hidden master, which collects multiple catalog zones and generates new ones that will be distributed to public-facing slaves. However, it seems like we are stuck in round 1.