Page MenuHomeDevCentral

Test DNS zone files
ClosedPublic

Authored by dereckson on Sep 18 2025, 16:38.
Tags
None
Referenced Files
F22109810: D3690.diff
Mon, Jan 26, 09:50
F22106136: D3690.id9653.diff
Mon, Jan 26, 09:10
F22085114: D3690.id9547.diff
Mon, Jan 26, 05:21
Unknown Object (File)
Sun, Jan 25, 15:00
Unknown Object (File)
Sun, Jan 25, 08:50
Unknown Object (File)
Sun, Jan 25, 02:38
Unknown Object (File)
Sat, Jan 24, 03:12
Unknown Object (File)
Fri, Jan 23, 08:26
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)

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.