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 = 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

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-1998 Michael Fuhr.
37
38       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
39
40       All rights reserved.
41
42       This program is free software; you may redistribute it and/or modify it
43       under the same terms as Perl itself.
44

SEE ALSO

46       perl, Net::DNS, Net::DNS::RR, RFC1035 Section 3.4.1
47
48
49
50perl v5.16.3                      2012-12-28                Net::DNS::RR::A(3)
Impressum