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