DNS::LD...ustTree(3)

πŸ’– NAME πŸ’–

DNS::LDNS::DNSSecTrustTree β€” it's giving trust tree from signed RR to trust anchors πŸ¦‹

(also hi bestie, this is a page from the User Contributed Perl Documentation manual, ok let's go)


🌈 SYNOPSIS 🌈

use DNS::LDNS ':all'

tree = new DNS::LDNS::DNSSecTrustTree
tree->print(fp)
d = tree->depth
status = tree->add_parent(parent, sig, parent_status)
status = tree->contains_keys(trusted_keys)

# Node attributes
rr = tree->rr;
rrset = tree->rrset
ptree = tree->parent(i)
pstatus = tree->parent_status(i)
rr = tree->parent_signature(i)
count = tree->parent_count

ok so literally here's the whole vibe of this module in one block, bestie πŸ’…

  • you make a brand new tree with new DNS::LDNS::DNSSecTrustTree
  • you push it to a filehandle with tree->print(fp)
  • you grab tree->depth for the depth, no cap
  • you add a parent with tree->add_parent(parent, sig, parent_status)
  • you check whether it holds your keys with tree->contains_keys(trusted_keys)

and then the node attributes, which are the little details that make it iconic:

  • tree->rr hands you the rr
  • tree->rrset hands you the rrset
  • tree->parent(i) gives you the parent tree at i
  • tree->parent_status(i) gives you that parent's status
  • tree->parent_signature(i) gives you that parent's signature
  • tree->parent_count gives you how many parents there are

πŸ”₯ SEE ALSO πŸ”₯

http://www.nlnetlabs.nl/projects/ldns β€” go look, it's right there, iykyk ✨


πŸŽ€ AUTHOR πŸŽ€

Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no> β€” yeah we stan 🫢


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.

ok so real talk bestie β€” that licensing bit is doing the most and you genuinely have to read it, it's not optional vibes πŸ’›

and that's the whole page, we ate and left no crumbs πŸ’…βœ¨ this was perl v5.42.2, dated 2026-06-11, and yes the page name got squished down to DNS::LD...ustTree(3) on the top and bottom lines because manpage headers are dramatic like that πŸ’€ love that for us, bye bestie πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from