Net::DNS::RR - DNS Resource Record class
use Net::DNS::RR
Net::DNS::RR is the base class for DNS Resource Record (RR) objects. See also the manual pages for each RR type.
Net::DNS::RR
$rrobj->print;
Prints the record to the standard output. Calls the rdatastr method to get the RR-specific data.
$s = $rrobj->rdatastr;
Returns a string containing RR-specific data. Subclasses will need to implement this method.
$name = $rrobj->name;
Returns the record's domain name.
$type = $rrobj->type;
Returns the record's type.
$class = $rrobj->class;
Returns the record's class.
$ttl = $rrobj->ttl;
Returns the record's time-to-live (TTL).
Copyright (c) 1997 Michael Fuhr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Header, Net::DNS::Question, RFC 1035 Section 4.1.3
To install Net::DNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DNS
CPAN shell
perl -MCPAN -e shell install Net::DNS
For more information on module installation, please visit the detailed CPAN module installation guide.