Section: User Contributed Perl Documentation (3pm)
Return to Main Contents
Net::DNS::RR::A - DNS A resource record
$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.
All rights reserved.
This program is free software; you may redistribute it and/or
modify it under the same terms as Perl itself.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
perl, Net::DNS, Net::DNS::RR, RFC1035
- SEE ALSO