Net::DNS::RR - DNS Resource Record class
Net::DNS::RR is the base class for DNS Resource Record (RR) objects. See also the manual pages for each RR type.
Prints the record to the standard output. Calls the string method to get the RR's string representation.
print $rrobj->string, "\n";
Returns a string representation of the RR. 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.