Page MenuHomeDevCentral

Test DNS zone files
ClosedPublic

Authored by dereckson on Sep 18 2025, 16:38.
Tags
None
Referenced Files
F12310699: D3690.diff
Tue, Oct 21, 18:35
F12305109: D3690.id9601.diff
Tue, Oct 21, 04:06
Unknown Object (File)
Mon, Oct 20, 16:17
Unknown Object (File)
Mon, Oct 20, 16:17
Unknown Object (File)
Mon, Oct 20, 16:17
Unknown Object (File)
Mon, Oct 20, 14:25
Unknown Object (File)
Sat, Oct 18, 09:43
Unknown Object (File)
Wed, Oct 15, 14:19
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.Mon, Oct 6, 05:46
This revision was automatically updated to reflect the committed changes.