feat(knot): use zonefile-load: difference-no-serial policy for idempotency
This commit is contained in:
parent
da51d2fbf1
commit
c51253c28c
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ zone:
|
||||||
storage: {{ knot_zone_master_storage_path }}
|
storage: {{ knot_zone_master_storage_path }}
|
||||||
semantic-checks: {{ knot_zone_semantic_checks }}
|
semantic-checks: {{ knot_zone_semantic_checks }}
|
||||||
serial-policy: unixtime
|
serial-policy: unixtime
|
||||||
zonefile-load: difference
|
zonefile-load: difference-no-serial
|
||||||
zonefile-sync: -1
|
zonefile-sync: -1
|
||||||
journal-content: changes
|
journal-content: changes
|
||||||
dnssec-signing: {{ knot_zone_dnssec_signing }}
|
dnssec-signing: {{ knot_zone_dnssec_signing }}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
$TTL {{ zone.soa.ttl }}
|
$TTL {{ zone.soa.ttl }}
|
||||||
|
|
||||||
@ {{ zone.soa.class }} SOA {{ zone.soa.primary }}. {{ zone.soa.rname }}. (
|
@ {{ zone.soa.class }} SOA {{ zone.soa.primary }}. {{ zone.soa.rname }}. (
|
||||||
{{ ansible_date_time.epoch }} ; serial
|
0 ; serial (ignored by knot, uses unixtime instead)
|
||||||
{{ zone.soa.refresh }} ; refresh
|
{{ zone.soa.refresh }} ; refresh
|
||||||
{{ zone.soa.retry }} ; retry
|
{{ zone.soa.retry }} ; retry
|
||||||
{{ zone.soa.expire }} ; expire
|
{{ zone.soa.expire }} ; expire
|
||||||
|
|
Loading…
Reference in a new issue