1Net::DNS::RR::A(3)    User Contributed Perl Documentation   Net::DNS::RR::A(3)
2
3
4

NAME

6       Net::DNS::RR::A - DNS A resource record
7

SYNOPSIS

9           use Net::DNS;
10           $rr = Net::DNS::RR->new('name IN A address');
11
12           $rr = Net::DNS::RR->new(
13               name    => 'example.com',
14               type    => 'A',
15               address => '192.0.2.1'
16               );
17

DESCRIPTION

19       Class for DNS Address (A) resource records.
20

METHODS

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

LICENSE

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 original copyright notices appear in all copies and
46       that both 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

SEE ALSO

60       perl Net::DNS Net::DNS::RR RFC1035(3.4.1)
61       <https://tools.ietf.org/html/rfc1035>
62
63
64
65perl v5.38.0                      2023-07-21                Net::DNS::RR::A(3)
Impressum