Zonema...istency(3pm)
β¨ 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, akaREFRESH/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
- ubuntu jammy: libzonemaster-perl 1.0.16-2.1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms