1Net::DNS::RR::L64(3) User Contributed Perl Documentation Net::DNS::RR::L64(3)
2
3
4
6 Net::DNS::RR::L64 - DNS L64 resource record
7
9 use Net::DNS;
10 $rr = Net::DNS::RR->new('name IN L64 preference locator64');
11
12 $rr = Net::DNS::RR->new(
13 name => 'example.com',
14 type => 'L64',
15 preference => 10,
16 locator64 => '2001:0DB8:1140:1000'
17 );
18
20 Class for DNS 64-bit Locator (L64) resource records.
21
22 The L64 resource record is used to hold 64-bit Locator values for
23 ILNPv6-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 L64 record among other L64 records
39 associated with this owner name. Lower values are preferred over
40 higher values.
41
42 locator64
43 $locator64 = $rr->locator64;
44
45 The Locator64 field is an unsigned 64-bit integer in network byte order
46 that has the same syntax and semantics as a 64-bit IPv6 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.36.1 2023-06-01 Net::DNS::RR::L64(3)