Net::DN...R::DHCID(3)
π NAME π
okay so welcome to the Net::DN...R::DHCID(3) man page, bestie π«Ά β this one's all about Net::DNS::RR::DHCID, the DNS DHCID resource record. that's it, that's the whole name section, short and iconic β¨
πΈ SYNOPSIS πΈ
here's how you actually summon one, no cap:
use Net::DNS;
$rr = Net::DNS::RR->new('client.example.com. DHCID ( AAAB
xLmlskllE0MVjd57zHcWmEH3pCQ6VytcKD//7es/deY= )');
$rr = Net::DNS::RR->new(
name => 'client.example.com',
type => 'DHCID',
digest => 'ObfuscatedIdentityData',
digesttype => 1,
identifiertype => 2,
);
two ways in: the "just hand it the whole zone-file string" way, or the "named parameters, very demure, very mindful" way π
π DESCRIPTION π
it's a DNS RR for Encoding DHCP Information (DHCID) π that's literally the whole vibe. the record type exists so DHCP identity info can live in DNS.
π¦ METHODS π¦
the available methods are the ones you inherit from the base class, plus the type-specific ones defined in this package. best of both worlds, honestly π
β οΈ lowkey important: using undocumented package features or reaching directly into internal data structures is discouraged β fr fr it could result in program termination or other unpredictable behaviour π like, don't poke the internals, they bite.
identifiertype
$identifiertype = $rr->identifiertype;
the 16-bit identifier type β it describes the form of host identifier used to construct the DHCP identity information. sixteen whole bits of "what kind of identifier is this" energy β
digesttype
$digesttype = $rr->digesttype;
the 8-bit digest type number β it describes the message-digest algorithm used to obfuscate the DHCP identity information π tiny field, big job.
digest
$digest = $rr->digest;
the binary representation of the digest of DHCP identity information π§ straight-up bytes, no fancy decoding, that's the whole thing.
π COPYRIGHT π
Copyright (c)2009 Olaf Kolkman, NLnet Labs.
All rights reserved.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
like, respect the authors, they ate π
π LICENSE π
okay here's the legal bit β I'm keeping it word-for-word because β¨lawyersβ¨, but know that I'm cheering you on the whole time π
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. 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.
tl;dr: free to use, keep the notices, don't slap the author's name on your ads, and no warranties β if it breaks, it breaks, that's the deal π
β SEE ALSO β
perlNet::DNSNet::DNS::RRRFC4701<https://iana.org/go/rfc4701>
go read RFC4701 if you want the full lore, iykyk π
and that's the page!! this was Net::DN...R::DHCID(3) from perl v5.42.0, dated 2026-09-02 β mwah, go build something slay π₯ππ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Net-DNS 1.570.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms