DNS::LD...taChain(3)
π NAME π
DNS::LDNS::DNSSecDataChain β bestie, it's a DNSSec data chain element π¦
Like, this little cutie is one link in the DNSSec trust chain. That's the whole vibe. The page itself lives in the User Contributed Perl Documentation section, and yeah, its name is literally DNS::LDNS::DNSSecDataChain(3). Iconic, long, slay. π
β¨ SYNOPSIS β¨
use DNS::LDNS ':all'
chain = new DNS::LDNS::DNSSecDataChain
chain->print(fp)
chain->derive_trust_tree(rr)
chain->derive_trust_tree_time(rr, checktime)
# Node attributes
rrset = chain->rrset
rrset = chain->signatures
rrtype = chain->parent_type
pchain = chain->parent
rcode = chain->packet_rcode
rrtype = chain->packet_qtype
bool = chain->packet_nodata
okay so real quick, let me walk you through what's happening here π«Ά
First you pull in the goods with use DNS::LDNS ':all' β no semicolon at the end, I know, I know, that's just how they wrote it, don't come for me, I'm just the messenger. π
Then you can spin up a brand-new chain object with new DNS::LDNS::DNSSecDataChain. Main character energy, fr fr. β¨
After that you've got your methods:
chain->print(fp)β prints the chain out tofpchain->derive_trust_tree(rr)β derives the trust tree fromrrchain->derive_trust_tree_time(rr, checktime)β same thing but you also hand it achecktime
And then the node attributes, aka the lil peekaboo accessors π:
rrset = chain->rrsetβ grabs therrsetrrset = chain->signaturesβ grabs thesignatures, also anrrsetsituationrrtype = chain->parent_typeβ gives you the parent's type as anrrtypepchain = chain->parentβ hands back the parent chain aspchainrcode = chain->packet_rcodeβ the packet'srcoderrtype = chain->packet_qtypeβ the packet's question type, as anrrtypebool = chain->packet_nodataβ abooltelling you about packet nodata
That's the whole menu bestie, no cap. π
π SEE ALSO π
http://www.nlnetlabs.nl/projects/ldns
Go read up on LDNS if you wanna know more, the link is right there, I'm not doing your homework for you. π§
π AUTHOR π
Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no> β give him his flowers π
π COPYRIGHT AND LICENSE π
Copyright (C) 2013 by UNINETT Norid AS
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
So basically: free software, same terms as Perl itself, Perl 5.14.2 or literally any newer Perl you happen to have. You have options, bestie. Use them wisely. π
aaaand that's the page!! π¦ this was DNS::LDNS::DNSSecDataChain(3) from perl v5.42.2, dated 2026-06-11, and honestly? she ate. no crumbs. periodt. πβ¨πΈ
π¦ where this page comes from
- fedora 43: perl-ldns 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: perl-ldns 1.9.2-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms