Net::DNS::RR::A(3)

NAME
Net::DNS::RR::A - DNS A resource record

SYNOPSIS
    use Net::DNS;
    $rr = new Net::DNS::RR('name IN A address');

    $rr = new Net::DNS::RR(
        name    => 'example.com',
        type    => 'A',
        address => '192.0.2.1'
        );

DESCRIPTION
Class for DNS Address (A) resource records.

METHODS
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.

Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour.

  address
    $IPv4_address = $rr->address;
    $rr->address( $IPv4_address );

Version 4 IP address represented using dotted-quad notation.

COPYRIGHT
Copyright (c)1997-1998 Michael Fuhr.

Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.

All rights reserved.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO
perl, Net::DNS, Net::DNS::RR, RFC1035 Section 3.4.1