NAME

DNS::LDNS::Zone - Parsed zonefile

SYNOPSIS

use DNS::LDNS ':all'

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

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)

SEE ALSO

http://www.nlnetlabs.nl/projects/ldns

AUTHOR

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

COPYRIGHT AND LICENSE

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.