1Net::DNS::RR::APL(3) User Contributed Perl Documentation Net::DNS::RR::APL(3)
2
3
4
6 Net::DNS::RR::APL - DNS APL resource record
7
9 use Net::DNS;
10 $rr = new Net::DNS::RR('name IN APL aplist');
11
13 DNS Address Prefix List (APL) record
14
16 The available methods are those inherited from the base class augmented
17 by the type-specific methods defined in this package.
18
19 Use of undocumented package features or direct access to internal data
20 structures is discouraged and could result in program termination or
21 other unpredictable behaviour.
22
23 aplist
24 @aplist = $rr->aplist;
25
26 @aplist = $rr->aplist( '1:192.168.32.0/21', '!1:192.168.38.0/28' );
27
28 @aplist = $rr->aplist( '1:224.0.0.0/4', '2:FF00:0:0:0:0:0:0:0/8' );
29
30 @aplist = $rr->aplist( negate => 1,
31 family => 1,
32 address => '192.168.38.0',
33 prefix => 28,
34 );
35
36 Ordered, possibly empty, list of address prefix items. Additional
37 items, if present, are appended to the existing list with neither
38 prefix aggregation nor reordering.
39
40 Net::DNS::RR::APL::Item
41 Each element of the prefix list is a Net::DNS::RR::APL::Item object
42 which is inextricably bound to the APL record which created it.
43
44 negate
45 $rr->negate(0);
46 $rr->negate(1);
47
48 if ( $rr->negate ) {
49 ...
50 }
51
52 Boolean attribute indicating the prefix to be an address range
53 exclusion.
54
55 family
56 $family = $rr->family;
57
58 Address family discriminant.
59
60 prefix
61 $prefix = $rr->prefix;
62
63 Number of bits comprising the address prefix.
64
65 address
66 $address = $object->address;
67
68 Address portion of the prefix list item.
69
70 string
71 $string = $object->string;
72
73 Returns the prefix list item in the form required in zone files.
74
76 Copyright (c)2008 Olaf Kolkman, NLnet Labs.
77
78 Portions Copyright (c)2011 Dick Franks.
79
80 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
81
82 All rights reserved.
83
84 This program is free software; you may redistribute it and/or modify it
85 under the same terms as Perl itself.
86
88 perl, Net::DNS, Net::DNS::RR, RFC3123
89
90
91
92perl v5.16.3 2012-12-28 Net::DNS::RR::APL(3)