DNS::LDNS::DNSSecZone - Zone with dnssec data
use DNS::LDNS (); my z = DNS::LDNS::DNSSecZone->new( filename => '/path/to/myzone', origin => DNS::LDNS::RData->new(LDNS_RDF_TYPE_DNAME, 'myzone'), #optional ttl => 3600, #optional class => LDNS_RR_CLASS_, #optional ) my z = DNS::LDNS::DNSSecZone->new( file => \*FILE, origin => ..., ttl => ..., class => ... ) my z = DNS::LDNS::DNSSecZone->new 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)
z->to_string
http://www.nlnetlabs.nl/projects/ldns
Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>
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.
To install DNS::LDNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DNS::LDNS
CPAN shell
perl -MCPAN -e shell install DNS::LDNS
For more information on module installation, please visit the detailed CPAN module installation guide.