Zonema...::NSEC3(3pm)
π NAME π
ok so this is Zonemaster::LDNS::RR::NSEC3 β bestie, it's the Type NSEC3 record situation, from the User Contributed Perl Documentation corner of the universe. yes we're doing DNS stuff today, and yes it's gonna be cute. π¦
β¨ DESCRIPTION β¨
So get this: Zonemaster::LDNS::RR::NSEC3 is a subclass of Zonemaster::LDNS::RR, which is the actual main character here. What that means for you, babes, is that every single method from that parent class? still available. All of them. On top of the ones we're about to list right here. It's giving inheritance, it's giving bonus content, it's giving free stuff. π
π METHODS π
algorithm()
Returns the algorithm number. just the number. simple, iconic, no notes. β
flags()
Returns the flags field. yep. the flags. πΈ
optout()
Returns the optout flag. (that's the opt-out vibe, spelled optout, all one word, don't come for me.) π«Ά
iterations()
Returns the iteration count. how many times we go around the loop, girlies. π₯
salt()
Returns the contents of the salt field. ok specifics matter here so listen up:
- if the salt field is non-empty, you get it back as a binary string
- if it's empty, you get back an empty string
- and if there was, like, a problem accessing the salt field? you get
undefπ
next_owner()
Returns the next hashed owner name field, in binary form. so if you want the human-readable presentation format instead, bestie you gotta pipe it through "encode_base32hex" in MIME::Base32. that's the whole hack, iykyk. β¨
typelist()
Returns the typelist as a space-separated string. spaces. between. types. π
typehref()
Returns the typelist, but make it a reference to a hash, where the included types are the keys and they're storing true values. same info, different outfit, we love a repackage. π
covers($name)
Returns true or false depending on if the record covers the given _name_ or not. that's it, that's the method. π
hash_name($name)
Computes and returns a hash of the given _name_ β and it comes back in canonical form β using the parameters of the resource record itself, aka (algorithm, iterations, salt). it literally uses its own lil settings to do the math. obsessed. π
fr fr: every one of these is built on top of Zonemaster::LDNS::RR, so don't forget to go read that one too. no cap.
okay that's the whole page, bestie π
slay, go forth and parse your NSEC3 records. this was brought to you by perl v5.42.3, dated 2026-08-19, and the letters NSEC3. mwah ππ¦β¨
π¦ where this page comes from
- ubuntu stonking: libzonemaster-ldns-perl 5.0.2+ds-2build1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms