Page MenuHomeDevCentral

Test DNS zone files
ClosedPublic

Authored by dereckson on Sep 18 2025, 16:38.
Tags
None
Referenced Files
F52342315: D3690.id9601.diff
Fri, Oct 2, 02:08
F52309745: D3690.id9547.diff
Thu, Oct 1, 20:14
F52309728: D3690.id9546.diff
Thu, Oct 1, 20:13
F52308716: D3690.id9653.diff
Thu, Oct 1, 19:59
F52275269: D3690.id9547.diff
Thu, Oct 1, 13:15
F52261917: D3690.id9547.diff
Thu, Oct 1, 10:50
F52252452: D3690.id9546.diff
Thu, Oct 1, 09:03
F52247883: D3690.id9547.diff
Thu, Oct 1, 08:15
Subscribers
None

Details

Summary

Run sanity tests against roles/dns/knot/files/zones content:

  • do we have zone files defined in pillar?
  • can they be validated with kzonecheck?

Tests also validate the pillar files for content needed by zone files:

  • is dns_identity defined?

Ref T1217

Test Plan

(cd _tests && make test-roles-dns)

Event Timeline

dereckson created this revision.
dereckson added inline comments.
_tests/roles/python/dns/run_test_dns_zones.sh
20

Write to stderr?

_tests/roles/python/dns/test_dns_zones.py
60
This revision is now accepted and ready to land.Oct 6 2025, 05:46
This revision was automatically updated to reflect the committed changes.