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