DNS::LDNS::Zone - Parsed zonefile
use DNS::LDNS (); my z = DNS::LDNS::Zone->new( filename => '/path/to/myzone', origin => DNS::LDNS::RData->new(LDNS_RDF_TYPE_DNAME, 'myzone'), #optional default_ttl => 3600, #optional class => LDNS_RR_CLASS_IN, #optional ) my z = DNS::LDNS::Zone->new( file => \*FILE, origin => ..., default_ttl => ..., class => ... ) my z = DNS::LDNS::Zone->new z->to_string z->print(\*FILE) z->canonicalize z->sort rr = z->soa z->set_soa(rr) rrlist = z->rrs z->set_rrs(rrlist) z->sign(keylist) z->sign_nsec3(keylist, algorithm, flags, iterations, salt)
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.