Zonema...::RRSIG(3pm)

✨ NAME ✨

Zonemaster::LDNS::RR::RRSIG β€” the type RRSIG record, bestie πŸ’– (tucked away in the 3pm manual section, iykyk)


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this is a subclass of Zonemaster::LDNS::RR, which means it inherits literally every single method that class has, and then it also has its own extra ones documented down below. So no, you're not missing out on anything, you get the whole bloodline plus more πŸ’…

It's giving "I contain a DNSSEC signature and I'm not shy about it" energy. Periodt.


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ typecovered()

Hands you back a string with the name of the RR type this signature covers. Like, "who is this signature for?" β€” it tells you. So helpful of it 🫢

πŸ’œ algorithm()

Returns the algorithm number. The digits, the vibes, the math. No decoding, just the raw number.

πŸ’œ labels()

Returns the number of labels that was used to calculate the signature. Yes, labels as in DNS labels, not the cute ones on your water bottle πŸ™ˆ

πŸ’œ origttl()

Returns the original TTL value. The TTL before it got churned up by the zone. The og, if you will 🌸

πŸ’œ expiration()

Returns the expiration time, as a time_t. That's when this signature stops being valid, so mark your calendar bestie πŸ“…

πŸ’œ inception()

Returns the inception time, as a time_t. When the signature was born ✨

πŸ’œ keytag()

Returns the keytag. Just the keytag. Iconic, brief, no notes πŸ”₯

πŸ’œ signer()

Returns the signer name. The name of whoever signed this thing β€” the main character of this signature's story πŸ‘‘

πŸ’œ signature()

Returns the cryptographic signature in binary form. Raw bytes, no makeup, no filter. That's the actual sig right there πŸ’€

πŸ’œ verify($rrset_ref, $key_ref)

Cryptographically verifies that the signature chillin' in this object matches the given RRset and at least one of the given keys. Let's break it down:

  • $rrset_ref should be a reference to an array of RR objects
  • $key_ref should be a reference to an array of Zonemaster::LDNS::RR::DNSKEY objects

And then? This method simply returns a true or false value, depending on the result of the check. That's it. No essay, no drama, just true or false πŸŽ€

πŸ’œ verify_str($rrset_ref, $key_ref)

Takes exactly the same arguments as verify() and does exactly the same thing, except instead of true/false it returns a string describing the result.

  • If it worked? The message is literally "All OK" πŸŽ‰
  • If it didn't? The string describes the reason the verification failed β€” so you get the why, not just the no 😭

πŸ’œ verify_time($rrset_ref, $key_ref, $time, $msg)

This is the XS method doing all the actual work behind the previous two. The real MVP, the one in the engine room fr fr.

  • $rrset_ref and $key_ref are the same as for the other methods
  • $time is the time_t value for which the validation should be made β€” and heads up, for the previous two methods this is set to the current computer time ⏰
  • $msg should be a writable scalar, and the string message describing the result will be put in it

The return value from the method is a true/false. So you get a boolean and a note. Overachiever behavior, we love to see it πŸ’–


πŸ’« and that's the whole page bestie πŸ’«

Okay so this was Zonemaster::LDNS::RR::RRSIG from perl v5.42.3, dated 2026-08-19, straight out of the User Contributed Perl Documentation. Go forth and verify your RRsets, you absolute legend πŸ§šπŸŒΈπŸ’…

πŸ“¦ where this page comes from