1Net::DNS::RR::AAAA(3) User Contributed Perl DocumentationNet::DNS::RR::AAAA(3)
2
3
4
6 Net::DNS::RR::AAAA - DNS AAAA resource record
7
9 use Net::DNS;
10 $rr = new Net::DNS::RR('name IN AAAA address');
11
12 $rr = new Net::DNS::RR(
13 name => 'example.com',
14 type => 'AAAA',
15 address => '2001:DB8::8:800:200C:417A'
16 );
17
19 Class for DNS IPv6 Address (AAAA) resource records.
20
22 The available methods are those inherited from the base class augmented
23 by the type-specific methods defined in this package.
24
25 Use of undocumented package features or direct access to internal data
26 structures is discouraged and could result in program termination or
27 other unpredictable behaviour.
28
29 address
30 $IPv6_address = $rr->address;
31
32 Returns the text representation of the IPv6 address.
33
34 address_long
35 $IPv6_address = $rr->address_long;
36
37 Returns the text representation specified in RFC3513, 2.2(1).
38
39 address_short
40 $IPv6_address = $rr->address_short;
41
42 Returns the textual form of address recommended by RFC5952.
43
45 Copyright (c)1997 Michael Fuhr.
46
47 Portions Copyright (c)2003 Chris Reinhardt.
48
49 Portions 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 above copyright notice appear in all copies and that
59 both that 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, RFC3596, RFC3513, RFC5952
74
75
76
77perl v5.32.0 2020-07-28 Net::DNS::RR::AAAA(3)