Zonema...gation(3pm)

πŸ“¦ version 1.0.16, in ubuntu jammy

πŸ’– 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