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>
π COPYRIGHT AND LICENSE π
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
- 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