Zonema...istency(3pm)

πŸ“¦ version 1.0.16, in ubuntu jammy

✨ Zonema...istency(3pm) ✨

okay bestie, gather round πŸ’– this is a page from the User Contributed Perl Documentation β€” yes that's the manual name, it's giving "we the people of perl" energy, we love that for us 🫢

Zonemaster::Test::Consistency β€” the Consistency module, which is basically the blueprint, the moment, the structural icon πŸŽ€ It shows you the expected structure of Zonemaster test modules. Like, if you're writing a Zonemaster test module and you wanna know what shape it's supposed to be? This one is the vibe check. Periodt.


🌸 SYNOPSIS 🌸

my @results = Zonemaster::Test::Consistency->all($zone);

look at that. one line. main character energy fr fr ✨


πŸ’… METHODS πŸ’…

  • all($zone) β€” runs the default set of tests and hands you back a list of log entries made by those tests. like, it does the whole routine and returns the receipts πŸ“
  • metadata() β€” returns a reference to a hash, no cap. The keys are the names of all the test methods in the module, and each value is a reference to a list of all the tags that method can use in log entries. it's the module's little gossip sheet about itself πŸ’…
  • translation() β€” returns a reference to a hash with translation data. This one gets used by the builtin translation system. multilingual queen 🌈
  • version() β€” returns a version string for the module. just a little "hi, this is my version" moment πŸŽ€

πŸ”₯ TESTS πŸ”₯

  • consistency01($zone) β€” queries all nameservers for SOA, and checks that they all have the same SOA serial number. if they're not matching, that's a red flag bestie 🚩
  • consistency02($zone) β€” queries all nameservers for SOA, and checks that they all have the same SOA rname. yes, rname. yes, same energy. πŸ’–
  • consistency03($zone) β€” queries all nameservers for SOA, and checks that they all have the same time parameters, aka REFRESH/RETRY/EXPIRE/MINIMUM. the whole timer squad has to agree ⏰
  • consistency04($zone) β€” queries all nameservers for the NS set, and checks that they all have the same content. NS set, same set, no chaos allowed ✨
  • consistency05($zone) β€” verifies that the glue records are consistent between glue and authoritative data. glue should match glue, iykyk πŸ¦‹
ngl, the whole point of every single one of these is consistency β€” that's the assignment, that's the name, that's the brand πŸ‘‘

<div align="center">πŸ’œ</div>

and that's the page bestie!! πŸŽ€ source and version, since you asked: this is perl v5.32.0, dated 2021-01-06, and the whole thing is filed under Zonema...istency(3pm) because apparently even the title got cut off mid-sentence. iconic behavior honestly. slay, bye πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from