1DNS::LDNS::Zone(3)    User Contributed Perl Documentation   DNS::LDNS::Zone(3)
2
3
4

NAME

6       DNS::LDNS::Zone - Parsed zonefile
7

SYNOPSIS

9         use DNS::LDNS ':all'
10
11         my z = new DNS::LDNS::Zone(
12           filename => '/path/to/myzone',
13           origin => new DNS::LDNS::RData(LDNS_RDF_TYPE_DNAME, 'myzone'), #optional
14           default_ttl => 3600, #optional
15           class => LDNS_RR_CLASS_IN, #optional
16         )
17         my z = new DNS::LDNS::Zone(
18           file => \*FILE,
19           origin => ..., default_ttl => ..., class => ...
20         )
21         my z = new DNS::LDNS::Zone
22
23         z->to_string
24         z->print(\*FILE)
25         z->canonicalize
26         z->sort
27         rr = z->soa
28         z->set_soa(rr)
29         rrlist = z->rrs
30         z->set_rrs(rrlist)
31         z->sign(keylist)
32         z->sign_nsec3(keylist, algorithm, flags, iterations, salt)
33

SEE ALSO

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

AUTHOR

38       Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>
39
41       Copyright (C) 2013 by UNINETT Norid AS
42
43       This library is free software; you can redistribute it and/or modify it
44       under the same terms as Perl itself, either Perl version 5.14.2 or, at
45       your option, any later version of Perl 5 you may have available.
46
47
48
49perl v5.32.1                      2021-05-20                DNS::LDNS::Zone(3)
Impressum