]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Reword setting-compare-signatures-on-zone-freshness-check texts
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Wed, 10 Aug 2022 21:50:54 +0000 (23:50 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Wed, 10 Aug 2022 21:52:26 +0000 (23:52 +0200)
docs/modes-of-operation.rst
docs/settings.rst

index 9262a6cf4ad845bf37a7911e8d686c216481cc3d..9a8a8d724777ad76f5e952ce40de2239cc57fc0e 100644 (file)
@@ -95,25 +95,24 @@ Secondary operation
 On launch, PowerDNS requests from all backends a list of domains that
 have not been checked recently for changes. This should happen every
 '**refresh**' seconds, as specified in the SOA record. All domains that
-are unfresh are then checked for changes over at their master. If the
+are unfresh are then checked for changes over at their primary server. If the
 :ref:`types-SOA` serial number there is higher, the domain is
 retrieved and inserted into the database. In any case, after the check,
 the domain is declared 'fresh', and will only be checked again after
 '**refresh**' seconds have passed.
 
-If the serial on the Primary is equal to the serial on the Secondary,
-but the zone is presigned, the Secondary will also compare the RRSIG
-of the SOA and queue a zone transfer if the signatures are different.
-This is useful if the Primary is also PowerDNS as the serial may not be
-increased although signatures are updated. To compare also the RRSIGs,
-PowerDNS sets the DO flag when querying the SOA on the Primary. Setting
-the DO flag may trigger truncated responses and the SOA check should
-fall back to TCP. As this fallback is not currently supported in
-PowerDNS, freshness checks may fail. If it is known that the Primary
-always increases the serial on signature changes, signature comparison
-can be turned off by disabling
-:ref:`setting-compare-signatures-on-zone-freshness-check`. This will disable
-the DO flag and should work around the issue with truncate.
+If the serial is equal, PowerDNS as a secondary with a presigned zone
+will also compare the SOA RRSIG (signature). If the signatures are
+different, the zone is also queued for a zone transfer.
+This is useful when the primary server updates DNSSEC signatures without
+changing the zone serial. In some configurations, a PowerDNS primary can
+exhibit this behaviour.
+To allow for this check, the DO flag is set on the SOA query towards
+the primary server. In some conditions, some primary servers answer with
+a truncated SOA response (indicating TCP is required), and the freshness
+check will fail. As a workaround, the signature check and DO flag can be
+turned off by disabling
+:ref:`setting-compare-signatures-on-zone-freshness-check`.
 
 When the freshness of a domain cannot be checked, e.g. because the
 master is offline, PowerDNS will retry the domain after
index 1baa8f4c807560a0549c9c4880738916d3a95cab..f8bd514914088996e2ed75d6ef507ba899bdf5cf 100644 (file)
@@ -283,10 +283,13 @@ documentation on how to modify unit-files).
 -  Boolean
 -  Default: yes
 
-Turning this off will disable the DO flag for SOA queries during zone freshness checks of secondary zones
-to work around truncated SOA responses. It will also disable signature comparison which is used to detect
-signature changes even when the serial was not increased. Hence, disable this setting only if the Primary
-name server always increases the serial on signature changes.
+Enabled by default, freshness checks for secondary zones will set the DO flag on SOA queries. PowerDNS
+uses the DNSSEC signatures in the SOA response to detect (signature) changes on the primary server, when
+the serial number was not increased.
+
+In some scenarios, primary servers send truncated SOA responses. As a workaround, this setting can be
+turned off, and the DO flag as well as the signature checking will be disabled. To avoid additional
+drift, primary servers then must always increase the zone serial on signature changes.
 
 .. _setting-config-dir: