Zonema...gation(3pm)
π NAME π
Zonemaster::Test::Delegation β it's the module that does all the tests about delegation details, bestie. Like, the whole delegation situation. We're checking it. β¨
(and yes, the manual name is the truncated cutie Zonema...gation(3pm) β she's a Perl module, third section, you know how it is π
)
π¦ SYNOPSIS π¦
okay so this is literally the whole vibe:
my @results = Zonemaster::Test::Delegation->all($zone);
that's it. that's the entry point. slay.
π METHODS π
here's your toolbox, no cap:
all($zone)β runs the default set of tests and hands you back a list of log entries that the tests made. it's giving "just do everything for me." iconic.translation()β gives you a reference to a hash full of translation data. the builtin translation system uses this, so like, it's for the internals. iykyk.metadata()β returns a reference to a hash where the keys are the names of all the test methods in the module, and each value is a reference to a list holding every tag that method can use in its log entries. it's the receipts for what each test is allowed to say. π§Ύversion()β returns a version string for the module. tiny. cute. does its job. π«Ά
β TESTS β
this is the main character section, fr fr. every one of these takes $zone:
delegation01($zone)β verifies that there is more than two nameserver. yep, more than two. that's the requirement, that's the bar. πdelegation02($zone)β verifies that name servers have distinct IP addresses. no sharing, no duplicates, we're not doing that here. β¨delegation03($zone)β verifies that there is no truncation on referrals. referrals gotta be complete, no cutting off mid-sentence energy. πdelegation04($zone)β verifies that nameservers are authoritative. like, actually authoritative. the real deal. πdelegation05($zone)β verifies that NS RRs do not point to CNAME alias. nope. not on our watch. π«delegation06($zone)β verifies existence of SOA. is it there? we're checking. πΈdelegation07($zone)β verifies that parent glue name records are present in child. parent AND child, both need to be in on this. π
quick reminder bestie: every one of these test methods takes $zone as its argument. don't forget her. she's the whole point. π
and that's the page!! this one's from the User Contributed Perl Documentation, running on perl v5.32.0, dated 2021-01-06, and the manual name is that gorgeous truncated Zonema...gation(3pm). mwah. go verify some delegations, you got this π
ππ¦
π¦ 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