DNS::LD...SSecZone(3)

✨ NAME ✨

okay so bestie, meet DNS::LDNS::DNSSecZone πŸ’– it's the module page for a Zone with dnssec data β€” that's literally the whole vibe, that's what she is. it's in the DNS::LDNS family (perl, obvs), and it's giving "zone file but make it cryptographically signed". no cap. πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole tea, verbatim, do NOT come for me about the syntax, this is exactly what the page says:

use DNS::LDNS ':all'

my z = new DNS::LDNS::DNSSecZone(
  filename => '/path/to/myzone',
  origin => new DNS::LDNS::RData(LDNS_RDF_TYPE_DNAME, 'myzone'), #optional
  ttl => 3600, #optional
  class => LDNS_RR_CLASS_, #optional
)
my z = new DNS::LDNS::DNSSecZone(
  file => \*FILE,
  origin => ..., ttl => ..., class => ...
)
my z = new DNS::LDNS::DNSSecZone

rr = z->soa
rbtree = z->names
rrsets = z->find_rrset
z->add_rr(rr)
z->create_from_zone(zone)
z->add_empty_nonterminals

z->sign(keylist, policy)
z->sign_nsec3(keylist, policy, algorithm, flags, iterations, salt)

z->create_nsecs
z->create_nsec3s(algorithm, flags, iterations, salt)
z->create_rrsigs(key_list, policy, flags)

so yeah β€” you can spin her up from a filename, from a file filehandle, or from absolutely nothing at all (main character energy πŸ’…). origin, ttl and class are all optional lil extras you can pass along. then you've got your getters (soa, names, find_rrset), your adders (add_rr, create_from_zone, add_empty_nonterminals), your signing glow-ups (sign, sign_nsec3), and the NSEC/RRSIG factories (create_nsecs, create_nsec3s, create_rrsigs). it's a whole buffet. πŸ“


πŸ’€ TODO πŸ’€

not me... there is still stuff left to do here πŸ™ˆ
  • z->to_string β€” yeah that one's on the to-do list, it's not done yet, don't @ me

πŸ¦‹ SEE ALSO πŸ¦‹

go be nosy, bestie, the lore lives here:


πŸ‘‘ AUTHOR πŸ‘‘

the icon who wrote this:

  • Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>

okay legal moment, but make it cute:

  • 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.

and that's the whole page, bestie πŸ’– no filler, no skipped bits, every single crumb is here. this one's from perl v5.42.2, dated 2026-06-11, and it's filed under the manual name DNS::LD...SSecZone(3) β€” yes the title is abbreviated with the lil dots, that's not a typo, that's just how she's filed. slay. πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from