1Net::DNS::RR::A(3) User Contributed Perl Documentation Net::DNS::RR::A(3)
2
3
4
6 Net::DNS::RR::A - DNS A resource record
7
9 use Net::DNS;
10 $rr = new Net::DNS::RR('name IN A address');
11
12 $rr = new Net::DNS::RR(
13 name => 'example.com',
14 type => 'A',
15 address => '192.0.2.1'
16 );
17
19 Class for DNS Address (A) 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 $IPv4_address = $rr->address;
31 $rr->address( $IPv4_address );
32
33 Version 4 IP address represented using dotted-quad notation.
34
36 Copyright (c)1997 Michael Fuhr.
37
38 All rights reserved.
39
40 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
41
43 Permission to use, copy, modify, and distribute this software and its
44 documentation for any purpose and without fee is hereby granted,
45 provided that the above copyright notice appear in all copies and that
46 both that copyright notice and this permission notice appear in
47 supporting documentation, and that the name of the author not be used
48 in advertising or publicity pertaining to distribution of the software
49 without specific prior written permission.
50
51 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
52 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
53 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
54 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
55 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
56 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
57 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
58
60 perl, Net::DNS, Net::DNS::RR, RFC1035 Section 3.4.1
61
62
63
64perl v5.32.0 2020-07-28 Net::DNS::RR::A(3)