1Net::DNS::RR::NID(3) User Contributed Perl Documentation Net::DNS::RR::NID(3)
2
3
4
6 Net::DNS::RR::NID - DNS NID resource record
7
9 use Net::DNS;
10 $rr = new Net::DNS::RR('name IN NID preference nodeid');
11
12 $rr = new Net::DNS::RR(
13 name => 'example.com',
14 type => 'NID',
15 preference => 10,
16 nodeid => '8:800:200C:417A'
17 );
18
20 Class for DNS Node Identifier (NID) resource records.
21
22 The Node Identifier (NID) DNS resource record is used to hold values
23 for Node Identifiers that will be used for ILNP-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 NID record among other NID records
39 associated with this owner name. Lower values are preferred over
40 higher values.
41
42 nodeid
43 $nodeid = $rr->nodeid;
44
45 The NodeID field is an unsigned 64-bit value in network byte order.
46 The text representation uses the same syntax (i.e., groups of 4
47 hexadecimal digits separated by a colons) that is already used for IPv6
48 interface identifiers.
49
51 Copyright (c)2012 Dick Franks.
52
53 All rights reserved.
54
55 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
56
58 Permission to use, copy, modify, and distribute this software and its
59 documentation for any purpose and without fee is hereby granted,
60 provided that the above copyright notice appear in all copies and that
61 both that copyright notice and this permission notice appear in
62 supporting documentation, and that the name of the author not be used
63 in advertising or publicity pertaining to distribution of the software
64 without specific prior written permission.
65
66 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
67 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
69 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
70 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
71 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
72 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73
75 perl, Net::DNS, Net::DNS::RR, RFC6742
76
77
78
79perl v5.28.0 2018-11-14 Net::DNS::RR::NID(3)