Resolve "stale-serve and RPZ put in SERVFAIL cache unexpected record"

Arаm Sаrgsyаn requested to merge 3678-serve-stale-servfailing-unexpectedly into main

NOTE: This was reverted in !7183 (merged) before the December 2022 release.


In some serve stale scenarios, like when following an expired CNAME record, named could return SERVFAIL if the previous request wasn't successful.

Consider non-stale data when in serve-stale mode.

Closes #3678 (closed)

Edited by Michał Kępień

Merge request reports