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

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

    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'
        );

Class for DNS Address (A) resource records.

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.

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

Version 4 IP address represented using dotted-quad notation.

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.

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

2014-01-16 perl v5.34.0