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

NAME

6       DNS::LDNS::RRList - List of rrs
7

SYNOPSIS

9         use DNS::LDNS ':all'
10
11         my l = new DNS::LDNS::RRList
12         my l = new DNS::LDNS::RRList(hosts_file => \*FILE)
13         my l = new DNS::LDNS::RRList(hosts_filename => fname)
14         my l2 = l->clone
15
16         l->to_string
17
18         l->print(\*FILE)
19         count = l->rr_count
20
21         rr = l->rr(index)
22         l->push(@rr)
23         rr = l->pop
24
25         l->push_list(l2)
26         l2 = l->pop_list(count)
27         l2 = l->pop_rrset
28
29         l->compare(l2)
30
31         l2 = l->subtype_by_rdata(rdata, pos)
32
33         bool = l->is_rrset
34
35         bool = l->contains_rr(rr)
36
37         (status, goodkeys) = l->verify(sig, keys)
38         (status, goodkeys) = l->verify_time(sig, keys, checktime)
39         (status, goodkeys) = l->verify_notime(sig, keys)
40         (status, goodkeys) = l->verify_rrsig_keylist(sig, keys)
41         (status, goodkeys) = l->verify_rrsig_keylist_time(sig, keys, checktime)
42         (status, goodkeys) = l->verify_rrsig_keylist_notime(sig, keys)
43         status = l->verify_rrsig(sig, keys)
44         status = l->verify_rrsig_time(sig, keys, checktime)
45
46         rr = l->create_empty_rrsig(key)
47         rrlist = l->sign_public(keylist)
48
49         rrlist->canonicalize
50         rrlist->sort
51         rrlist->sort_nsec3   # the list must contain only nsec3 rrs
52
53         rr = keylist->get_dnskey_for_rrsig(rrsig)
54         rr = keylist->get_rrsig_for_name_and_type(name, type)
55

SEE ALSO

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

AUTHOR

60       Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>
61
63       Copyright (C) 2013 by UNINETT Norid AS
64
65       This library is free software; you can redistribute it and/or modify it
66       under the same terms as Perl itself, either Perl version 5.14.2 or, at
67       your option, any later version of Perl 5 you may have available.
68
69
70
71perl v5.36.0                      2023-01-25              DNS::LDNS::RRList(3)
Impressum