1Net::DNS::RR::L32(3) User Contributed Perl Documentation Net::DNS::RR::L32(3)
2
3
4
6 Net::DNS::RR::L32 - DNS L32 resource record
7
9 use Net::DNS;
10 $rr = Net::DNS::RR->new('name IN L32 preference locator32');
11
12 $rr = Net::DNS::RR->new(
13 name => 'example.com',
14 type => 'L32',
15 preference => 10,
16 locator32 => '10.1.02.0'
17 );
18
20 Class for DNS 32-bit Locator (L32) resource records.
21
22 The L32 resource record is used to hold 32-bit Locator values for
23 ILNPv4-capable nodes.
24
26 The available methods are those inherited from the base class augmented
27 by the type-specific methods defined in this package.
28
29 Use of undocumented package features or direct access to internal data
30 structures is discouraged and could result in program termination or
31 other unpredictable behaviour.
32
33 preference
34 $preference = $rr->preference;
35 $rr->preference( $preference );
36
37 A 16 bit unsigned integer in network byte order that indicates the
38 relative preference for this L32 record among other L32 records
39 associated with this owner name. Lower values are preferred over
40 higher values.
41
42 locator32
43 $locator32 = $rr->locator32;
44
45 The Locator32 field is an unsigned 32-bit integer in network byte order
46 that has the same syntax and semantics as a 32-bit IPv4 routing prefix.
47
49 Copyright (c)2012 Dick Franks.
50
51 All rights reserved.
52
53 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
54
56 Permission to use, copy, modify, and distribute this software and its
57 documentation for any purpose and without fee is hereby granted,
58 provided that the original copyright notices appear in all copies and
59 that both copyright notice and this permission notice appear in
60 supporting documentation, and that the name of the author not be used
61 in advertising or publicity pertaining to distribution of the software
62 without specific prior written permission.
63
64 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
65 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
66 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
67 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
68 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
69 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
70 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
71
73 perl Net::DNS Net::DNS::RR RFC6742
74 <https://tools.ietf.org/html/rfc6742>
75
76
77
78perl v5.38.0 2023-07-21 Net::DNS::RR::L32(3)