knotd: do not try to load zone file of slave zones
This commit is contained in:
parent
5542e63d14
commit
6f32c9bc2c
1 changed files with 5 additions and 3 deletions
|
@ -104,10 +104,7 @@ template:
|
||||||
- id: default
|
- id: default
|
||||||
storage: "{{ knotd__zones_dir }}"
|
storage: "{{ knotd__zones_dir }}"
|
||||||
file: "%s.zone"
|
file: "%s.zone"
|
||||||
semantic-checks: {{ knotd__semantic_checks
|
|
||||||
| ternary("on", "off") }}
|
|
||||||
zonefile-sync: -1
|
zonefile-sync: -1
|
||||||
zonefile-load: difference-no-serial
|
|
||||||
journal-content: changes
|
journal-content: changes
|
||||||
journal-content: all
|
journal-content: all
|
||||||
serial-policy: {{ knotd__serial_policy }}
|
serial-policy: {{ knotd__serial_policy }}
|
||||||
|
@ -128,6 +125,11 @@ zone:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if zone.master is defined %}
|
{% if zone.master is defined %}
|
||||||
master: {{ zone.master }}
|
master: {{ zone.master }}
|
||||||
|
zonefile-load: none
|
||||||
|
{% else %}
|
||||||
|
zonefile-load: difference-no-serial
|
||||||
|
semantic-checks: {{ knotd__semantic_checks
|
||||||
|
| ternary("on", "off") }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if zone.dnssec_policy is defined %}
|
{% if zone.dnssec_policy is defined %}
|
||||||
dnssec-policy: {{ zone.dnssec_policy }}
|
dnssec-policy: {{ zone.dnssec_policy }}
|
||||||
|
|
Loading…
Reference in a new issue