Net::DN...:ZONEMD(3)

πŸ’– Net::DN...:ZONEMD(3) β€” the glow-up era πŸ’–

okay so this is from the User Contributed Perl Documentation corner of the universe, and bestie, it's literally the manual page for Net::DNS::RR::ZONEMD. yes the name is abbreviated with dots, no I don't know why, it's giving mysterious. πŸŽ€


✨ NAME ✨

Net::DNS::RR::ZONEMD β€” the DNS ZONEMD resource record. that's it, that's the whole name section, she's concise. πŸ‘‘


🌸 SYNOPSIS 🌸

like, just look at her:

        use Net::DNS;
        $rr = Net::DNS::RR->new("example.com. ZONEMD 2018031500 1 1
                FEBE3D4CE2EC2FFA4BA99D46CD69D6D29711E55217057BEE
               7EB1A7B641A47BA7FED2DD5B97AE499FAFA4F22C6BD647DE");

one use, one constructor call, and a digest so long it needs its own lines. main character energy, honestly. πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

this is the class for the DNS Zone Message Digest (ZONEMD) resource record. that's the vibe check: it's a ZONEMD RR, and this package is the one holding its hand. 🫢


⭐ METHODS ⭐

okay so the methods you get are:

  • everything inherited from the base class, plus ✨
  • the type-specific methods defined right here in this package ✨
⚠️ real talk though: using undocumented package features or reaching directly into internal data structures is discouraged. the docs literally say it could result in program termination or other unpredictable behaviour. not the cute kind of unpredictable. the crashing kind. 😭 so don't. πŸ™ˆ

πŸŽ€ serial πŸŽ€

        $serial = $rr->serial;
        $rr->serial( $serial );

this is an unsigned 32-bit integer β€” the zone serial number. she's a number, she's 32 bits, she's unsigned, she's the serial. periodt. πŸ”₯

πŸŽ€ scheme πŸŽ€

        $scheme = $rr->scheme;
        $rr->scheme( $scheme );

the scheme field is an 8-bit unsigned integer that says which methods are used to collate the data and present it as input to the hashing function. so basically: how do we feed this to the hash. iykyk. 🧚

πŸŽ€ algorithm πŸŽ€

        $algorithm = $rr->algorithm;
        $rr->algorithm( $algorithm );

the algorithm field is an 8-bit unsigned integer that identifies the cryptographic hash algorithm used to construct the digest. 8 bits of "which hash are we doing". πŸ‘‘

πŸŽ€ digest πŸŽ€

        $digest = $rr->digest;
        $rr->digest( $digest );

the hexadecimal representation of the digest over the zone content. hex. pretty. iconic. ✨

πŸŽ€ digestbin πŸŽ€

        $digestbin = $rr->digestbin;
        $rr->digestbin( $digestbin );

same digest, except binary representation of it, over the zone content. two representations, one digest, no cap. πŸ’œ


Copyright (c)2019 Dick Franks.

All rights reserved.

Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.

like, credit where credit is due, always. 🫢


πŸ“ LICENSE πŸ“

k so here's the legal bit β€” permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the original copyright notices appear in all copies and that both copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.

πŸ’€ and then the all-caps part, which is important so I'm keeping the meaning exactly: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

so yeah. no warranty. don't come for the authors if it goes sideways. πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

go read these too, bestie:


and that's the whole page!! πŸ’– this version is perl v5.42.0, dated 2026-09-02, and it lives at Net::DN...:ZONEMD(3) β€” see you in the group chat, mwah πŸŽ€πŸ’‹

πŸ“¦ where this page comes from