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
36 A 16 bit unsigned integer in network byte order that indicates the
37 relative preference for this NID record among other NID records
38 associated with this owner name. Lower values are preferred over
39 higher values.
40
41 nodeid
42 $nodeid = $rr->nodeid;
43
44 The NodeID field is an unsigned 64-bit value in network byte order.
45 The text representation uses the same syntax (i.e., groups of 4
46 hexadecimal digits separated by a colons) that is already used for IPv6
47 interface identifiers.
48
50 Copyright (c)2012 Dick Franks.
51
52 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
53
54 All rights reserved.
55
56 This program is free software; you may redistribute it and/or modify it
57 under the same terms as Perl itself.
58
60 perl, Net::DNS, Net::DNS::RR, RFC6742
61
62
63
64perl v5.16.3 2012-12-28 Net::DNS::RR::NID(3)