1Net::DNS::RR::APL(3)  User Contributed Perl Documentation Net::DNS::RR::APL(3)
2
3
4

NAME

6       Net::DNS::RR::APL - DNS APL resource record
7

SYNOPSIS

9           use Net::DNS;
10           $rr = Net::DNS::RR->new('name IN APL aplist');
11

DESCRIPTION

13       DNS Address Prefix List (APL) record
14

METHODS

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(1);
46
47           if ( $rr->negate ) {
48               ...
49           }
50
51       Boolean attribute indicating the prefix to be an address range
52       exclusion.
53
54   family
55           $family = $rr->family;
56           $rr->family( $family );
57
58       Address family discriminant.
59
60   prefix
61           $prefix = $rr->prefix;
62           $rr->prefix( $prefix );
63
64       Number of bits comprising the address prefix.
65
66   address
67           $address = $object->address;
68
69       Address portion of the prefix list item.
70
71   string
72           $string = $object->string;
73
74       Returns the prefix list item in the form required in zone files.
75
77       Copyright (c)2008 Olaf Kolkman, NLnet Labs.
78
79       Portions Copyright (c)2011,2017 Dick Franks.
80
81       All rights reserved.
82
83       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
84

LICENSE

86       Permission to use, copy, modify, and distribute this software and its
87       documentation for any purpose and without fee is hereby granted,
88       provided that the original copyright notices appear in all copies and
89       that both copyright notice and this permission notice appear in
90       supporting documentation, and that the name of the author not be used
91       in advertising or publicity pertaining to distribution of the software
92       without specific prior written permission.
93
94       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
95       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
96       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
97       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
98       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
99       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
100       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
101

SEE ALSO

103       perl Net::DNS Net::DNS::RR RFC3123
104       <https://tools.ietf.org/html/rfc3123>
105
106
107
108perl v5.36.1                      2023-06-01              Net::DNS::RR::APL(3)
Impressum