1DNS::LDNS::RData(3) User Contributed Perl Documentation DNS::LDNS::RData(3)
2
3
4
6 DNS::LDNS::RData - Rdata field or a dname in an rr
7
9 use DNS::LDNS ':all'
10
11 my rd = new DNS::LDNS::RData(rdf_type, str)
12 rd2 = rd->clone
13
14 rdf_type = rd->type
15 rd->set_type(rdf_type)
16
17 rd->print(\*FILE)
18 str = rd->to_string
19
20 count = rd->label_count
21 rd2 = rd->label(pos)
22
23 bool = rd->is_wildcard
24 bool = rd->matches_wildcard(wildcard)
25 bool = rd->is_subdomain(parent)
26
27 rd2 = rd->left_chop
28
29 status = rd->cat(rd2)
30 rd->compare(rd2)
31 rd2 = rd->address_reverse
32 rd2 = rd->dname_reverse
33
34 rd2 = rd->nsec3_hash_name(name, algorithm, iterations, salt)
35
36 epoch = rd->to_unix_time
37 ( epoch = rd->2native_time_t )
38
39 rr_type = rd->to_rr_type
40
42 http://www.nlnetlabs.nl/projects/ldns
43
45 Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>
46
48 Copyright (C) 2013 by UNINETT Norid AS
49
50 This library is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself, either Perl version 5.14.2 or, at
52 your option, any later version of Perl 5 you may have available.
53
54
55
56perl v5.32.0 2020-07-28 DNS::LDNS::RData(3)