Skip to content

[9.18] explicitly set dnssec-validation in system tests

Evan Hunt requested to merge 950-test-validation-bind-9.18 into bind-9.18

the default value of dnssec-validation is 'auto', which causes a server to send a key refresh query to the root zone when starting up. this is undesirable behavior in system tests, so this commit sets dnssec-validation to either 'yes' or 'no' in all tests where it had not previously been set.

this change had the mostly-harmless side effect of changing the cached trust level of unvalidated answer data from 'answer' to 'authanswer', which caused a few test cases in which dumped cache data was examined in the serve-stale system test to fail. those test cases have now been updated to expect 'authanswer'.

Backport of MR !7999 (merged)

Closes #950 (closed)

Edited by Michał Kępień

Merge request reports